Tomas Votruba
436fcb7505
Updated Rector to commit 0684911cdf
...
0684911cdf
[PHP 8.0] Promoted property fixes (#8 )
2021-05-11 10:40:34 +00:00
Tomas Votruba
cdc3b7adef
Updated Rector to commit f451b0b8e1
...
f451b0b8e1
[PHP 8.0] Bump to promoted properties (#4 )
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9
Updated Rector to commit a80cf5292d
...
a80cf5292d
revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7
Updated Rector to commit a7db1ad94d
...
a7db1ad94d
use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2
Updated Rector to commit a657258f31
...
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 dedd4b55fe
...
dedd4b55fe
make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
af559edbe9
add changelog link
2021-05-08 01:36:24 +02:00
TomasVotruba
15b84ee2fe
fix possible circular reference
2021-05-08 00:59:33 +02: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
327f5fc126
[DowngradePhp70] Add SplitGroupedUseImportsRector + allow to return list of stmt[] in refactor() ( #6364 )
...
* rename SeparateMultiUseImportsRector to SeparateMultiUseImportsRector
* [PHP 7.0] Add SplitGroupedUseImportsRector
* allow to return multiple nodes to avoid addStmts() and removeNode() combo
* dot not FQN namespace and use improts
2021-05-06 01:44:08 +02:00
Tomas Votruba
745a7a9739
[CodingStyle] Add CallUserFuncToMethodCallRector ( #6328 )
2021-05-04 14:59:15 +00:00
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector ( #6318 )
2021-05-03 21:27:20 +00:00
Tomas Votruba
2e6d188522
[CodingStyle] Add variadic method call unpack to CallUserFuncCallToVariadicRector ( #6316 )
2021-05-03 21:03:16 +02:00
Tomas Votruba
e83b7f2538
[PHPStan] Resolve dependency juggling ( #6258 )
2021-04-28 09:33:25 +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
Joyce Babu
49d4f71214
Fix #6161 ( #6166 )
2021-04-19 11:02:12 +00:00
Tomas Votruba
e7e1b091d2
Simplify PropertyFetchByMethodAnalyzer ( #6147 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 22:30:36 +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
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +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
Abdul Malik Ikhsan
37db8e75cb
[CodingStyle] Escape content delimiter in pattern for ConsistentPregDelimiterRector ( #5988 )
2021-03-25 22:10:24 +01:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 ( #5941 )
2021-03-21 21:31:18 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks ( #5939 )
2021-03-21 19:41:17 +01:00
Tomas Votruba
c01d9699b5
Remove type-hiding name methods ( #5912 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 23:11:36 +00:00
TomasVotruba
de02a85e3f
remove parent class
2021-03-18 00:00:16 +01:00
TomasVotruba
7df115b051
make use of reflection
2021-03-18 00:00:16 +01:00
Tomas Votruba
09a3adb696
Less attributes ( #5884 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 23:03:49 +01:00
Tomas Votruba
69e66cbf1f
Replace StaticRectorStrings with Stringy class, remove CamelCaseFunctionNamingToUnderscoreRector to avoid naming rules ( #5882 )
2021-03-17 19:59:18 +00:00
Tomas Votruba
0acc05cc6e
remove runnable interface, to lower complexity ( #5829 )
2021-03-13 01:23:22 +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