| 001 |
README.md |
52 |
+388 |
488 |
−360 |
1,236 |
| 002 |
src/Steevanb/Sniffs/Uses/GroupUsesSniff.php |
9 |
+100 |
293 |
−27 |
420 |
| 003 |
documentation/sniffs.md |
10 |
+196 |
206 |
−1 |
403 |
| 004 |
src/Steevanb/Sniffs/Classes/ClassMemberOrderSniff.php |
2 |
+348 |
9 |
−0 |
357 |
| 005 |
src/Steevanb/Sniffs/Formatting/ChainedCallsOnNewLineSniff.php |
3 |
+235 |
5 |
−0 |
240 |
| 006 |
src/Steevanb/Sniffs/Php/DisallowSelfSniff.php |
2 |
+226 |
5 |
−0 |
231 |
| 007 |
CLAUDE.md |
3 |
+157 |
27 |
−0 |
184 |
| 008 |
tests/AbstractSniffTestCase.php |
2 |
+143 |
19 |
−0 |
162 |
| 009 |
src/Steevanb/ruleset.xml |
5 |
+145 |
3 |
−5 |
153 |
| 010 |
src/Steevanb/Sniffs/Formatting/DisallowMultipleStatementsSniff.php |
2 |
+150 |
3 |
−0 |
153 |
| 011 |
src/Steevanb/Sniffs/Uses/UseAlphabeticalOrderSniff.php |
1 |
+151 |
0 |
−0 |
151 |
| 012 |
documentation/changelog.md |
26 |
+120 |
23 |
−0 |
143 |
| 013 |
src/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrderSniff.php |
2 |
+138 |
4 |
−0 |
142 |
| 014 |
src/Steevanb/Sniffs/Functions/StaticClosureSniff.php |
2 |
+125 |
4 |
−0 |
129 |
| 015 |
tests/Steevanb/Sniffs/Formatting/ChainedCallsOnNewLine/ChainedCallsOnNewLineSniffTest.php |
2 |
+117 |
0 |
−0 |
117 |
| 016 |
tests/Steevanb/Sniffs/NamingConventions/ValidVariableName/ValidVariableNameSniffTest.php |
1 |
+114 |
0 |
−0 |
114 |
| 017 |
tests/Steevanb/Sniffs/Namespaces/UseDeclaration/UseDeclarationSniffTest.php |
1 |
+107 |
0 |
−0 |
107 |
| 018 |
src/Steevanb/Sniffs/PhpDoc/NumberOfRowsRelativeToContentSniff.php |
4 |
+80 |
23 |
−0 |
103 |
| 019 |
documentation/docker.md |
15 |
+52 |
48 |
−0 |
100 |
| 020 |
src/Steevanb/Sniffs/Syntax/BlankLineBeforeReturnSniff.php |
3 |
+60 |
38 |
−0 |
98 |
| 021 |
documentation/configuration.md |
3 |
+54 |
40 |
−3 |
97 |
| 022 |
src/Reports/Steevanb.php |
4 |
+48 |
36 |
−6 |
90 |
| 023 |
rulesets/symfony.xml |
1 |
+88 |
0 |
−0 |
88 |
| 024 |
tests/Steevanb/Sniffs/Functions/StaticClosure/StaticClosureSniffTest.php |
1 |
+88 |
0 |
−0 |
88 |
| 025 |
src/Steevanb/Sniffs/Properties/EmptyPropertyHookOnSameLineSniff.php |
1 |
+87 |
0 |
−0 |
87 |
| 026 |
tests/Steevanb/Sniffs/Uses/GroupUses/GroupUsesSniffTest.php |
1 |
+87 |
0 |
−0 |
87 |
| 027 |
tests/Steevanb/Sniffs/Php/DisallowSelf/DisallowSelfSniffTest.php |
1 |
+85 |
0 |
−0 |
85 |
| 028 |
src/Steevanb/Sniffs/Syntax/NewWithoutParenthesesSniff.php |
3 |
+81 |
1 |
−0 |
82 |
| 029 |
tests/Steevanb/Sniffs/Classes/ClassMemberOrder/ClassMemberOrderSniffTest.php |
1 |
+82 |
0 |
−0 |
82 |
| 030 |
documentation/dependency.md |
9 |
+66 |
15 |
−0 |
81 |
| 031 |
tests/Steevanb/Sniffs/Syntax/BlankLineBeforeReturn/BlankLineBeforeReturnSniffTest.php |
1 |
+79 |
0 |
−0 |
79 |
| 032 |
tests/Steevanb/Sniffs/Classes/ClassMemberOrder/Fixtures/CorrectOrder.php |
2 |
+73 |
0 |
−0 |
73 |
| 033 |
documentation/circleci.md |
11 |
+49 |
20 |
−0 |
69 |
| 034 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/TraitUseAlphabeticalOrderSniffTest.php |
1 |
+67 |
0 |
−0 |
67 |
| 035 |
tests/Steevanb/Sniffs/Uses/UseAlphabeticalOrder/UseAlphabeticalOrderSniffTest.php |
1 |
+67 |
0 |
−0 |
67 |
| 036 |
src/Steevanb/Sniffs/ReturnType/StaticInsteadOfSelfSniff.php |
1 |
+65 |
0 |
−0 |
65 |
| 037 |
tests/Steevanb/Sniffs/Syntax/NewWithoutParentheses/NewWithoutParenthesesSniffTest.php |
2 |
+64 |
0 |
−0 |
64 |
| 038 |
tests/Steevanb/Sniffs/Formatting/DisallowMultipleStatements/DisallowMultipleStatementsSniffTest.php |
1 |
+59 |
0 |
−0 |
59 |
| 039 |
tests/Steevanb/Sniffs/ReturnType/StaticInsteadOfSelf/StaticInsteadOfSelfSniffTest.php |
1 |
+59 |
0 |
−0 |
59 |
| 040 |
tests/Steevanb/Sniffs/Php/DisallowMultipleEmptyLines/DisallowMultipleEmptyLinesSniffTest.php |
1 |
+57 |
0 |
−0 |
57 |
| 041 |
composer.json |
18 |
+36 |
19 |
−1 |
56 |
| 042 |
tests/Steevanb/Sniffs/Arrays/DisallowShortArraySyntaxSpaces/DisallowShortArraySyntaxSpacesSniffTest.php |
1 |
+56 |
0 |
−0 |
56 |
| 043 |
tests/Steevanb/Sniffs/Properties/EmptyPropertyHookOnSameLine/EmptyPropertyHookOnSameLineSniffTest.php |
1 |
+54 |
0 |
−0 |
54 |
| 044 |
tests/Steevanb/Sniffs/Syntax/Concatenation/ConcatenationSniffTest.php |
1 |
+54 |
0 |
−0 |
54 |
| 045 |
.claude/commands/app/update-presets.md |
1 |
+45 |
0 |
−0 |
45 |
| 046 |
src/Steevanb/Sniffs/Php/DisallowMultipleEmptyLinesSniff.php |
2 |
+42 |
1 |
−0 |
43 |
| 047 |
tests/Steevanb/Sniffs/Syntax/NewWithoutParentheses/Fixtures/WithoutParenthesesMultilineChaining.php |
1 |
+40 |
0 |
−0 |
40 |
| 048 |
bin/docker-build.inc.bash |
1 |
+40 |
0 |
−0 |
40 |
| 049 |
bin/ci/shellcheck |
1 |
+39 |
0 |
−0 |
39 |
| 050 |
tests/Steevanb/Sniffs/ControlStructures/ElseIfDeclaration/ElseIfDeclarationSniffTest.php |
1 |
+39 |
0 |
−0 |
39 |
| 051 |
tests/Steevanb/Sniffs/PhpDoc/NumberOfRowsRelativeToContent/NumberOfRowsRelativeToContentSniffTest.php |
1 |
+39 |
0 |
−0 |
39 |
| 052 |
tests/Steevanb/Sniffs/Properties/ConstantVisibility/ConstantVisibilitySniffTest.php |
1 |
+39 |
0 |
−0 |
39 |
| 053 |
bin/ci/phpcs |
2 |
+20 |
8 |
−7 |
35 |
| 054 |
bin/ci/phpunit |
2 |
+20 |
8 |
−7 |
35 |
| 055 |
config/ci/phpstan.stubs.php |
1 |
+34 |
0 |
−0 |
34 |
| 056 |
tests/Steevanb/Sniffs/Comparators/DisallowExclamationPoint/DisallowExclamationPointSniffTest.php |
1 |
+34 |
0 |
−0 |
34 |
| 057 |
bin/dockerise.inc.bash |
1 |
+33 |
0 |
−0 |
33 |
| 058 |
bin/ci/phpcbf |
2 |
+18 |
5 |
−9 |
32 |
| 059 |
.claude/commands/app/release.md |
1 |
+32 |
0 |
−0 |
32 |
| 060 |
bin/ci/phpstan |
1 |
+32 |
0 |
−0 |
32 |
| 061 |
.github/workflows/ci.yml |
4 |
+20 |
10 |
−0 |
30 |
| 062 |
src/Steevanb/Sniffs/NamingConventions/CamelCapsFunctionNameSniff.php |
3 |
+4 |
23 |
−3 |
30 |
| 063 |
bin/composer |
2 |
+17 |
5 |
−8 |
30 |
| 064 |
config/ci/composerRequireChecker.json |
2 |
+28 |
0 |
−0 |
28 |
| 065 |
rulesets/doctrine.xml |
1 |
+28 |
0 |
−0 |
28 |
| 066 |
src/Steevanb/Sniffs/NamingConventions/ValidVariableNameSniff.php |
2 |
+8 |
11 |
−8 |
27 |
| 067 |
src/Steevanb/Sniffs/Syntax/ConcatenationSniff.php |
1 |
+14 |
13 |
−0 |
27 |
| 068 |
bin/dev/start |
2 |
+19 |
4 |
−0 |
23 |
| 069 |
documentation/dev.md |
1 |
+23 |
0 |
−0 |
23 |
| 070 |
bin/ci/validate.php |
1 |
+22 |
0 |
−0 |
22 |
| 071 |
tests/Steevanb/Sniffs/Functions/StaticClosure/Fixtures/NestedClosureWithThisInInner.php |
1 |
+22 |
0 |
−0 |
22 |
| 072 |
tests/Steevanb/Sniffs/Functions/StaticClosure/Fixtures/NestedClosureWithThisInInnerFixed.php |
1 |
+22 |
0 |
−0 |
22 |
| 073 |
src/Steevanb/Sniffs/Metrics/NestingLevelSniff.php |
2 |
+4 |
11 |
−6 |
21 |
| 074 |
.github/workflows/ci-docker.yml |
1 |
+21 |
0 |
−0 |
21 |
| 075 |
bin/release/docker |
1 |
+20 |
0 |
−0 |
20 |
| 076 |
docker/ci/Dockerfile |
1 |
+20 |
0 |
−0 |
20 |
| 077 |
tests/Steevanb/Sniffs/Functions/StaticClosure/Fixtures/ClosureWithThis.php |
1 |
+20 |
0 |
−0 |
20 |
| 078 |
docker/release/Dockerfile |
2 |
+18 |
1 |
−0 |
19 |
| 079 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/CorrectOrder.php |
1 |
+19 |
0 |
−0 |
19 |
| 080 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/WrongOrder.php |
1 |
+19 |
0 |
−0 |
19 |
| 081 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/WrongOrderFixed.php |
1 |
+19 |
0 |
−0 |
19 |
| 082 |
tests/Steevanb/Sniffs/Uses/GroupUses/Fixtures/ValidTraitUse.php |
1 |
+19 |
0 |
−0 |
19 |
| 083 |
docker/ci/composer.json |
1 |
+18 |
0 |
−0 |
18 |
| 084 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/MultipleTraitsSameUseCorrectOrder.php |
1 |
+18 |
0 |
−0 |
18 |
| 085 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/MultipleTraitsSameUseWrongOrder.php |
1 |
+18 |
0 |
−0 |
18 |
| 086 |
tests/Steevanb/Sniffs/Classes/TraitUseAlphabeticalOrder/Fixtures/MultipleTraitsSameUseWrongOrderFixed.php |
1 |
+18 |
0 |
−0 |
18 |
| 087 |
tests/Steevanb/Sniffs/Functions/StaticClosure/Fixtures/ArrowFunctionWithThis.php |
1 |
+18 |
0 |
−0 |
18 |
| 088 |
tests/Steevanb/Sniffs/PhpDoc/NumberOfRowsRelativeToContent/Fixtures/MultiLineMultipleContent.php |
1 |
+18 |
0 |
−0 |
18 |
| 089 |
tests/Steevanb/Sniffs/Properties/EmptyPropertyHookOnSameLine/Fixtures/NonEmptyHook.php |
1 |
+17 |
0 |
−0 |
17 |
| 090 |
config/ci/phpstan.neon |
1 |
+17 |
0 |
−0 |
17 |
| 091 |
tests/Steevanb/Sniffs/Namespaces/UseDeclaration/Fixtures/UseInSecondNamespace.php |
1 |
+17 |
0 |
−0 |
17 |
| 092 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/SelfCallPrivateMethod.php |
1 |
+17 |
0 |
−0 |
17 |
| 093 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/SelfCallProtectedMethod.php |
1 |
+17 |
0 |
−0 |
17 |
| 094 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/SelfCallProtectedMethodFixed.php |
1 |
+17 |
0 |
−0 |
17 |
| 095 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/SelfCallPublicMethod.php |
1 |
+17 |
0 |
−0 |
17 |
| 096 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/SelfCallPublicMethodFixed.php |
1 |
+17 |
0 |
−0 |
17 |
| 097 |
tests/Steevanb/Sniffs/Php/DisallowSelf/Fixtures/StaticCallPublicMethod.php |
1 |
+17 |
0 |
−0 |
17 |
| 098 |
config/ci/unused-scanner.php |
1 |
+16 |
0 |
−0 |
16 |
| 099 |
tests/Steevanb/Sniffs/Classes/ClassMemberOrder/Fixtures/PrivateBeforePublic.php |
1 |
+16 |
0 |
−0 |
16 |
| 100 |
tests/Steevanb/Sniffs/Classes/ClassMemberOrder/Fixtures/PropertyBeforeUse.php |
1 |
+16 |
0 |
−0 |
16 |