Added ability to escape quotes in strings. (#110)
Fatih Kızmaz
2022-05-19 05:03:44 +0300
cf8ae4eb49Fix unshown backslash in readme.
#110
Fatih
2022-05-18 13:57:36 +0300
c6ca6e5754Fix a typo in sample.
Fatih
2022-05-18 13:51:05 +0300
96097eaf77Update readme + improvements.
Fatih
2022-05-18 13:43:54 +0300
0d9c19aa9eFix some typos + improve min, max, avg funcs.
Fatih
2022-05-18 01:21:33 +0300
9c00316236Update phpdoc
Fatih
2022-05-18 01:09:02 +0300
c22c194660Removed type checking for customfunc arguments. It was a bad idea to check types, because php automatically tries to convert a parameter to required type and throws if it failures. On the other hand, we can check types also in callables if required.
Fatih
2022-05-18 01:04:20 +0300
822b6e564dAdded ability to escape quotes in strings.
Fatih
2022-05-18 00:49:13 +0300
Full support for arrays => min, max and avg funcs accept array argument. Also array function is defined which return arguments as array. Square bracket arrays are also supported. (#108)
Fatih Kızmaz
2022-05-17 00:57:37 +0300
2135d925c1Full support for arrays => min, max and avg funcs accept array argument. Also array function is defined which return arguments as array. Square bracket arrays are also supported. valid expression -> "max([1,2,3])" valid expression -> "max(array(1,2,3))" valid expression -> "max($ages_arr)" valid expression -> "max(ages_arr())"
#108
Fatih
2022-05-17 00:14:03 +0300
Small support for arrays => min, max and avg funcs accept array argument. (handwritten arrays not supported yet, can be used for array variables or functions returning an array) (#107)
Fatih Kızmaz
2022-05-16 18:12:36 +0300
df34c845ecSmall support for arrays => min, max and avg funcs accept array argument. (handwritten arrays not supported yet, can be used for array variables or functions returning an array) invalid expression -> "max([1,2,3])" valid expression -> "max($ages_arr)" valid expression -> "max(ages_arr())"
#107
Fatih
2022-05-16 15:12:30 +0300
Support unlimited args for min, max default funcs. (#106)
Fatih Kızmaz
2022-05-13 15:55:52 +0300
e449181293Run php-cs-fixer fix
#106
Fatih
2022-05-13 15:45:14 +0300
b002acb62dImproved functions: support unlimited parameters (see min, max funcs), optional parameters (see round func), parameters with types (see round func, throws IncorrectFunctionParameterException on unmatched type, union types and intersection types not supported because of min php level! there is a todo for this, to support them later @see CustomFunction@execute) Also added unittests for improvements.
Fatih
2022-05-13 15:04:19 +0300