598 Commits

Author SHA1 Message Date
Tomas Votruba
d6ce660185 Updated Rector to commit 0864547a0d40d286201d03a0ba2b703ff2554f55
0864547a0d [automated] Re-Generate Nodes/Rectors Documentation (#125)
2021-05-30 07:54:06 +00:00
Tomas Votruba
578cb687e1 Rector 0.11.6 2021-05-29 17:17:11 +00:00
Tomas Votruba
ebc0abcc08 Updated Rector to commit e0b4e852a64ee87adf72f3308ec51e9672b71bbc
e0b4e852a6 [Php80] Annotation attribute should keep order original annotation comment (#104)
2021-05-28 12:08:33 +00:00
Tomas Votruba
47087101c1 Updated Rector to commit 80e6c3b95930026968fe9cf2cf4b471a08d76ec4
80e6c3b959 FileRelocationResolverTest: fix RegexpException on windows (#116)
2021-05-27 20:54:56 +00:00
Tomas Votruba
47d722993a Updated Rector to commit ae96c1a30812389737385b63ca9c79f8ab1d876e
ae96c1a308 Skip FormatPerservingPrinterTest on windows (#109)
2021-05-26 10:17:03 +00:00
Tomas Votruba
9b5515a16d Updated Rector to commit 4f4c416041047f60b03ffeae4fb7235a01f65873
4f4c416041 [CodeQuality] Skip UnusedForeachValueToArrayKeysRector when value used in compact (#100)
2021-05-25 11:50:23 +00:00
Tomas Votruba
89eee6ea29 Updated Rector to commit 5b74ac7ae62b7fc1a7c094eb052b5f3a822f9852
5b74ac7ae6 [PhpDocInfoPrinter] fix running tests on windows (#98)
2021-05-24 16:18:32 +00:00
Tomas Votruba
8457c221a7 Updated Rector to commit 6bd11828e7a5161ecddcd116c6d7bd681d116e22
6bd11828e7 [TASK] Refactor getter without assignment node (#96)
2021-05-23 17:26:56 +00:00
Tomas Votruba
8ef1dfb7af Updated Rector to commit ed8191fb64939954cb7352265ca5a09b809fca44
ed8191fb64 [Docs] Fixes rector_rules_overview.md docs link in each rules (#92)
2021-05-23 09:33:26 +00:00
Tomas Votruba
90a746a8cf Updated Rector to commit 617c04a9be1cef77fb23805109a9023fbc09b59d
617c04a9be [TypeDeclaration] Separated inferred and no types (#90)
2021-05-22 20:37:33 +00:00
Tomas Votruba
3689a516db Updated Rector to commit db00e23b5e487443b74e612069af9e9a178e45f1
db00e23b5e [PHP 8.0] Downgrade  (#85)
2021-05-21 16:44:29 +00:00
Tomas Votruba
8cfe98d5b7 Updated Rector to commit e5390727136d914b273b04ec8f5b6b0414f28b6a
e539072713 [PHP 8.0] Add DoctrineAnnotationClassToAttributeRector (#78)
2021-05-20 23:00:54 +00:00
Tomas Votruba
91a82e9ca5 Updated Rector to commit b5c00cbf1ca13a2cdfa040d78a97b098c6b5b3cf
b5c00cbf1c [BUGFIX] Respect indent_size for tabs (#81)
2021-05-20 14:35:36 +00:00
Tomas Votruba
1fc5dba0b1 Updated Rector to commit 7a712ba445b2cb2ae13d07b89ff354ef52b2df1f
e2bd8de348 resolve version on release 7a712ba445 date time
2021-05-19 00:12:47 +00:00
Tomas Votruba
270eaef34d Rector 0.11.5 2021-05-18 13:45:09 +00:00
Tomas Votruba
9987c84c58 Rector 0.11.3 2021-05-17 07:55:27 +00:00
Tomas Votruba
bacf71ed6c Updated Rector to commit 298c97a3bc72aed972935eea80eae14de2fca35e
298c97a3bc add validation
2021-05-16 22:30:05 +00:00
Tomas Votruba
10b65060a2 Updated Rector to commit cefe13feab65ddabdce51fc21d7d1effd5896287
cefe13feab fix rector rules overview dump location (#49)
2021-05-16 08:19:51 +00:00
Tomas Votruba
80c6cbecea Updated Rector to commit fa8e59708b7c6c2916f5afeefef80ba90346152f
fa8e59708b Use local version resolver (#36)
2021-05-15 01:39:19 +00:00
Tomas Votruba
146dc7d680 Updated Rector to commit f2c0023dad9a6a955c0af1553148adedc7bdb011
f2c0023dad [PHP 8.1] Add MyClabs enum to native ENUM (#30)
2021-05-14 09:53:43 +00:00
Tomas Votruba
693ce44ea9 Updated Rector to commit 9305fdf4f4708e2687a55d44d3aa663a1fd8cb5c
9305fdf4f4 typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
758a350d87 Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971 2021-05-12 13:15:45 +00:00
Tomas Votruba
436fcb7505 Updated Rector to commit 0684911cdf88b424d6e2a9ba0689f0e35e94ebd6
0684911cdf [PHP 8.0] Promoted property fixes (#8)
2021-05-11 10:40:34 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2 Updated Rector to commit a657258f317da1f6fd42069bf3b09198d3cfd635
a657258f31 cleanup CHANGELOG, is part of GitHub releases now (#2)
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible (#6366)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
Tomas Votruba
c83ac3683e
Decouple specific rules from NonPhpFileProcessor to NonPhpRectorInterface contract (#6285) 2021-05-02 11:50:34 +00:00
Tomas Votruba
2037d55d6b
[PHP 8.1] Add ReturnNeverTypeRector (#6283) 2021-05-02 10:46:55 +00:00
Tomas Votruba
f9dc93cb1a
Fix WrapEncapsedVariableInCurlyBracesRector reporting (#6220)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 19:32:59 +00:00
Abdul Malik Ikhsan
fa6fc49c59
[NodeAnalyzer] Use ClassAnalyzer for anonymous class check (#6162)
* use ClassAnalyzer in ParsedNodeCollector

* use ClassAnalyzer in BetterNodeFinder

* use Pin ParentClassToTraitsRector

* use in ChangeSingletonToServiceRector

* use in ValueObjectClassAnalyzer

* use in PropertyAddingPostRector

* use in fixture

* use isAnonymous() in ClassAnalyzer
2021-04-18 15:01:22 +02:00
Tomas Votruba
b8071fb7bc
Make use of inline parser over extreme node construction (#6145)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 17:34:49 +00:00
Tomas Votruba
8b402bfe02
Make use of File object instead of passing around provider of file info, tokens, stmts etc. (#6110)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-13 00:12:48 +00:00
Tomas Votruba
79621dbb99
Flip @see to @changelog links (#6092) 2021-04-10 18:47:17 +00:00
Michal Lulco
4b71eaa53d
League event: change dispatch string events to objects (#6029) 2021-04-09 23:20:49 +02:00
Tomas Votruba
cb60705d78
Restore parent relations on new nodes (#6057) 2021-04-08 12:44:26 +00:00
Abdul Malik Ikhsan
ce1bad3c3a
[DeadCode] Apply RemoveUnusedVariableAssignRector on unused local variable (#6003)
Co-authored-by: slomanto <s.lomanto@complex-it.de>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-29 10:30:42 +02:00
Abdul Malik Ikhsan
b10fc7dab2
[Naming] Allow used outside scope for RenameForeachValueVariableToMatchExprVariableRector (#5990)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-25 22:20:10 +01:00
Michal Lulco
2d469d3068
Added upgrade league/event to 3.0 (#5929) 2021-03-23 12:49:40 +01:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 (#5942) 2021-03-21 23:07:40 +00:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00:00
Tomas Votruba
163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages (#5837) 2021-03-19 21:29:10 +01:00
Tomas Votruba
33daf1de2e
fixup (#5897) 2021-03-18 14:29:32 +01:00
Tomas Votruba
721f619a1d
Post moving cleanup (#5827) 2021-03-12 23:52:38 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00