Update phpstan/phpstan requirement from ^1.11.4 to ^1.11.4 || ^2.0.0 #533
Annotations
10 errors and 1 warning
phpstan:
src/Helpers/ArrayHelpers.php#L21
PHPDoc tag @phpstan-assert-if-true for $value contains generic interface ArrayAccess but does not specify its types: TKey, TValue
|
phpstan:
src/Helpers/ArrayHelpers.php#L21
PHPDoc tag @phpstan-assert-if-true for $value has no value type specified in iterable type array.
|
phpstan:
src/Helpers/ArrayHelpers.php#L52
Call to static method Saloon\Helpers\ArrayHelpers::accessible() with array<mixed> will always evaluate to true.
|
phpstan:
src/Http/Faking/FakeResponse.php#L24
Class Saloon\Http\Faking\FakeResponse has PHPDoc tag @method for method make() parameter #3 $headers with no value type specified in iterable type array.
|
phpstan:
src/Http/Faking/MockClient.php#L99
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/Http/Faking/MockClient.php#L327
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/Http/Faking/MockResponse.php#L10
Class Saloon\Http\Faking\MockResponse has PHPDoc tag @method for method make() parameter #3 $headers with no value type specified in iterable type array.
|
phpstan:
src/Http/Middleware/DetermineMockResponse.php#L52
Call to function is_null() with null will always evaluate to true.
|
phpstan:
src/Http/Middleware/ValidateProperties.php#L23
Call to function is_string() with string will always evaluate to true.
|
phpstan:
src/Http/Pool.php#L1
Ignored error pattern #^Match arm is unreachable because previous comparison is always true.$# in path /home/runner/work/saloon/saloon/src/Http/Pool.php was not matched in reported errors.
|
phpstan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|