Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Enforcing Code Quality with GrumPHP @ Valencia ...
Search
Toon Verwerft
October 20, 2022
Programming
45
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
160
Symfony UX @ PHPro Tech Meetup
veewee
0
240
Parse! Don't validate @ PHPro Lunch Demo
veewee
0
54
Learning the code review skill @ PHPro Lunch Demo
veewee
0
57
Defensive Code Design @ Phpro weekend
veewee
0
180
Sweet mother of SOAP @ PHPro Tech Meetup
veewee
0
240
Enforcing Code Quality with GrumPHP @ MeetMagento BE 09/17
veewee
0
170
The Art of Debugging @ Phpro Weekend 05/17
veewee
1
200
Enforcing Code Quality with GrumPHP @ MeetMagento NL 05/17
veewee
0
130
Other Decks in Programming
See All in Programming
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
200
信頼性の目標を誰も求めてない
shubox
0
480
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
120
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
130
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.4k
Building an Out-of-Order CPU
latte72
0
500
T3DD26: From RAGs to Riches
martinhelmich
0
130
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
620
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
1
410
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
400
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
53
34k
Featured
See All Featured
The Spectacular Lies of Maps
axbom
PRO
1
970
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
KATA
mclloyd
PRO
35
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
The Invisible Side of Design
smashingmag
301
52k
The Cost Of JavaScript in 2023
addyosmani
55
10k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
680
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Pragmatic Product Professional
lauravandoore
37
7.4k
Faster Mobile Websites
deanohume
310
32k
Become a Pro
speakerdeck
PRO
31
6.2k
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!