Getting started with PHP Codesniffer

Juliette Reinders Folmer (29.Sep.2017 at 14:00, 3 hr 30 min)
Workshop at PHP North West 2017 (English - UK)

Rating: 5 of 5

So you'd heard of the PHP Codesniffer and thought you'd give it a try. You set it up & ran it over one of your projects and it tells you there are over 6000 things wrong with your code... Darn... that sounds like work. Let's leave it for another day....

Or not.

In this workshop I'll help you to properly get started with PHPCS. Everyone can bring their own project to work on. We'll look at the different rulesets available, select the one(s) which will work best for your project. Next, we'll look at customizing the ruleset to best suit your project & team's needs and we'll start auto-fixing issues. If all goes well, those 6000 things "wrong" will be down to zilch by the end of the workshop & you've got a pull request ready to prove it!

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= six minus four

Comments

Rating: 5 of 5

30.Sep.2017 at 17:51 by David Mountford (1 comments) via Web2 LIVE

So useful. I learned a lot about how to configure phpcs and use it in my developments to automatically fix a whole bunch of errors with phpcbf.

Juliette is a awesome speaker who is so good at breaking things down into easily understandable principles, especially with phpcs.

Rating: 5 of 5

30.Sep.2017 at 18:50 by Obinna Johnphill (7 comments) via Web2 LIVE

Tutorial superbly delivered, definitely got my money’s worth and more ?

© Joind.in 2017