sirbrillig/phpcs-variable-analysis
Static analysis rules for PHP_CodeSniffer that detect undefined, unused, and improperly scoped variables in PHP code. Helps enforce cleaner code, catches subtle variable bugs early, and improves overall code quality in CI and local linting workflows.
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.12.0...v2.13.0
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.22...v2.12.0
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.21...v2.11.22
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.20...v2.11.21
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.19...v2.11.20
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.18...v2.11.19
Full Changelog: https://github.com/sirbrillig/phpcs-variable-analysis/compare/v2.11.17...v2.11.18
This release is going out as a beta first because I am traveling and if I break something I won't be around to fix it for a while, but it probably will be fine.
Arrow function scope just keeps going.
Another bug fix for a static variable regression caused by https://github.com/sirbrillig/phpcs-variable-analysis/pull/267.
This is a bug fix release for two regressions caused by the new static function variable scanning added in #267.
Mostly a bunch of housekeeping changes internal to the codebase, but this does include a fix for a deprecation notice in PHP 8.2.
How can I help you explore Laravel packages today?