PHP code example of gigadrive / php-coding-standard
1. Go to this page and download the library: Download gigadrive/php-coding-standard library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gigadrive / php-coding-standard example snippets
$config = project files you want to pass to PHP CS Fixer.
$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude("var")
->exclude("vendor");
return $config
->setFinder($finder);