| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* php 8.1
* upgrading phpunit
* removing php7.2 support
* removing php7.2 from test matrix
|
|\
| |
| | |
fix: broken support for positive exponent numbers
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | | |
Additional unit tests
Readme update
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* String comparison unit tests
* getVars and getFunctions sanity checks
* Add dynamic variable documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Reproduce if throws UnknownOperatorException
* Fix variable detection
* Adding IncorrectNumberOfFunctionParametersException
* Removing tabs
* Better exception message text
|
| |\ \
| | | |
| | | | |
Latest from master
|
| | | |
| | | |
| | | | |
* Support for unary positive operator
|
| | | |
| | | |
| | | | |
Fixed unary minus to allow a minus sign in front of functions and parentheses.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* php>=7.2
* CI workflow - added php matrix
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* cache-control improvements
* Update src/NXP/MathExecutor.php
yeah, you're right.
Co-authored-by: Alexander Kiryukhin <a.kiryukhin@mail.ru>
* Update MathExecutor.php
braces qfix
* Update MathExecutor.php
Co-authored-by: Alexander Kiryukhin <a.kiryukhin@mail.ru>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* Additional tests
Co-authored-by: diman3210 <diman-3210@mail.ru>
|
| | | |
| | | |
| | | |
| | | |
| | | | |
* add new functions and aliases to the old functions
* add tests for new functions
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Variable fixes (#67)
* Reproduce if throws UnknownOperatorException
* Fix variable detection
* Adding IncorrectNumberOfFunctionParametersException
* Removing tabs
* Better exception message text
* Handler for not found variables (#68)
* 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
* Release prep (#69)
* String comparison unit tests
* getVars and getFunctions sanity checks
* Add dynamic variable documentation
* Better setVar error message (#70)
Additional unit tests
Readme update
* Improved support for null variables (#72)
* 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 (#73)
* 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
* Better unit testing
Co-authored-by: Javier Marín <javier@marinros.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | |
| | |
| | |
| | | |
Additional unit tests
Readme update
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* String comparison unit tests
* getVars and getFunctions sanity checks
* Add dynamic variable documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Reproduce if throws UnknownOperatorException
* Fix variable detection
* Adding IncorrectNumberOfFunctionParametersException
* Removing tabs
* Better exception message text
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Code style fixes
Up phpunit to v8
New CI
* Remove travis
* Fix CI badge
* Added php-cs-fixer action
|
|/
|
|
|
| |
* $variables should be private
* Add Packagist tag
|
|\
| |
| | |
Update parameters and add back functions
|
| |\
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Massive refactoring
More clean structure
Parsing without regular expressions
* Cleanup unused imports
* Fix version string for Travis
* 7.1 downgrade
* Fix readme
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
# Conflicts:
# src/NXP/Classes/Calculator.php
# src/NXP/Classes/Lexer.php
# src/NXP/Classes/Token/AbstractOperator.php
# src/NXP/Classes/TokenFactory.php
# src/NXP/MathExecutor.php
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| | |
More clean structure
Parsing without regular expressions
|