You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fc0a1ed
Browse filesBrowse the repository at this point in the historyBrowse files
message = 'Class `PhpDb\RowGateway\Exception\RuntimeException` should be declared `final`.'
2077
2059
count = 1
2078
2060
2061
+
[[issues]]
2062
+
file = "src/RowGateway/Feature/FeatureSet.php"
2063
+
code = "unused-property"
2064
+
message = "Property `$magicSpecifications` is never used."
2065
+
count = 1
2066
+
2079
2067
[[issues]]
2080
2068
file = "src/RowGateway/RowGateway.php"
2081
2069
code = "class-must-be-final"
@@ -2142,12 +2130,6 @@ code = "invalid-iterator"
2142
2130
message = "The expression provided to `foreach` is not iterable. It resolved to type `mixed`, which is not iterable."
2143
2131
count = 1
2144
2132
2145
-
[[issues]]
2146
-
file = "src/Sql/AbstractSql.php"
2147
-
code = "invalid-member-selector"
2148
-
message = "Invalid type `array-key` used as a member selector; a string is expected."
2149
-
count = 1
2150
-
2151
2133
[[issues]]
2152
2134
file = "src/Sql/AbstractSql.php"
2153
2135
code = "invalid-operand"
@@ -2187,7 +2169,7 @@ count = 1
2187
2169
[[issues]]
2188
2170
file = "src/Sql/AbstractSql.php"
2189
2171
code = "less-specific-nested-argument-type"
2190
-
message = "Argument type mismatch for argument #2 of `vsprintf`: expected `array<array-key, Stringable|null|scalar>`, but provided type `array{}|non-empty-list<mixed>` is less specific."
2172
+
message = "Argument type mismatch for argument #2 of `vsprintf`: expected `array<array-key, Stringable|null|scalar>`, but provided type `list<mixed>` is less specific."
message = 'Class `PhpDb\Sql\Platform\Platform` should be declared `final`.'
3901
3895
count = 1
3902
3896
3903
-
[[issues]]
3904
-
file = "src/Sql/Platform/Platform.php"
3905
-
code = "imprecise-type"
3906
-
message = "Type `array` in return type of `getDecorators` is imprecise, equivalent to `array<array-key, mixed>`."
3907
-
count = 1
3908
-
3909
3897
[[issues]]
3910
3898
file = "src/Sql/Platform/Platform.php"
3911
3899
code = "invalid-iterator"
@@ -4251,7 +4239,7 @@ count = 1
4251
4239
[[issues]]
4252
4240
file = "src/Sql/Predicate/PredicateSet.php"
4253
4241
code = "less-specific-nested-argument-type"
4254
-
message = "Argument type mismatch for argument #2 of `implode`: expected `array<array-key, Stringable|null|scalar>|null`, but provided type `array{}|non-empty-list<mixed>` is less specific."
4242
+
message = "Argument type mismatch for argument #2 of `implode`: expected `array<array-key, Stringable|null|scalar>|null`, but provided type `list<mixed>` is less specific."
4255
4243
count = 1
4256
4244
4257
4245
[[issues]]
@@ -4263,7 +4251,7 @@ count = 1
4263
4251
[[issues]]
4264
4252
file = "src/Sql/Predicate/PredicateSet.php"
4265
4253
code = "less-specific-nested-return-statement"
4266
-
message = '''Returned type `array{'spec': string, 'values': array{}|list<mixed>}` is less specific than the declared return type `array{'spec': string, 'values': array<array-key, PhpDb\Sql\ArgumentInterface>}` for function `PhpDb\Sql\Predicate\PredicateSet::getExpressionData` due to nested 'mixed'.'''
4254
+
message = '''Returned type `array{'spec': string, 'values': list<mixed>}` is less specific than the declared return type `array{'spec': string, 'values': array<array-key, PhpDb\Sql\ArgumentInterface>}` for function `PhpDb\Sql\Predicate\PredicateSet::getExpressionData` due to nested 'mixed'.'''
message = 'Invalid return type for function `PhpDb\TableGateway\AbstractTableGateway::getSql`: expected `PhpDb\Sql\Sql`, but found `PhpDb\Sql\Sql|null`.'
message = 'Invalid return type for function `PhpDb\TableGateway\AbstractTableGateway::getTable`: expected `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|string`, but found `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|null|string`.'
message = 'Function `PhpDb\TableGateway\AbstractTableGateway::getSql` is declared to return `PhpDb\Sql\Sql` but possibly returns a nullable value (inferred as `PhpDb\Sql\Sql|null`).'
message = 'Function `PhpDb\TableGateway\AbstractTableGateway::getTable` is declared to return `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|string` but possibly returns a nullable value (inferred as `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|null|string`).'
message = 'Function `PhpDb\TableGateway\AbstractTableGateway::getTable` is declared to return `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|string` but possibly returns a nullable value (inferred as `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|null|string`).'
message = 'Invalid return type for function `PhpDb\TableGateway\AbstractTableGateway::getTable`: expected `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|string`, but found `PhpDb\Sql\TableIdentifier|array<array-key, mixed>|null|string`.'
0 commit comments