PHP code example of coisa / php-cs-fixer
1. Go to this page and download the library: Download coisa/php-cs-fixer 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/ */
coisa / php-cs-fixer example snippets
return CoiSA\PhpCsFixer\PhpCsFixer::create(array(
__FILE__,
__DIR__,
'!ignore_path_using_exclamation_sign',
));
$paths = array(
__FILE__,
__DIR__,
);
$header = \file_get_contents(__DIR__ . '/.docheader');
return CoiSA\PhpCsFixer\PhpCsFixer::create($paths, $header);