I gave the new (alpha release) PHP formatter in the Prettier suite a try: https://prettier.io/blog/2018/04/09/plugin-php-0.1.html Prettier is a popular package for Javascript and other languages, and it has a package to integrate with Sublime Text. To get started, I installed the package globally: npm install –globally prettier/prettier prettier/plugin-php and tried it on some of our […]
Tag Archives: PHP
Coding Standards
TL;DR: For PHP, I suggest we write code in the style of PSR-1, PSR-2 and PSR-12. It’s worth reviewing the standards every year. Let’s get boring: coding standards. There, I’ve said it. If you haven’t clicked away to Twitter or Instagram check Remedy tickets already, let me try to hook you with a reminder of a couple […]