-
Notifications
You must be signed in to change notification settings - Fork 6
/
phpstan-baseline.neon
25 lines (22 loc) · 1.31 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
parameters:
ignoreErrors:
# Looks like a bug with memoizing the result of stream->matches(...) call
-
message: "#^If condition is always false\\.$#"
count: 3
path: src/sad_spirit/pg_builder/Parser.php
# Looks like a bug with memoizing the result of stream->matches(...) call
-
message: "#^If condition is always true\\.$#"
count: 1
path: src/sad_spirit/pg_builder/Parser.php
# This is a genuine problem but fixing it correctly is hard, so leave as is for now
-
message: "#^PHPDoc type sad_spirit\\\\pg_builder\\\\nodes\\\\lists\\\\ColumnDefinitionList\\|sad_spirit\\\\pg_builder\\\\nodes\\\\lists\\\\IdentifierList\\|null of property sad_spirit\\\\pg_builder\\\\nodes\\\\range\\\\FunctionFromElement\\:\\:\\$p_columnAliases is not covariant with PHPDoc type sad_spirit\\\\pg_builder\\\\nodes\\\\lists\\\\IdentifierList\\|null of overridden property sad_spirit\\\\pg_builder\\\\nodes\\\\range\\\\FromElement\\:\\:\\$p_columnAliases\\.$#"
count: 1
path: src/sad_spirit/pg_builder/nodes/range/FunctionFromElement.php
# Specifying @param-out does not seem to work, so just silence that
-
message: "#^Parameter &\\$property by-ref type of method sad_spirit\\\\pg_builder\\\\nodes\\\\GenericNode::setRequiredProperty\\(\\)#"
count: 1
path: src/sad_spirit/pg_builder/nodes/GenericNode.php