Skip to content

Conversation

@rochamarcelo
Copy link
Contributor

Upgraded to PHPStan 2.0
Added as require-dev a few remomended packages: phpstan/phpstan-deprecation-rules and phpstan/phpstan-strict-rules

 Doing instanceof PHPStan\Type\ArrayType is error-prone and deprecated. Use Type::isArray() or Type::getArrays() instead.
         💡 Learn more: https://phpstan.org/blog/why-is-instanceof-type-wrong-and-getting-deprecated
 Doing instanceof PHPStan\Type\IterableType is error-prone and deprecated. Use Type::isIterable() instead.
         💡 Learn more: https://phpstan.org/blog/why-is-instanceof-type-wrong-and-getting-deprecated
…phpstan-rules until they release a compatible version.
…phpstan-rules until they release a compatible version.
@rochamarcelo
Copy link
Contributor Author

Reference: phpstan/phpstan#11816

@rochamarcelo rochamarcelo changed the base branch from 3.next-cake5 to 4.next-cake5 November 1, 2024 21:54
@steinkel steinkel merged commit 1e70535 into 4.next-cake5 Nov 4, 2024
5 checks passed
@steinkel steinkel deleted the feature/phpstan-2 branch November 4, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants