wishthis/vendor/php-http/client-common/.php_cs.dist
2022-01-21 09:23:52 +01:00

24 lines
507 B
PHP

<?php
/*
* Configuration for fabpot/php-cs-fixer
*
* @link https://github.com/FriendsOfPHP/PHP-CS-Fixer
*/
$finder = PhpCsFixer\Finder::create()
->in('src')
->in('spec')
;
return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
'@Symfony' => true,
'array_syntax' => [
'syntax' => 'short',
],
'no_empty_phpdoc' => true,
'phpdoc_to_comment' => false,
'single_line_throw' => false,
])
->setFinder($finder);