I just submitted a fix to the @psalm codebase, for a "help wanted" issue that affected me... That was a bit hard, even with the right pointer, but fixing it with just one line was very rewarding!
And OMG, it has tons of (slow ðŸ˜) tests!!
Psalm is a type-checking static analysis tool for PHP that finds bugs humans can miss, and improves code quality. Try it at https://psalm.dev
I just submitted a fix to the @psalm codebase, for a "help wanted" issue that affected me... That was a bit hard, even with the right pointer, but fixing it with just one line was very rewarding!
And OMG, it has tons of (slow ðŸ˜) tests!!
So happy to see this pop up everywhere in @psalm reports:
> The call to ReflectionProperty::setAccessible is not used
Means that the work on reflection stubs paid off, and useless or wrong code is correctly identified now :)
Very happy to have contributed to @psalm 5.3.0 a major list/array refactoring that unifies internal handling of lists and keyed arrays, adds literal type inference for array_column, array_combine, array_fill_keys, array_fill and greatly improves array_merge logic!
Already preparing more important array-related fixes and features for the next Psalm release :D
Psalm 5 is out! To symbolise this tremendous group effort, we've translated the announcement into all the languages of Psalm's maintainers: https://psalm.dev/articles/psalm-5