aboutsummaryrefslogtreecommitdiff
path: root/src/NXP/Classes/Operator.php
Commit message (Collapse)AuthorAgeFilesLines
* Drop php74 (#120)Bruce Wells2022-12-221-10/+1
| | | | | | | | | * PHPStan Level 6 * Drop PHP 7.4 support * Add PHPStan badge to readme * Code style cleanup
* Phpcs fixer (#103)Bruce Wells2022-04-271-24/+9
| | | | | | | * Configuring PHP CS Fixer Dropping PHP 7,3 support * Fixing merge issue
* Adding varExists method and support for undefined var handler in getVar (#96)V2.1.112.0.4Bruce Wells2022-03-211-2/+1
| | | | | | | | | | | | | | | * Added varExists method * getVar now respects VarNotFoundHandler setting * Use local version of PHP-CS-Fixer Instead of hard coded version from github actions * Fixing actions * Fixing actions * Dropping testing for 7.3, as it is no longer supported
* PhpStan support, consts visibilty and name for tokens (#89)Javier Marín2021-07-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | * Added handler to define not found variables Added support for string variables Fixed strings and ints comparison error * Check if variables have scalar types (int, float, string and bool) Better $onVarNotFound logic * Better support for null variables * Better support for null variables * Better support for null variables * Allow null values in `setVar` method * Support for unary positive operator * Add PhpStan config file Fix PhpStan warnings Set consts visibility Add name info to variable tokens for easier debugging Co-authored-by: Javier Marín <contacto@ideatic.net>
* Variable fixes (#67)V2.0.3Bruce Wells2020-06-041-1/+0
| | | | | | | | | | | * Reproduce if throws UnknownOperatorException * Fix variable detection * Adding IncorrectNumberOfFunctionParametersException * Removing tabs * Better exception message text
* Code style fixes & Github Actions (#65)V2.0.2Alexander Kiryukhin2020-06-011-2/+1
| | | | | | | | | | | | * Code style fixes Up phpunit to v8 New CI * Remove travis * Fix CI badge * Added php-cs-fixer action
* typed parameters and return typesBruce Wells2020-05-201-1/+1
|
* Massive refactoringAlexander Kiryukhin2020-05-151-0/+69
More clean structure Parsing without regular expressions