18 Commits

Author SHA1 Message Date
dobryy
411d76f9a9
[Order] Make OrderPrivateMethodsByUseRector process file in one run u… (#3889)
* [Order] Make OrderPrivateMethodsByUseRector process file in one run using while loop

* [Order] Enable rule in CI

* [rector] [Order] Enable rule in CI

* [cs] [Order] Enable rule in CI

* [Order] Use constant for number of max attempts and throw exception when exceeded.

* [rector] [Order] Use constant for number of max attempts and throw exception when exceeded.

* [cs] [Order] Use constant for number of max attempts and throw exception when exceeded.

Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-05 22:45:36 +02:00
TomasVotruba
791fe51b4a fix variable rename on static call 2020-07-20 01:23:11 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
b045b316e8 [config] switch packages config from YAML to PHP 2020-07-16 12:40:57 +02:00
TomasVotruba
769e25ce8f use property_exist over isset magic 2020-07-04 17:37:44 +02:00
TomasVotruba
f39acbafb2 use private for local constant 2020-06-08 19:15:15 +02:00
TomasVotruba
fa5319bf74 add sensio tag to one with = instead of : 2020-06-08 17:16:16 +02:00
TomasVotruba
e35b506fd0 fix method call name 2020-06-08 17:01:11 +02:00
TomasVotruba
a6598e5e82 [MockistaToMocker] init 2020-05-15 14:10:14 +02:00
TomasVotruba
405e5e0ea4 improve getName() error 2020-05-01 11:13:54 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
6a0551f004 [DeadCode] Add RemoveUnusedFunctionRector 2020-03-25 12:50:51 +01:00
TomasVotruba
5aab2cec96 improve NodeTypeResolver complexity 2020-03-01 01:22:10 +01:00
TomasVotruba
903483bf96 decouple ClassInsertManipulator 2020-02-29 22:10:06 +01:00
TomasVotruba
bc24bb12ff prevent getName() on StaticCall or MethodCall 2020-02-21 16:41:33 +01:00
TomasVotruba
1ad8f08ccd [SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector 2020-02-18 23:59:07 +01:00
TomasVotruba
6072707458 decouple RegexPatternDetector 2020-02-13 11:09:51 +01:00
TomasVotruba
e3d34567fd NodeNameResolver decoupled to own package 2020-02-09 23:47:00 +01:00