Releases: neonxp/MathExecutor
Releases · neonxp/MathExecutor
PHP 8.4 Support
Support for second argument to log()
Support for second argument to log() to match PHP log() function.
PHP 8.3
PHP 8.2 and PHPUnit V10 updates
- Fixed PHP 8.2 depreciation (thanks @javiermarinros)
- Updated to PHPUnit 10 for 8.1 and 8.2
Not(!) logical operator and median function
- Added support for logical NOT(!) operator. Thanks to @fatihkizmaz
- Added median function. Thanks to @fatihkizmaz
- Dropped support for PHP 7.4
- Updated depreciations to unit test failures
- Updated PHPCSFixer settings.
PHP 8.2 Support
- Minor formatting issues in code
- Updated unit test and github actions for PHP 8.2
IncorrectNumberOfFunctionParametersException on too many args
Throw an IncorrectNumberOfFunctionParametersException if a function gets more arguments than it supports.
Thanks to @madman-81
BCMath and mod operator support
Arbitrary Precision Math functions. Call useBCMath($decimalPoints) to activate.
- Support for % operator (mod)
Thanks to @tobiashowitz for suggesting BCMath support
Better invalid expression detection
- Space should end numbers and string and not concatenate
Support for escaping quotes in strings
- Strings with quotes can now be escaped in the same way as PHP.
Thanks to @fatihkizmaz Fatih Kızmaz for this release.