PHP code example of phlak / coding-standards
1. Go to this page and download the library: Download phlak/coding-standards 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/ */
phlak / coding-standards example snippets
er = PhpCsFixer\Finder::create()->in([
// List of paths you wish to
return PHLAK\CodingStandards\ConfigFactory::make($finder, [
// Your additional rules here...
]);
return PHLAK\CodingStandards\ConfigFactory::make($finder)
->setIndent("\t")
->setLineEnding("\r\n")
->setRiskyAllowed();