PHP code example of superdj / spaces-in-parentheses-php-cs-fixer
1. Go to this page and download the library: Download superdj/spaces-in-parentheses-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/ */
superdj / spaces-in-parentheses-php-cs-fixer example snippets
composer
return ( new PhpCsFixer\Config )
->registerCustomFixers( [
new \SuperDJ\SpacesInParenthesesFixer\SpacesInParenthesesFixer,
] )
->setRules( [
'SuperDJ/spaces_in_parentheses' => [ 'space' => 'spaces' ],
]);