PHP code example of imbo / imbo-coding-standard
1. Go to this page and download the library: Download imbo/imbo-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/ */
imbo / imbo-coding-standard example snippets
declare(strict_types=1);
er();
$config = new Imbo\CodingStandard\Config();
return $config
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setFinder($finder->in(__DIR__)->append([__FILE__]));
json
{
"scripts": {
"cs": "vendor/bin/php-cs-fixer check --diff",
"cs:fix": "vendor/bin/php-cs-fixer fix --diff"
}
}