Skip to content

Conversation

@williamjallen
Copy link
Collaborator

PHPStan offers a set of "bleeding edge" rules which are the stable rules which will be added in the next major release. We already use many of these rules through our usage of various optional packages, but there's no reason to not turn on additional static analysis rules. The only major difference between bleeding edge and our current setup is that bleeding edge mandates usage of the strict equality (=== and !==) operators. We already use the optional exception-checking rules which are included in bleeding edge.

In addition to adding the bleeding edge rules, I have also enabled two more optional rules which are not included in any of our optional packages.

@williamjallen williamjallen marked this pull request as draft June 6, 2023 18:03
@williamjallen williamjallen force-pushed the phpstan-misc-config-settings branch from 46a302d to dd1d3b6 Compare August 7, 2023 15:52
@williamjallen williamjallen marked this pull request as ready for review August 7, 2023 15:53
@williamjallen williamjallen force-pushed the phpstan-misc-config-settings branch from dd1d3b6 to 55dddc8 Compare August 7, 2023 17:38
@williamjallen williamjallen force-pushed the phpstan-misc-config-settings branch from 55dddc8 to f3a9f4e Compare August 15, 2023 22:15
@josephsnyder
Copy link
Member

@williamjallen, looks great but does need a rebase.

@williamjallen williamjallen force-pushed the phpstan-misc-config-settings branch from f3a9f4e to dfe9986 Compare August 16, 2023 16:16
@williamjallen williamjallen added this pull request to the merge queue Aug 16, 2023
Merged via the queue into Kitware:master with commit cfda331 Aug 16, 2023
@williamjallen williamjallen deleted the phpstan-misc-config-settings branch August 16, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants