Moving Towards Better Coding Standards

Scott Dutton (14.Apr.2018 at 16:10, 1 hr )
Talk at PHP Yorkshire 2018 (English - UK)

Rating: 5 of 5

Code standards develop over time, and old code bases often suffer with older standards as there is no easy way to migrate towards the new standards leaving them in an all or nothing state. The tools available (phpcs, phpmd phpunit, phpmnd etc) all work on the whole code base and while some offer auto fixers for the code, larger (and older) code bases have too many issues which can not be auto fixed.

Coverage Checker allows these tools to work alongside the tools mentioned above to ensure that all new code checked in conforms to these standards optionally also allowing a percentage of new code which must conform in order to ease the transition for example 80% of the new code must be covered by tests.

New tools such as phan and phpstan are also very noisy which means you need to have a high level of quality before starting to use them, This tool allows an easy way to start benefiting from these tools! This is really easy to set up and all code bases can benefit.

This also works for tools in other languages such as pylint, jacoco and more

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 5 of 5

14.Apr.2018 at 18:51 by Richard Harrison (13 comments) via Web2 LIVE

Thank you for your talk, there was a lot of valuable content. You were clearly nervous to begin with but once you relaxed you spoke well. The Q&A was particularly good.

Rating: 4 of 5

14.Apr.2018 at 20:33 by Richard Lane (5 comments) via Web2 LIVE

High intensity but very useful - lots of tools being thrown out thick and fast - some of the slides were over before I would work out what I needed to make notes about. If I could make one suggestion: don't assume so much of your audience. You didn't explain what "CI server" meant (and because you'd mentioned CodeIgniter earlier I spent some time thinking you were referring to that at first), ditto Travis and yml.

Rating: 4 of 5

14.Apr.2018 at 21:25 by Kenneth Schabrechts (55 comments) via Web2 LIVE

This was packed with super useful knowledge!
Might be a bit fast for the amount of knowledge but great talk!

Rating: 5 of 5

14.Apr.2018 at 21:38 by Iain Fogg (21 comments) via Web2 LIVE

Really enjoyed this session. Way more info than I could write down, but with the slides available, I can take the time to think through all the details to figure out what we can implement.

I enjoyed Scott's style presenting, and look forward to experiment with the tool he's written to help with applying standards just to changed code.

Rating: 5 of 5

14.Apr.2018 at 23:39 by Phil (4 comments) via Web2 LIVE

Well prepared demo full of useful, no BS facts. Thanks.

Rating: 5 of 5

14.Apr.2018 at 23:46 by Richard H (2 comments) via Web2 LIVE

Great talk! Good to hear how you can manage coding standards in legacy code bases without doing a major refactor!

Rating: 5 of 5

15.Apr.2018 at 11:35 by Pim Elshoff (81 comments) via Web2 LIVE

This had everything. Personal experience combined with theory and call to action. Don't change a thing, Scott.

Rating: 5 of 5

15.Apr.2018 at 22:55 by Daniel Craigie (20 comments) via Web2 LIVE

Hands down the most interesting talk of the day for me. But it was impossible to take notes and keep up with the pace of the presentation. Thank goodness the slides are available for post-conference digestion.

All you need to do is turn the dial back from 11...

Rating: 5 of 5

17.Apr.2018 at 14:00 by Andrew Beattie (6 comments) via Web2 LIVE

Lots of useful tools listed to help improve your code over time and a very piratical way to do it in the context of a real world example of how you are achieving this with your team.

Lets not forget some cracking jokes and some trivia about WordPress. Good times.

© 2019