

This is necessary to draw up rules for applying the Codestyler.įor example, if your project supports PHP 8.0 and above, and you use the mkdir($path, 0755) function in it, thenĪpplying the rules for PHP 8.0 will break your code because it Which the minimum PHP version for your project will be taken. When you run the commands in the base path of the project, the composer.json file will be automatically read, from Locally composer global require dragon-code/codestyler Usage The opinionated coding style of The Dragon Code based on the PER rule The Dragon Code Styler is an opinionated PHP code style fixer for minimalists.Ĭodestyler is built on top of Laravel PintĪnd PHP-CS-Fixer, and makes it simple to ensure that your code styleīy default, Codestyler does not require any configuration and will fix code style issues in your code by following
