PHP code example of lst / typo3-phpcsfixer-rules

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

    

lst / typo3-phpcsfixer-rules example snippets




er = PhpCsFixer\Finder::create()
    ->in('packages');

$config = new PhpCsFixer\Config();
return $config->setRules(\LST\TYPO3PhpCsFixerRules\PhpCsFixer::getRules())
    ->setRiskyAllowed(true)
    ->setFinder($finder);