PHP code example of susina / coding-standard

1. Go to this page and download the library: Download susina/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/ */

    

susina / coding-standard example snippets


 declare(strict_types=1);

$config = new Susina\CodingStandard\Config();
$config->getFinder()
    ->in(__DIR__ . '/src')
    ->in(__DIR__ . '/tests')
    ->excludes(['fixtures'])
;

return $config;

vendor/
.php-cs-fixer.cache
yml
cache:
  directories:
    - $HOME/.php-cs-fixer