PHP code example of binary-cats / laravel-php-styles
1. Go to this page and download the library: Download binary-cats/laravel-php-styles 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/ */
...
return BinaryCats\PhpStyles\styles($finder, [
// Do not wrap concat . with spaces
'concat_space' => ['spacing' => 'none'],
]);
...
return BinaryCats\PhpStyles\styles($finder, [
// turn the force FQCN fixer off
'AdamWojs/phpdoc_force_fqcn_fixer' => false,
], [
new \AdamWojs\PhpCsFixerPhpdocForceFQCN\Fixer\Phpdoc\ForceFQCNFixer,
]);