PHP code example of josephscott / phpcsfixer-config

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

    

josephscott / phpcsfixer-config example snippets



declare( strict_types = 1 );

PCSFixer_Config( __DIR__ );
return $fixer_config->get_config();

$fixer_config = new JosephScott\PHPCSFixer_Config( __DIR__ );
$fixer_config->config_indent = '    ';
$fixer_config->rules['array_indention'] = false;
return $fixer_config->get_config();