Automating Code Style Fixes with Git and PHP Coding Standards Fixer

We all know coding standards in the PHP community and try to follow them. Despite this, we are all human beings and make mistakes from time to time. That being said means that we have a few options here: 1) Fix all code style issues manually 2) Use plugins for IDE or run CLI tools to fix everything These two options are not the ones I want to use. There is one more option - automate everything. Even though I'm going to use Git and PHP CS Fixer, the principles are simple and you can apply them to any language and any control version system. Keep reading to remove the routine and become a more productive developer.

How to Avoid Common Mistakes in JavaScript

From time to time, we all make mistakes while programming in JavaScript. It may happen due to many reasons: lack of experience, bad mood, deadline, a headake and so on. Even though many issues seem small, they can still become a reason for a huge failure and hours of debugging in the future. That's why you need to pay attention to details when you're coding, and I'm going to give you some advice how to make this process easier.