• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adrenalinkin / swagger-resolver-bundle / 4105683631

pending completion
4105683631

Pull #85

github

GitHub
Merge 718c862d5 into 298c89307
Pull Request #85: Updated php-cs-fixer for the latest 3 version

9 of 10 new or added lines in 9 files covered. (90.0%)

632 of 648 relevant lines covered (97.53%)

23.48 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/.php-cs-fixer.dist.php
1
<?php
2

3
declare(strict_types=1);
4

5
$fileHeaderComment = <<<COMMENT
×
6
This file is part of the SwaggerResolverBundle package.
7

8
(c) Viktor Linkin <adrenalinkin@gmail.com>
9

10
For the full copyright and license information, please view the LICENSE
11
file that was distributed with this source code.
12
COMMENT;
×
13

14
$finder = PhpCsFixer\Finder::create()
×
15
    ->in(__DIR__)
×
16
    ->exclude('Resources/config')
×
17
    ->exclude('var')
×
NEW
18
    ->notPath('Tests/Functional/src/swagger.php'); // PHPCS-Fixer does not recognise the DocBlock inside swagger.php.
×
19

20
return (new PhpCsFixer\Config())
×
21
    ->setRules([
×
22
        '@Symfony' => true,
×
23
        '@Symfony:risky' => true,
×
24
        '@PHPUnit75Migration:risky' => true,
×
25
        'header_comment' => ['header' => $fileHeaderComment, 'separate' => 'both'],
×
26
    ])
×
27
    ->setRiskyAllowed(true)
×
28
    ->setFinder($finder);
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc