Filter
Exclude
Time range
-
Near
Me neither 🥲. Token-based tools like #PHPCSFixer and #PHPCodeSniffer too 😅.
1
72
#PHPCSFixer as a tool is indeed an alternative to #PHPCodeSniffer and its fixing utility (phpcbf), yet these tools have slightly different approach - while Sniffer can report things that require manual work, Fixer goes a different path and can fix everything covered by its rules.
1
2
127
PHP_CodeSniffer users: please read this important announcement: github.com/squizlabs/PHP_Cod… squizlabs/PHP_CodeSniffer is dead, long live PHPCSStandards/PHP_CodeSniffer! #phpcs #php
1
1
99
PHPCodeSnifferがabondonnedになってオーナーが変わるのでcomposer.jsonを世界中で書き換える必要が出てきた。 github.com/squizlabs/PHP_Cod…

3
7
1,181
Great summary of differences between #PHPCSFixer and #PHPCodeSniffer - tools with different approaches, but similar name which sometimes leads to misplaced issues and comments 😅.
Replying to @inxilpro
One example: sniffer is primarily about detection, the ability to fix automatically is a secondary concern. Fixer is the opposite, fixing is the entire focus. So something super simple like max line length is available in Sniffer. But adamantly rejected in Fixer because of how hard it would be to split a line of code reliably. Another one is risk tolerance. Sniffer will absolutely not alter anything that could possibly break code (like renaming a method) Fixer is willing to do it but labels the fix as risky. I really like both approaches for different reasons and in different contexts. Historically I’ve used sniffer but today I was trying to move to fixer and realized I probably need both.
2
360
Replying to @VotrubaT @rectorphp
Thanks! Was reading through the rector book this morning. It’s partially what prompted me to look at ECS instead of our usual PHPCodeSniffer.
2
120
Replying to @dr4goonis
This is one reason I prefer phpcodesniffer. Its default mode is to report only. No flag needed. Plus the slevomat extensions have a rule for everything!
2
482
#PhpSpreadsheet patch release 1.27.1 with just a single fix to composer --dev dependencies with dealerdirect/phpcodesniffer-composer-installer renaming their master branch to main
2
200
I wish there was #EasyCodingStandard support in @phpstorm 😔. It's like #PHPCodeSniffer and #PHPCSFixer combined into one, but current IDE options does not allow configuring it properly. 🔗 github.com/symplify/easy-cod…
1
4
1,471
12 Apr 2022
PHPStanの拡張を書こうとした(結局PHPCodeSnifferの拡張を書いた)過去の自分、どうしてコードを残していない・・・
1
1 Mar 2022
dealerdirect/phpcodesniffer-composer-installer: PHP_CodeSniffer Standards Composer Installer Plugin packagist.org/packages/deale…

1
2
29 Jan 2022
Replying to @jwage
github.com/FloeDesignTechnol… for PHPCodeSniffer worked well for me

2
Escaped from the traffic jams just in time for a very interesting @phpbenelux AMA session with @jrf_nl, and very happy I made it! Been using #phpcodesniffer for years, I didn't even know half of how powerful it is. Thanks for all the effort and hard work, we owe you 3000 🥃 #phpc
2
8
"roave/security-advisories": "dev-master", "dealerdirect/phpcodesniffer-composer-installer": "*", "phpstan/phpstan": "^0.12", "phpunit/phpunit": "^9", "sebastian/phpcpd": "^6", "phpmd/phpmd": "^2.9", "psy/psysh": "@stable" }
1
3
My Global Composer: "require": { "squizlabs/php_codesniffer": "*", "friendsofphp/php-cs-fixer": "^3.0", "squizlabs/php_codesniffer": "*", "phpcompatibility/php-compatibility": "*", "dealerdirect/phpcodesniffer-composer-installer": "*", ...
1
2
#今日の積み上げ 4/13 3h ☑️ #Udemy AWS講座 CloudWatch、IAM ☑️ #独学エンジニア 静的解析ツールでリファクタリング PHPCodeSnifferとPHPMDはnamespace書いてね、キャメルケースに直してねくらいだったけど、PHPStanは項目めっちゃ出てきて、PHPDoc書き足しまくってる。項目消すのちょっと楽しい。
7
I just released this package, which contains a #Composer script helper for running #PhpCodeSniffer fixer with #lintstaged in a #Husky pre-commit #Git hook. github.com/nelson6e65/php-co…

2
[WordPress]PHPCodeSniffer(phpcs)でWPコーディング規約をチェック&自動整形できるようにする - Qiita qiita.com/super-mana-chan/it… #phpcs #vscode #wordpress

1
2
PHPCodesniffer @CaptainHookPHP sind da auch praktisch um verbotene Funktionen schon beim commit oder push zu entdecken.
1