Skip to content

Releases: povils/phpmnd

PHPMND 2.3.0

18 Jul 10:14
51861e5
Compare
Choose a tag to compare
  • Support PHP 7.3 and PHP 7.4

PHPMND 2.2.0

12 Jan 10:31
Compare
Choose a tag to compare
  • Add default ignore functions (intval, strval and floatval)
  • Fix negative number whitelisting
  • Ignore the negative value if the scalar does not have a value field
  • Allow multiple files and directories

PHPMND 2.1.0

27 Jan 17:20
Compare
Choose a tag to compare
  • Check magic numbers in constant arrays.
  • Catch array[magic_number]
  • Whitelist option. Link to a file containing filenames to search

PHPMND 2.0.0

17 Mar 20:56
Compare
Choose a tag to compare
  • Update dependencies. Required PHP 7.1
  • Add support for negative numbers.
  • Ignore '0' and '1' by default.
  • Add XML report output
  • Option for allowing array mapping when using array extension
  • Option for including numeric strings

PHPMND 1.1.1

16 May 20:03
Compare
Choose a tag to compare
  • Fix exit code

PHPMND 1.1.0

15 May 18:45
Compare
Choose a tag to compare
  • Add --non-zero-exit-on-violation option to return non zero exit code when there are magic number in the codebase.
  • Add --hint option suggest replacements for magic numbers.
  • Add more flexibility to extensions. 'all' option and possibility for removal with minus sign.
  • Add --suffixes option.
  • Add PHAR build support with Box.

PHPMND 1.0.3

27 Apr 10:35
Compare
Choose a tag to compare
  • Add --strings option to include strings literals in code analysis.
  • Add --ignore-strings option to ignore strings when using strings opton.

PHPMND 1.0.2

25 Apr 12:38
Compare
Choose a tag to compare
  • Add --exclude-path option
  • Add --exclude-name option
  • Add --ignore-funcs option
  • Add total magic number count in output result

PHPMND 1.0.1

21 Apr 11:55
Compare
Choose a tag to compare
  • Ignore Magic numbers in constants when there is operation. Example
const HOUR = 60 * 60;
  • Minor style fixes

Initial release

20 Apr 20:33
Compare
Choose a tag to compare
v1.0.0

Initial commit