1. Go to this page and download the library: Download bypassflow/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/ */
bypassflow / standards example snippets
declare(strict_types=1);
use bypassflow\Standards\PhpCsFixer\CustomFixer\LeadingContinuationIndentFixer;
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
return (new Config())->setFinder((new Finder())->in([
\sprintf('%s/src', __DIR__),
\sprintf('%s/tests', __DIR__),
]))->registerCustomFixers([
new LeadingContinuationIndentFixer(),
])->setRules([
'Bypassflow/leading_continuation_indent' => true,
]);