Tomas Votruba
|
1ea1f5852b
|
[DeadCode] Remove RemoveUnusedClassesRector and RemoveUselessJustForSakeInterfaceRector, too unreliable (#5618)
|
2021-02-19 01:13:43 +01:00 |
|
Tomas Votruba
|
6e37d9af4e
|
[CodeQuality] Fix printing of fixed throws statement (#5616)
Co-authored-by: Stanislav Janů <info@lweb.cz>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-18 23:34:51 +01:00 |
|
Tomas Votruba
|
19810c2b9a
|
move FunctionToStaticMethodRector to Transform (#5613)
|
2021-02-18 21:35:10 +00:00 |
|
Tomas Votruba
|
cfd0b526d2
|
[Legacy] Drop RemoveIncludeRector (#5614)
|
2021-02-18 21:28:56 +00:00 |
|
Tomas Votruba
|
4ac321eda6
|
[Legacy] Drop AddTopIncludeRector, very narrow use case for generic users; better implemented externally (#5610)
|
2021-02-18 21:57:06 +01:00 |
|
Tomas Votruba
|
9f5bc8fa16
|
use ->getNativeType() to get native types (#5601)
|
2021-02-18 21:34:07 +01:00 |
|
Ruud Kamphuis
|
5e5abd336d
|
[TypedPropertyFromStrictConstructorRector] Keep var tag when it defines iterable type (#5611)
|
2021-02-18 21:33:38 +01:00 |
|
Abdul Malik Ikhsan
|
4416807562
|
[EarlyReturn] Register PreparedValueToEarlyReturnRector to early-return config set (#5606)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-18 17:01:55 +01:00 |
|
Tomas Votruba
|
ddfeae3391
|
drop --match-git-diff, not reliable for dependencies; use enable_cache instead (#5609)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-18 15:55:31 +00:00 |
|
Abdul Malik Ikhsan
|
19459b80fb
|
[EarlyReturn] Add PreparedValueToEarlyReturnRector (#5603)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-18 14:55:53 +01:00 |
|
Abdul Malik Ikhsan
|
fd6f48c576
|
[DeadCode] Add RemoveDeadLoopRector (#5600)
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-18 14:18:34 +01:00 |
|
Tomas Votruba
|
c609697f14
|
[TypeDeclarationStrict] Add AddMethodCallBasedStrictParamTypeRector (#5580)
|
2021-02-17 16:40:29 +01:00 |
|
Ruud Kamphuis
|
a75fee8395
|
[RemoveFuncCallArgRector] Use getName instead of isName to fix closure call (#5591)
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
|
2021-02-17 15:17:16 +01:00 |
|
Ruud Kamphuis
|
73bdede5ec
|
Pass string to FullyQualified instead of ::class (#5597)
Fixes #5596
|
2021-02-17 14:56:13 +01:00 |
|
Tomas Votruba
|
1d0feb11ee
|
[CodeQuality] Skip typed property on isset rule (#5592)
Co-authored-by: vladyslavstartsev <17382248+vladyslavstartsev@users.noreply.github.com>
|
2021-02-17 10:51:32 +00:00 |
|
Abdul Malik Ikhsan
|
8e9b7b39fe
|
[NodeCollector] Apply NodeRepository::collect() on Name node (#5585)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-17 11:29:39 +01:00 |
|
Abdul Malik Ikhsan
|
cb9fd31016
|
[Renaming] Skip RenameMethodRector when target method is __invoke with private/protected modifier (#5586)
|
2021-02-17 09:21:50 +01:00 |
|
Abdul Malik Ikhsan
|
9e731713b6
|
[Naming] Fixes #5587 Skip RenameParamToMatchTypeRector when used in ClassMethod stmts (#5588)
|
2021-02-17 08:09:31 +01:00 |
|
Abdul Malik Ikhsan
|
4fc4e7f52e
|
[CodeQuality] Improve InlineIfToExplicitIfRector : Allow AssignOp as well (#5582)
|
2021-02-16 20:16:37 +01:00 |
|
Abdul Malik Ikhsan
|
7475c7f025
|
[DeadCode] Add RemoveEmptyAbstractClassRector (#5558)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-16 20:15:45 +01:00 |
|
Abdul Malik Ikhsan
|
06906a0659
|
[CodeQuality] Improve InlineIfToExplicitIfRector : allow change BooleanOr to explicit if as well (#5579)
|
2021-02-16 19:36:50 +01:00 |
|
TomasVotruba
|
3cbc3ef94b
|
cs
|
2021-02-16 17:27:07 +01:00 |
|
TomasVotruba
|
904a4af497
|
drop arrow function from stmts type completion
|
2021-02-16 17:27:02 +01:00 |
|
Tomas Votruba
|
651573a58f
|
[TypeDeclaration] Add ReturnTypeFromStrictTypedCallRector (#5573)
|
2021-02-16 16:12:37 +00:00 |
|
addshore
|
a3f3b0e7d2
|
[DeadCode] Fix RemoveUnreachableStatementRector issue with global function declarations (#5575)
|
2021-02-16 17:03:52 +01:00 |
|
Abdul Malik Ikhsan
|
59e1063b50
|
[EearlyReturn] Improve ReturnAfterToEarlyOnBreakRector: skip when parent assign is not Expression (#5568)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-16 01:24:08 +01:00 |
|
Tomas Votruba
|
30ec07b6ac
|
include stubs in tests (#5565)
|
2021-02-15 20:50:26 +00:00 |
|
Tomas Votruba
|
1d80ef3df6
|
[TypeDeclaration] Add external types to ParamTypeFromStrictTypedPropertyRector (#5560)
|
2021-02-15 19:31:53 +00:00 |
|
Tomas Votruba
|
9d8b88e359
|
[TypeDeclaration] Add ParamTypeFromStrictTypedPropertyRector, add TYPE_DECLARATION_STRICT set (#5559)
|
2021-02-15 16:38:30 +00:00 |
|
Abdul Malik Ikhsan
|
cbebb9a4de
|
[Renaming] Skip RenameMethodRector when class implements interface method (#5557)
Co-authored-by: Ruud Kamphuis <ruudk@users.noreply.github.com>
|
2021-02-15 17:21:29 +01:00 |
|
Tomas Votruba
|
7e10245fa1
|
[Nette] Add double render use case to TemplateMagicAssignToExplicitVariableArrayRector (#5549)
* add double case
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-15 01:23:19 +00:00 |
|
Tomas Votruba
|
de8fa30257
|
[cs] apply indent of call in configs (#5547)
|
2021-02-14 21:28:21 +00:00 |
|
Tomas Votruba
|
054de822ed
|
[DoctrineCodeQuality] Add tests (#5540)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-14 19:51:04 +00:00 |
|
Abdul Malik Ikhsan
|
a8e1a97444
|
update regex Fixture path for Fixture Finder (#5546)
|
2021-02-14 17:12:52 +01:00 |
|
Abdul Malik Ikhsan
|
01360925b2
|
[EarlyReturn] Add ReturnAfterToEarlyBreakRector (#5529)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-14 10:53:04 +01:00 |
|
Tomas Votruba
|
d2948833a8
|
drop unused AddPropertyByParentRector (#5537)
|
2021-02-13 23:36:53 +00:00 |
|
Tomas Votruba
|
768e1ad381
|
[Nette] Allow optional case to render() parameters (#5538)
|
2021-02-13 22:57:57 +00:00 |
|
Tomas Votruba
|
1a45becf74
|
[Nette] Add false return check to template check (#5535)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-13 23:26:00 +01:00 |
|
Abdul Malik Ikhsan
|
c910b26253
|
[DeadCode] Skip RemoveUnusedConstructorParamRector on property promotion (#5534)
|
2021-02-13 21:05:43 +01:00 |
|
Tomas Votruba
|
cd5cc8e12e
|
[Nette] Add render support to TemplateMagicAssignToExplicitVariableArrayRector, skip render() calls where missing template, now handled by another rule (#5532)
|
2021-02-13 17:56:58 +00:00 |
|
Tomas Votruba
|
6ce792c70a
|
[CodingStyle] Drop AnnotateThrowablesRector to narrow code scope, designed for custom community rule (#5528)
|
2021-02-13 15:19:19 +01:00 |
|
Tomas Votruba
|
d0fb658dad
|
[Nette] Improve TemplateMagicAssignToExplicitVariableArrayRector with conditional if/else (#5527)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-13 13:25:47 +00:00 |
|
Tomas Votruba
|
eb3276e7fc
|
[NetteCodeQuality] Add MergeTemplateSetFileToTemplateRenderRector (#5525)
|
2021-02-13 01:08:54 +00:00 |
|
Tomas Votruba
|
a37dc9fdf1
|
[Renaming] Skip parent class rename, if target class is final (#5524)
|
2021-02-12 23:04:30 +00:00 |
|
TomasVotruba
|
6d65aa1423
|
simplify example
|
2021-02-12 23:58:52 +01:00 |
|
Tomas Votruba
|
afdf5839e7
|
[testing] change provideConfigFileInfo() to provideConfigFilePath() (#5518)
|
2021-02-12 19:19:40 +01:00 |
|
Tomas Votruba
|
fb1bf1f554
|
[Privatization] Skip on open-source abstract (#5516)
|
2021-02-12 02:02:28 +01:00 |
|
Abdul Malik Ikhsan
|
8d97bdc3c5
|
[DeadCode] Skip RemoveUnusedConstructorParamRector on interface and abstract method (#5515)
|
2021-02-12 01:34:10 +01:00 |
|
Tomas Votruba
|
1586fa7899
|
[Privatization] Skip privatization in abstract only on open-source type (#5514)
|
2021-02-11 22:24:40 +00:00 |
|
Tomas Votruba
|
4735479369
|
[PHP 5.5] Skip StringClassNameToClassConstantRector for is_a() checks (#5512)
|
2021-02-11 17:24:08 +00:00 |
|