Tomas Votruba
cabe032008
[static] Improve types ( #5657 )
...
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-23 01:25:34 +00:00
Tomas Votruba
362ebbea46
[TypeDeclaration] Add ReturnTypeFromReturnNewRector ( #5624 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-19 12:01:23 +00:00
Tomas Votruba
eb3276e7fc
[NetteCodeQuality] Add MergeTemplateSetFileToTemplateRenderRector ( #5525 )
2021-02-13 01:08:54 +00:00
Tomas Votruba
5e95bbb294
Remove NotifyingNodeRemover, RemovedAndAddedFilesTrait, merge traits to AbstractRector ( #5466 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-09 01:52:35 +00:00
Tomas Votruba
f3b05c714c
[PHPUnit] Improve TryCatchToExpectExceptionRector complexity ( #5465 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-09 00:42:47 +01:00
Tomas Votruba
7293c3c2a8
less traits 2 ( #5384 )
2021-01-30 23:20:05 +00:00
Tomas Votruba
53835a751e
[PHP 7.1] Fix AssignArrayToStringRector for dynamic property fetch names ( #5305 )
2021-01-24 21:43:15 +00:00
Tomas Votruba
ea1f7bd758
Lower class complexity ( #5208 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-17 15:43:47 +00:00
Tomas Votruba
56409c5a3a
[phpstan] Remove unreported errors and duplicated methods ( #5193 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-15 21:27:36 +01:00
Abdul Malik Ikhsan
ec5daad132
[Util] Add StaticInstanceOf ( #4979 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 12:53:26 +01:00
Tomas Votruba
d465ec83e2
[DeadCode] Move RecastingRemovalRector from PHPStan set ( #4983 )
...
* [DeadCode] Move RecastingRemovalRector from PHPStan set
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:22:45 +00:00
Abdul Malik Ikhsan
ca0b4cfdc7
[EarlyReturn] Register ChangeOrIfReturnToEarlyReturnRector to early-return set ( #4975 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-24 17:28:56 +01:00
Tomas Votruba
37b3cecda3
Upgrade to php-parser 4.10.4 and PHPStan 0.12.63 ( #4926 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 22:05:48 +01:00
Tomas Votruba
574c7cd174
[static] Narrow param types, remove duplicated methods ( #4921 )
...
* narrow types and other static fixes
* duplicates static fixes
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-20 13:50:55 +01:00
Abdul Malik Ikhsan
9e0b632e4e
[CodeQualityStrict] Add CountArrayToEmptyArrayComparisonRector to CodeQualityStrict ( #4496 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-10-29 09:59:39 +01:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods ( #4393 )
2020-10-11 16:17:43 +02:00
Tomas Votruba
7e124dffc0
[static] replace string attirbutes with contants + fix require rule ( #4354 )
...
* replace string attirbutes with contants
* static fixes
* composer: bump sypmlify
* composer: drop branch alias, not usedp
2020-10-04 22:19:25 +00:00
Abdul Malik Ikhsan
3ff3e37ecb
[symfony] add AutoWireWithClassNameSuffixForMethodWithRequiredAnnotationRector ( #4341 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-02 12:29:18 +02:00
Igor
ccb086aab7
[Naming] Make UnderscoreToCamelCasePropertyNameRector work with PropertyRenamer ( #4283 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-28 20:29:37 +02:00
Marek Šimeček
1c2afb2e56
node name resolver skip on identifier ( #4254 )
2020-09-18 10:45:22 +02:00
Igor
1582dc46f4
[Naming] Decouple property renaming into PropertyRenamer ( #4242 )
2020-09-17 23:18:18 +02:00
Tomas Votruba
1c4b510513
PHPStan: require iterable types ( #3936 )
...
* phpstan: require iterable types
* add link on relative path and line
* fix missing class type
* typed array in Rector code + add data provide support resolver
* remove duplicated set
* drop unused yaml ecs config
* add out-of-the-box directory for 3rd party packages
* static fixes
* [rector] static fixes
* [cs] static fixes
* [rector] [cs] static fixes
* generic types
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-11 10:59:04 +00:00
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
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