1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 21:38:16 +01:00
guzzle/.php-cs-fixer.dist.php

30 lines
780 B
PHP
Raw Normal View History

2019-10-18 12:36:53 +02:00
<?php
2021-10-05 17:50:51 +02:00
$config = (new PhpCsFixer\Config())
2019-10-18 12:36:53 +02:00
->setRiskyAllowed(true)
->setRules([
2023-05-21 14:00:00 +01:00
'@PHP71Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@Symfony' => true,
2019-10-18 12:36:53 +02:00
'declare_strict_types' => false,
2023-05-21 14:00:00 +01:00
'global_namespace_import' => false,
'no_superfluous_phpdoc_tags' => [
'allow_mixed' => true,
],
2023-05-21 14:00:00 +01:00
'phpdoc_annotation_without_dot' => false,
'phpdoc_summary' => false,
'phpdoc_to_comment' => false,
'single_line_throw' => false,
'void_return' => false,
'yoda_style' => false,
2019-10-18 12:36:53 +02:00
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
2019-10-30 12:56:22 +02:00
->in(__DIR__.'/tests')
2019-10-18 12:36:53 +02:00
->name('*.php')
)
;
return $config;