Advertisement ยท 728 ร— 90
#
Hashtag
#PHPCSFixer
Advertisement ยท 728 ร— 90
Post image

Huge shoutout to #PHPCSFixer team for implementing #PHP 8.5 support almost on day 1 ๐Ÿ˜๐ŸŽ‰! It's still not released, but looks pretty complete and stable โค๏ธ.

If you're using PHP 8.5 already, you may verify it by adding `->setUnsupportedPhpVersionAllowed(true)` in your config file.

0 0 0 0
Preview
CI: Introduce PHP compatibility check by Wirone ยท Pull Request #7844 ยท PHP-CS-Fixer/PHP-CS-Fixer Inspired by this finding, bug introduced in #7616, reproduced here - we have invalid return type in code and none of the tools caught this. I thought this is because we run PHPStan on 8.3 which the...

After almost a year since I created it, my PR to #PHPCSFixer that introduces #PHPCompatibility check was merged ๐Ÿฅณ. This improves our QA suite with another tool that can catch usage of language features not available on runtimes marked as supported.

github.com/PHP-CS-Fixer...

3 0 0 0

For me personally explicit is better than implicit and I don't mind few more chars in the signature. It just does not bother me and does not affect my code reading. Additionally, with #PHPCSFixer it's not possible to disable rule for part of the codebase. #ECS can do it tough.

0 0 1 0
Post image

Interestingly, properties with closures assigned as default value can also have property hooks, which makes the syntax a bit too curly ๐Ÿ™ˆ. Imagine default closure with actual body + hooks...... oof, let's pray for #PHPCSFixer ๐Ÿ™๐Ÿ˜†.

1 0 1 0
Preview
feat: Support for PHP 8.4 by Wirone ยท Pull Request #8300 ยท PHP-CS-Fixer/PHP-CS-Fixer This is long-living PR that validates PHP 8.4 compatibility, its goal is determining issues with rules, so they can be addressed under this milestone. This can be merged after all related issues ar...

I've started the process of making #PHPCSFixer compatible with #PHP 8.4, at least on basic level (which means: don't break the code). Prepared changes for CI and local development environment, created a milestone and even reported first found issue ๐Ÿ˜Ž!

github.com/PHP-CS-Fixer...

1 0 2 0
Preview
feat: Ability to run Fixer with parallel runner ๐ŸŽ‰ by Wirone ยท Pull Request #7777 ยท PHP-CS-Fixer/PHP-CS-Fixer Parallel Runner Fixer is a great and widely used tool, but comparing to other modern PHP tools it lacked one crucial thing: ability to utilise more CPU cores. Until now ๐Ÿฅณ ! I've managed to hook...

I made #PHPCSFixer N-times faster, depending on the available CPU cores ๐Ÿฅณ! For Fixer itself, it allowed to reduce analysis time from 65 to 12 seconds on my computer ๐Ÿคฉ!
It is the biggest and most important change provided by me to this project ๐Ÿฅน.

github.com/php-cs-fixer...

1 0 1 0