Commit 1593e36
Use rector-src#dev-upgrade-to-php-parser5-and-phpstan-2 (#235)
* Use rector-src#dev-upgrade-to-php-parser5-and-phpstan-2
* update to php-parser 5 nodes
* cs fix
* fix print return
* fix use Token as array
* fix use token as array on FollowedByCommaAnalyzer
* fix downgrade array spread
* [ci-review] Rector Rectify
* fix Throw_ as Expr on DowngradeThrowExprRector
* fix token as array on DowngradeDereferenceableOperationRector
* fix constant type on DowngradeNamedArgumentRector
* fix ParamTagValueNode usage on DowngradeEnumToConstantListClassRector
* fix throw as expr on ArrowFunctionToAnonymousFunctionRector
* [ci-review] Rector Rectify
* fix
* fix throw
* [ci-review] Rector Rectify
* fix downgrade json const and fix token as array
* fix fixture on DowngradeUnionTypeDeclarationRector
* fix constant type
* fixing phpstan
* [ci-review] Rector Rectify
* fix phpstan on DowngradeAttributeToAnnotationRector
* fix phpstan
* fix fixture
* handle doc indentation
* require dev phpstan webmozart v2 and fix phsptan message return
---------
Co-authored-by: GitHub Action <[email protected]>1 parent eb03bfe commit 1593e36
File tree
59 files changed
+181
-171
lines changed- rules-tests
- DowngradePhp73/Rector/String_/DowngradeFlexibleHeredocSyntaxRector/Fixture
- DowngradePhp74/Rector/ArrowFunction/ArrowFunctionToAnonymousFunctionRector/Fixture
- DowngradePhp80/Rector
- Expression/DowngradeMatchToSwitchRector/Fixture
- FunctionLike/DowngradeUnionTypeDeclarationRector/Fixture
- DowngradePhp81/Rector/FuncCall/DowngradeArrayIsListRector/Fixture
- rules
- DowngradePhp72
- NodeManipulator
- PhpDoc
- Rector
- ConstFetch
- FuncCall
- DowngradePhp73
- Rector
- ConstFetch
- FuncCall
- List_
- String_
- Tokenizer
- DowngradePhp74/Rector
- Array_
- ArrowFunction
- ClassMethod
- LNumber
- MethodCall
- DowngradePhp80
- NodeAnalyzer
- Rector
- ArrayDimFetch
- ClassMethod
- Class_
- Enum_
- Expression
- FuncCall
- MethodCall
- New_
- NullsafeMethodCall
- Property
- StaticCall
- Reflection
- DowngradePhp81
- NodeAnalyzer
- NodeFactory
- Rector
- Array_
- FuncCall
- LNumber
- src/PhpDocDecorator
- tests/Issues/DowngradeArrayIsListArrowFunction/Fixture
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
59 files changed
+181
-171
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
33 | 30 | | |
34 | 31 | | |
35 | 32 | | |
36 | | - | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
51 | | - | |
| 49 | + | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
| 53 | + | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments