Posts marked with “code quality”
Testing Strategy With the Help of Static Analysis
By Ondrej Mirtes. In this article, I’d like to introduce you to the concept of type safety and how it can improve the reliability and stability of your code. Once your code is more type-safe, and that fact is verified by automated tools, you can cherry-pick which parts of your application need extensive unit tests and where you can rely just on well-defined types.
Episode 8 – Long Running PHP
Eric and John go over the March features about writing daemons with PHP, Linux containers beyond Docker, accessibility, code reviews, and interview Chris Pitt, about the community in South Africa and his article on Evolving PHP. Oscar shares his experience recently upgrading an application to PHP 7.
The Dev Lead Trenches: Reviewing Code
Code reviews are one of the best ways to help a team ensure they’re writing the best code possible. In all of the jobs where we have done peer-lead code reviews, we have caught more bugs and had better discussions about code than in places or times where we just hammer code through the approval process. I know, I know; we all write beautiful, bug-free code, so why go through the hassle of a code review?
Education Station: How to Write Your Own Code Sniffer
Whether you’re new to PHP, or you’re more of a seasoned veteran, you’ve probably heard about PHP_CodeSniffer. The package, which has been around since September 2006, checks source code for coding standards violations. I’ll start off by showing you how to create a style which is a combination of other standards. I’ll then refactor it, […]
February 2016 – Workflow Powerups
We’ve released the February 2016 issue of php[architect] magazine. This issue looks at tools to help you powerup your workflows to improve your productivity. This month we have articles on using Docker for PHP development environments, evaluating different Git workflows, how to build a Continuous Integration and Testing environment, and using Symfony’s Event Dispatcher. Our […]