Gert de Pagter
Gert de Pagter
The docs look good, could you add some test cases using objects, so we cover it in our unit tests?
> We will need this fix for PHPUnit 9.5 anyway. So send this MR against the 9.5 branch, and make a new one for the master? or will `issue-4502/php-8-attributes` be...
I've targeted 9.5 now
Hey, thats great to see! But even in a new major static analysis would still be beneficial to the overall quality of the project. Plus it would also help better...
Infection may be able to mutate functions in the future: https://github.com/infection/infection/pull/1483 It may be a nice addition to the toolchain, once that is possible
I think this got fixed in PHP 8.0 right? There casting a float to string is no longer locale aware.
So, the issue now is that there may be 'extra' keys in the array, if the class is not final. (https://3v4l.org/hM8MU) Is there any way to indicate that the array...
How about PPHP? PHP PHP Hypertext Preprocessor
So it would be PHP without allowing you to things that you (mostly) shouldn't do
For us, if we don't add those hints, we get a warning of `Array to string conversion` since it tries to turn the array of parameters into a string.