-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpstan-baseline.neon
19 lines (17 loc) · 1.03 KB
/
phpstan-baseline.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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