Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Enforcing Code Quality with GrumPHP @ Valencia ...
Search
Toon Verwerft
October 20, 2022
Programming
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Enforcing Code Quality with GrumPHP @ Valencia Meetup 10/22
Toon Verwerft
October 20, 2022
More Decks by Toon Verwerft
See All by Toon Verwerft
How to send good looking emails @ PHPro Lunch Demo
veewee
0
170
Symfony UX @ PHPro Tech Meetup
veewee
0
250
Parse! Don't validate @ PHPro Lunch Demo
veewee
0
60
Learning the code review skill @ PHPro Lunch Demo
veewee
0
64
Defensive Code Design @ Phpro weekend
veewee
0
190
Sweet mother of SOAP @ PHPro Tech Meetup
veewee
0
240
Enforcing Code Quality with GrumPHP @ MeetMagento BE 09/17
veewee
0
180
The Art of Debugging @ Phpro Weekend 05/17
veewee
1
210
Enforcing Code Quality with GrumPHP @ MeetMagento NL 05/17
veewee
0
130
Other Decks in Programming
See All in Programming
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
170
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
370
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
4
3.2k
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
600
APNsからLive Activityを開始する話
yumnumm
0
170
Next.js: The final boss of Web Performance
guaca
0
210
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
110
AmebaブログはKMPから卒業します
kmars0605
0
160
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
430
Designing for humans not robots
tammielis
254
26k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Typedesign – Prime Four
hannesfritz
42
3.2k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
How to train your dragon (web standard)
notwaldorf
96
6.9k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Are puppies a ranking factor?
jonoalderson
2
4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Building the Perfect Custom Keyboard
takai
2
900
Transcript
Hello all!
I am a regular programmer…
… who hates BAD CODE!
WHO HAS SEEN BAD CODE?
None
WHO HAS WRITTEN BAD CODE?
Two developers ask forgiveness of technical debt at the beginning
of a sprint.
WHO HAS DONE SOMETHING ABOUT BAD CODE?
None
I don’t think you are going to like me, WHEN
I AM ANGRY! You want to see me angry?
1. I LOOKS FOR BAD CODE 2. I PROTECT YOUR
CODEBASE 3. I COMPLAIN FOR YOU
None
STOP! DEMO TIME
How it started
CODING STANDARDS!
Arrrr, GIT Hooks are bad for ya!
JAMS WITH COMPOSER
None
BORING
I'M YOUR NEW BEST FRIEND!
UNDER THE BEARD PHP-CS PHP-CS-Fixer Blacklist Commit-Message Matcher
INSPECTS STATIC ANALYZERS
WEARS LINTERS YAML XML JSON
STANDS FOR SECURITY
MEETS FRONT-END
• Ant • Atoum • Behat • Brunch • Clover
Coverage • Codeception • Composer • Composer Normalize • Composer Require Checker • Composer Script • Doctrine ORM • Ecs EasyCodingStandard • ESLint • File size • Deptrac • Gherkin • Git blacklist •Git branch name •Git commit message •Grunt •Gulp •Infection •JsonLint •Kahlan •Make •NPM script •Paratest •Pest •Phan •Phing •Php7cc •PhpArkitect •PhpCpd •Phpcs •PHP-CS-Fixer •PHPLint •PhpMd •PhpMnd •PhpParser •Phpspec •PHPStan •Phpunit •Phpunit bridge •PhpVersion •Progpilot •Psalm •Robo •Security Checker • Enlightn • Local • Roave • Symfony •Shell •Stylelint •Tester •TwigCs •XmlLint •YamlLint
YO DAWG, I HEAR YOU LIKE TASKS …
IF I COULD WRITE MY OWN EXTENSION …
I will look for you, I will find you, AND
I WILL KILL YOU!
FIXES BAD CODE
RUNS IN PARALLEL
CONTINUOUS INTEGRATION
NOT JUST ANOTHER TASK RUNNER
TEAM
HE WANTS YOU TO WIN
HE WANTS YOU TO GAIN SKILLS
ONE CONVENTION TO RULE THEM ALL
PHPUNIT PHP-CS PSALM PHPSTAN
PROJECT 1 CONVENTIONS PROJECT 2 PROJECT 3
CONVENTION
IMPLEMENTATION
ONE DOES NOT SIMPLY SUPPORT ALL PLATFORMS
None
None
74 80 81 82
None
None
ASK QUESTIONS YOU SHOULD!