Talk in English - UK at PHPBenelux Conference 2020
View Slides: https://speakerdeck.com/jrf/improving-code-quality-with-php-codesniffer
Short URL: https://joind.in/talk/58212 (QR-Code (opens in new window))
Now you will probably have heard of PHP_CodeSniffer as a tool to check your code for consistent code style, but did you know it can also be used to check for common best practices ?
Out of the box, PHPCS already contains the basics to check your code against common industry metrics, however, when you add a few external standards into the mix, it can do so much more. Suddenly you can check your code for PHP cross-version compatibility, check your unit tests for using the right assertion or enforce strict typing across your application.
Join Juliette to learn about a variety of external standards available, what they can do for you and how to integrate them in the tooling you already use every day.
Comments are closed.
I’ve been confused by phpcs in the past, but no longer, thanks to Juliette’s talk!
Thanks for the talks, very instructive. Discover a lot more about phpcs that I was aware of.
and overall the talk give more than wath I was expected
Really enjoyed this presentation. The examples were very clear and the entire session was engaging. A few more specific examples (the generic was good conceptually) on how to create modified rule sets would be helpful, if time permitted.
As Mr Burns would say... Excellent. I can not wait to get back to work and make our ruleset better.
Thx for the talk, it definetly helped me to get more out of phpcs for my projects
A good refresher about php codesniffer, good live demo’s, a bit out of date slides (could use a bit of a touch up, but content was great). Learned new interesting ways to use the tools the help my workload
I liked this talk a lot, it was given by a passionate speaker, who sure knows her stuff. Live demo-ing is always a coinflip at best, but you handled your laptop crashing quite well.
I already use PHPCS during development, but it was nice to see some examples of configuring it to your own wishes (sniffs).
I walked out of this talk and just wanted to dive into PHPCS and play around with all the sniffs
Very passionate speaker, she knows her stuff and explained it clearly. I also really liked the demo's and that the audience was asked what we wanted to see sniffed / working. When presented with a not prepared question for a demo she fixed one real quick. The speaker was also not really set back by the laptop freezing up, and showed a great level of control.
Clear and well structured, though it did feel a little rushed towards the end.
Nice overview of all phpcs it's features and good to see how you handled the frozen laptop in-between. Great job, every PHP developer should see this!
Very clear and well explained.
Thank you for a great talk. I thought it was very clear and very well explained. Although a bit chaotic at times, really liked the live demo. It helped to get a feeling of how to actually work with sniffs. I'm interested to explore this further :).