povils/phpmnd
PHPMND detects magic numbers in PHP code to improve readability and maintainability. Flags numeric literals that should be constants (0 and 1 ignored by default). Install via Composer and run vendor/bin/phpmnd locally or globally in CI and dev workflows.
Full Changelog: https://github.com/povils/phpmnd/compare/v3.6.0...v3.6.1
Full Changelog: https://github.com/povils/phpmnd/compare/v3.5.0...v3.6.0
Full Changelog: https://github.com/povils/phpmnd/compare/v3.4.1...v3.5.0
Application::VERSION match the latest git tag by @llaville in https://github.com/povils/phpmnd/pull/175Full Changelog: https://github.com/povils/phpmnd/compare/v3.4.0...v3.4.1
Full Changelog: https://github.com/povils/phpmnd/compare/v3.3.0...v3.4.0
Full Changelog: https://github.com/povils/phpmnd/compare/v3.2.0...v3.3.0
Full Changelog: https://github.com/povils/phpmnd/compare/v3.1.0...v3.2.0
phpunit/php-timer 6.0 by @AdrianHL in https://github.com/povils/phpmnd/pull/166Full Changelog: https://github.com/povils/phpmnd/compare/v3.0.1...v3.1.0
Full Changelog: https://github.com/povils/phpmnd/compare/v3.0.0...v3.0.1
Full Changelog: https://github.com/povils/phpmnd/compare/v2.5.0...v3.0.0
--non-zero-exit-on-violation option to return non zero exit code when there are magic number in the codebase.--hint option suggest replacements for magic numbers.--suffixes option.--strings option to include strings literals in code analysis.--ignore-strings option to ignore strings when using strings opton.--exclude-path option--exclude-name option--ignore-funcs optionconst HOUR = 60 * 60;
How can I help you explore Laravel packages today?