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

liip / LiipImagineBundle / 12293640938

12 Dec 2024 09:36AM UTC coverage: 81.636% (-0.03%) from 81.665%
12293640938

push

github

web-flow
Merge pull request #1615 from liip/cs

apply cs fixer

1 of 2 new or added lines in 2 files covered. (50.0%)

1 existing line in 1 file now uncovered.

2276 of 2788 relevant lines covered (81.64%)

103.05 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
/*
4
 * This file is part of the `liip/LiipImagineBundle` project.
5
 *
6
 * (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
7
 *
8
 * For the full copyright and license information, please view the LICENSE.md
9
 * file that was distributed with this source code.
10
 */
11

12
use PhpCsFixer\Config;
13
use PhpCsFixer\Finder;
14

15
$header = <<<HEADER
×
16
This file is part of the `liip/LiipImagineBundle` project.
17

18
(c) https://github.com/liip/LiipImagineBundle/graphs/contributors
19

20
For the full copyright and license information, please view the LICENSE.md
21
file that was distributed with this source code.
22
HEADER;
×
23

24
return (new Config())
×
25
    ->setUsingCache(true)
×
26
    ->setRiskyAllowed(true)
×
27
    ->setFinder((new Finder())->in(__DIR__))
×
28
    ->setRules([
×
29
        '@Symfony' => true,
×
30
        '@Symfony:risky' => true,
×
31
        '@PHPUnit57Migration:risky' => true,
×
32
        'array_syntax' => [
×
33
            'syntax' => 'short'
×
34
        ],
×
35
        'native_constant_invocation' => [
×
36
            'fix_built_in' => false,
×
37
        ],
×
38
        'combine_consecutive_issets' => true,
×
39
        'combine_consecutive_unsets' => true,
×
40
        'escape_implicit_backslashes' => true,
×
41
        'explicit_indirect_variable' => true,
×
42
        'final_internal_class' => true,
×
43
        'fopen_flags' => [
×
44
            'b_mode' => true
×
45
        ],
×
46
        'header_comment' => [
×
47
            'header' => $header,
×
48
            'separate' => 'both'
×
49
        ],
×
50
        'heredoc_to_nowdoc' => true,
×
51
        'linebreak_after_opening_tag' => true,
×
52
        'list_syntax' => [
×
53
            'syntax' => 'short',
×
54
        ],
×
55
        'mb_str_functions' => true,
×
56
        'multiline_whitespace_before_semicolons' => [
×
57
            'strategy' => 'no_multi_line',
×
58
        ],
×
59
        'no_php4_constructor' => true,
×
60
        'echo_tag_syntax' => true,
×
61
        'no_unreachable_default_argument_value' => true,
×
62
        'no_useless_else' => true,
×
63
        'no_useless_return' => true,
×
64
        'ordered_class_elements' => [
×
65
            'order' => [
×
66
                'use_trait',
×
67
                'constant_public',
×
68
                'constant_protected',
×
69
                'constant_private',
×
70
                'property_public',
×
71
                'property_protected',
×
72
                'property_private',
×
73
                'construct',
×
74
                'destruct',
×
75
                'magic',
×
76
                'phpunit',
×
77
                'method_public',
×
78
                'method_protected',
×
79
                'method_private'
×
80
            ],
×
81
        ],
×
82
        'ordered_imports' => true,
×
83
        'php_unit_strict' => true,
×
84
        'php_unit_no_expectation_annotation' => true,
×
85
        'php_unit_test_class_requires_covers' => true,
×
86
        'phpdoc_order' => true,
×
87
        'phpdoc_summary' => false,
×
88
        'psr_autoloading' => true,
×
89
        'semicolon_after_instruction' => true,
×
90
        'strict_comparison' => true,
×
91
        'strict_param' => true,
×
NEW
92
        'trailing_comma_in_multiline' => ['elements' => ['arrays']], // trailing comma on parameters / arguments not compatible with PHP 7
×
93
        'get_class_to_class_keyword' => false, // not compatible with PHP 7
×
94
    ]);
×
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

© 2026 Coveralls, Inc