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
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
R8 の設定見直しでアプリサイズ削減
andpad
0
220
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
110
contenteditable と日本語入力に向き合う
colorful12
0
200
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
260
Domain-Driven Transformation
hschwentner
2
2.3k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
Six Lessons from altMBA
skipperchong
29
4.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Product Roadmaps are Hard
iamctodd
55
13k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
710
Optimizing for Happiness
mojombo
378
71k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Unsuck your backbone
ammeep
672
58k
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!