Repository navigation
Commit b8bc004
committed
Inline deprecated symplify/rule-doc-generator-contracts under Rector\RuleDoc
The symplify/rule-doc-generator-contracts package is deprecated. Move its
classes into src/RuleDoc under the Rector\RuleDoc namespace and drop the
dependency.
A BC alias layer (src/functions/rule_doc_generator_class_aliases.php) maps the
old Symplify\RuleDocGenerator\* FQCNs onto the new ones, so extension and 3rd
party rules that reference the old namespace keep working unchanged. The scoper
exclude for that namespace is kept so the alias names stay unprefixed in the
built PHAR.1 parent bcaae98 commit b8bc004
536 files changed
Lines changed: 1433 additions & 1040 deletions
File tree
- rules
- Arguments/Rector
- ClassMethod
- FuncCall
- MethodCall
- Assert/Rector/ClassMethod
- Carbon/Rector
- FuncCall
- MethodCall
- New_
- CodeQuality/Rector
- AssignOp
- Assign
- Attribute
- BooleanAnd
- BooleanNot
- BooleanOr
- CallLike
- Catch_
- ClassConstFetch
- ClassMethod
- Class_
- Coalesce
- Concat
- Empty_
- Equal
- Expression
- For_
- Foreach_
- FuncCall
- FunctionLike
- Identical
- If_
- Include_
- Isset_
- LogicalAnd
- New_
- NotEqual
- NullsafeMethodCall
- Property
- StmtsAwareInterface
- Switch_
- Ternary
- CodingStyle/Rector
- ArrowFunction
- Assign
- Catch_
- ClassConst
- ClassLike
- ClassMethod
- Closure
- Encapsed
- Enum_
- FuncCall
- If_
- PostInc
- Property
- Stmt
- String_
- Ternary
- Use_
- DeadCode/Rector
- Array_
- Assign
- BinaryOp
- Block
- BooleanAnd
- Cast
- ClassConst
- ClassLike
- ClassMethod
- Class_
- Closure
- Concat
- ConstFetch
- Expression
- For_
- Foreach_
- FuncCall
- FunctionLike
- If_
- MethodCall
- Node
- Plus
- PropertyProperty
- Property
- Return_
- StaticCall
- StmtsAwareInterface
- Stmt
- Switch_
- Ternary
- TryCatch
- EarlyReturn/Rector
- Foreach_
- If_
- Return_
- StmtsAwareInterface
- Instanceof_/Rector/Ternary
- Naming/Rector
- Assign
- ClassMethod
- Class_
- Foreach_
- Php52/Rector
- Property
- Switch_
- Php53/Rector
- FuncCall
- Ternary
- Variable
- Php54/Rector
- Array_
- Break_
- FuncCall
- Php55/Rector
- ClassConstFetch
- Class_
- FuncCall
- String_
- Php56/Rector/FuncCall
- Php70/Rector
- Assign
- Break_
- ClassMethod
- FuncCall
- FunctionLike
- If_
- List_
- MethodCall
- StaticCall
- StmtsAwareInterface
- Switch_
- Ternary
- Variable
- Php71/Rector
- Assign
- BinaryOp
- BooleanOr
- FuncCall
- List_
- TryCatch
- Php72/Rector
- Assign
- FuncCall
- Unset_
- While_
- Php73/Rector
- BooleanOr
- ConstFetch
- FuncCall
- String_
- Php74/Rector
- ArrayDimFetch
- Assign
- Closure
- FuncCall
- If_
- Property
- StaticCall
- Ternary
- Php80/Rector
- Catch_
- ClassConstFetch
- ClassMethod
- Class_
- FuncCall
- Identical
- NotIdentical
- Property
- Switch_
- Ternary
- Php81/Rector
- Array_
- Class_
- FuncCall
- MethodCall
- New_
- Property
- Php82/Rector
- Class_
- Encapsed
- FuncCall
- New_
- Param
- Php83/Rector
- BooleanAnd
- ClassConst
- ClassMethod
- Class_
- FuncCall
- Php84/Rector
- Class_
- Foreach_
- FuncCall
- MethodCall
- Param
- Php85/Rector
- ArrayDimFetch
- ClassMethod
- Class_
- Const_
- Expression
- FuncCall
- Property
- ShellExec
- StmtsAwareInterface
- Switch_
- Php86/Rector
- Class_
- FuncCall
- Privatization/Rector
- ClassConst
- ClassMethod
- Class_
- MethodCall
- Property
- Removing/Rector
- ClassMethod
- Class_
- FuncCall
- Renaming/Rector
- Cast
- ClassConstFetch
- ClassMethod
- Class_
- ConstFetch
- FuncCall
- MethodCall
- Name
- PropertyFetch
- StaticCall
- String_
- Strict/Rector/Empty_
- Transform/Rector
- ArrayDimFetch
- Attribute
- ClassMethod
- Class_
- ConstFetch
- FuncCall
- MethodCall
- New_
- Scalar
- StaticCall
- String_
- TypeDeclarationDocblocks/Rector
- ClassMethod
- Class_
- Property
- TypeDeclaration/Rector
- ArrowFunction
- BooleanAnd
- ClassMethod
- Class_
- Closure
- Empty_
- FuncCall
- FunctionLike
- Function_
- Property
- StmtsAwareInterface
- While_
- Unambiguous/Rector
- Class_
- Expression
- Visibility/Rector
- ClassConst
- ClassMethod
- src
- Contract/Rector
- RuleDoc
- Contract
- Category
- Exception
- ValueObject
- CodeSample
- functions
- tests
- Issues/ScopeNotAvailable/Variable
- PhpParser/NodeTraverser
- ClassLike
- Class_
- Function_
- StopTraverseOnTypeChange/Class_
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
| |||
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | | - | |
34 | | - | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments