Commit Graph

525 Commits

Author SHA1 Message Date
Tomas Votruba
6481c8dccc Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
5f4edd9230 Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357)
2023-02-07 22:56:24 +00:00
Tomas Votruba
1e09b81ddb Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
e68c8d23cb Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353)
2023-02-07 12:26:09 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
dde7f41fda Updated Rector to commit 0f025099cbdd8c4cc6c9a3ffa0775a9250f112de
0f025099cb [TypeDeclaration] Move method ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed to ClassMethodReturnTypeOverrideGuard and make it private (#3323)
2023-01-29 16:34:12 +00:00
Tomas Votruba
defe1882fe Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-20 02:17:05 +00:00
Tomas Votruba
c67791b001 Updated Rector to commit cec3a1183d0a82e38dfdb06ecfa9b9b5d97125de
cec3a1183d [Php73] Skip prev() call on items after key called on ArrayKeyFirstLastRector (#3293)
2023-01-17 15:07:40 +00:00
Tomas Votruba
b27945f635 Rector 0.15.5 2023-01-12 19:13:08 +00:00
Tomas Votruba
db3869fd18 Updated Rector to commit 7c4d0ce7eca325b22e35c2653bf99a119a82668d
7c4d0ce7ec Includes PHPStan bleedingEdge.neon config in phpstan-for-rector and phpstan-for-downgrade config (#3274)
2023-01-12 13:57:33 +00:00
Tomas Votruba
7fa05c4332 Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
e8dd953f10 [Php80] Don't add null as default to variadic parameter (#3270)
2023-01-09 11:19:09 +00:00
Tomas Votruba
9548122236 Updated Rector to commit d43f7498b821cf58437f622bce3b3aae290fa89e
d43f7498b8 Bump PHPStan ^1.9.7 (#3268)
2023-01-05 03:42:38 +00:00
Tomas Votruba
a8b92bef9a Updated Rector to commit 27d57142d9581209db7809c3e1f50e77140574cb
27d57142d9 Bump to PHPStan ^1.9.6 (#3266)
2023-01-03 14:38:26 +00:00
Tomas Votruba
9b5abdcb18 Updated Rector to commit fe5292d39dde5bfbd9ad3f652762bf70f621ee48
fe5292d39d Bump to PHPStan ^1.9.5 (#3265)
2023-01-03 00:44:59 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
efb1e95fb5 Updated Rector to commit 84faf2905518aad5fb97caf613517f8a50827867
84faf29055 Update generate-changelog command to use objects, add simple filtering (#3232)
2022-12-21 17:45:30 +00:00
Tomas Votruba
6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +00:00
Tomas Votruba
311e5c0c0c Updated Rector to commit e895bceed66b12ddc80fcf90314ac576ae9efe4f
e895bceed6 [Core] Improve performance: remove repetitive currentFileProvider->setFile() call on PhpFileProcessor (#3213)
2022-12-17 13:44:41 +00:00
Tomas Votruba
addbe36147 Updated Rector to commit bf9d5ab5056bb08317308707c035a45b5b658ea7
bf9d5ab505 Update to phpdoc-parser 1.5.2 (#3205)
2022-12-16 10:54:11 +00:00
Tomas Votruba
a6cbd606d0 Updated Rector to commit f20fd6e9daf997a2116f34a305d2c9afa72d393a
f20fd6e9da Bump phpdoc-parser to 1.15.0 (#3194)
2022-12-13 15:54:47 +00:00
Tomas Votruba
04232cb88d Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
d80ddd193d [CodeQuality] Handle possible crash on ParametersAcceptorSelector::selectSingle() on OptionalParametersAfterRequiredRector (#3192)
2022-12-13 12:09:37 +00:00
Tomas Votruba
e381b4574f Updated Rector to commit 99ac0029803859361b510f46cf13bb88153367ee
99ac002980 [TypeDeclaration] Skip void return on AddArrowFunctionReturnTypeRector (#3167)
2022-12-07 17:13:54 +00:00
Tomas Votruba
84ab546ff7 Updated Rector to commit b56440ac4b137539230a3e907c36f1705c7ed5f4
b56440ac4b allow compatible phpdoc-parser (#3157)
2022-12-05 13:25:12 +00:00
Tomas Votruba
3d977e083e Updated Rector to commit 16680c4f102d8155d94340307e8ec02c03ac42ed
16680c4f10 Bump to phpstan/phpdoc-parser:^1.14 (#3153)
2022-12-04 15:21:41 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
116d294510 Updated Rector to commit 5eff14fcc51da2ba72b763be5cd60183b9db46bc
5eff14fcc5 Deprecated and remove AddArrayParamDocTypeRector to work with strict type declarations only (#3112)
2022-11-28 00:05:06 +00:00
Tomas Votruba
f0d81253f6 Updated Rector to commit 10c76b3d85cc21a8834cd8952ff47a6bbcbf5915
10c76b3d85 [TypeDeclaration] Add AddParamTypeSplFixedArrayRector (#3105)
2022-11-27 21:07:35 +00:00
Tomas Votruba
a5406b6411 Updated Rector to commit eddc376c77b1211e055e7cdbc8214c3d1dae3d8a
eddc376c77 [Core] Remove RectifiedNode value object for RectifiedAnalyzer (#3079)
2022-11-20 12:34:31 +00:00
Tomas Votruba
728e63c6c2 Updated Rector to commit baf8394798205ee0d9c6f27e72f018e0996e624f
baf8394798 Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040)
2022-11-10 13:29:01 +00:00
Tomas Votruba
f9414241aa Updated Rector to commit 64d0a8375814c9da2fe93036e4c0fa5fbf06aa25
64d0a83758 [Php80][CodeQuality] Handle crash on ExplicitMethodCallOverMagicGetSetRector+ChangeSwitchToMatchRector (#3034)
2022-11-05 11:18:42 +00:00
Tomas Votruba
ce3c134b0d Updated Rector to commit a5051ff31121d95ac2ccf7db351ea486024a0b3f
a5051ff311 Bump to PHPStan ^1.9.0 (#3033)
2022-11-04 07:12:49 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
b7fb4398da Updated Rector to commit 997e5f4ae8c388b8a12d16539e8109fe821e8fd6
997e5f4ae8 [TypeDeclaration] Skip intersection with iterable on ReturnTypeDeclarationRector on php 8.1 feature enabled (#3022)
2022-10-29 10:54:11 +00:00
Tomas Votruba
34ee94e559 Updated Rector to commit 81d79a85ee8b75e8e61800aefffb3286e870109b
81d79a85ee [PHPStan] Fix Multiple services of type PHPStan\Rules\PHPUnit\CoversHelper on require phpstan-phpunit ^1.2.1 (#3020)
2022-10-28 09:01:53 +00:00
Tomas Votruba
f9e1eca05d Updated Rector to commit 5131abdb5a98a12658c4d13af3c2be655456bf43
5131abdb5a [EarlyReturn] Handle crash on RemoveAlwaysElseRector+ReturnEarlyIfVariableRector (#3011)
2022-10-24 16:11:57 +00:00
Tomas Votruba
48bf5c84cd Updated Rector to commit befc5441a1ef5c19cabf9cae0619d5c2cd23a028
befc5441a1 Add real path to filePaths when not false (#3004)
2022-10-21 10:12:40 +00:00
Tomas Votruba
edd2c3657d Updated Rector to commit 71ffc807faa4ee0ec144d5a7b6051a7c86c730c8
71ffc807fa Update all classlike pseudo rector (#3002)
2022-10-18 11:35:10 +00:00
Tomas Votruba
a018694585 Updated Rector to commit ee04ee1dc59ff0a6c3ff5d6558612dce7757a8f2
ee04ee1dc5 Fix multi property default assign (#2986)
2022-10-14 16:51:28 +00:00
Tomas Votruba
0427ebc0e1 Updated Rector to commit 84a720bc93a7ecbce501f2afdff755ac12174a72
84a720bc93 [Core][Symfony] Handle crash on get dynamic value ClassConstFetch by method call on ChangeStringCollectionOptionToConstantRector (#2984)
2022-10-13 23:35:13 +00:00
Tomas Votruba
cf91d46f0b Updated Rector to commit 2ba0aa6297b0ccc405564cb76c9f9fb939ac8348
2ba0aa6297 syntax
2022-10-13 02:02:59 +00:00
Tomas Votruba
32c7260742 Updated Rector to commit 1d88337fd2a40fec23671eb7e8662d4ad95a3187
1d88337fd2 [TypeDeclaration] Handle Parent ClassMethod has no Return_ stmt on ReturnTypeDeclarationRector (#2980)
2022-10-07 23:55:31 +00:00
Tomas Votruba
edf6290721 Updated Rector to commit d2ff17ea434ef68e13e62126ec463002e861eaba
d2ff17ea43 [Php81] Skip assigned after defined as constructor promotion on ReadOnlyPropertyRector (#2976)
2022-10-05 09:16:10 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
2395bb1685 Updated Rector to commit 54ff28da2aebcbb38d1f740be83dc839deeb4a99
54ff28da2a Skip short class names on StringClassNameToClassConstantRector, as mostly internal classes or strings (#2950)
2022-09-23 10:18:07 +00:00
Tomas Votruba
5a43eee340 Updated Rector to commit 2975a1bb0cc1a9e76c4cf09ad9b32494ac90d4e0
2975a1bb0c Skip first class callables in NullToStrictStringFuncCallArgRector (#2919)
2022-09-08 10:45:43 +00:00
Tomas Votruba
c33b229cb8 Updated Rector to commit f06d901e5135d1f7d61d0374d570b7b944b95779
f06d901e51 [Down_To_PHP71] Handle both parent and child typed for trailing comma downgrade on DowngradeLevelSetList::DOWN_TO_PHP_71 (#2910)
2022-09-05 11:33:38 +00:00
Tomas Votruba
463e8128b4 Updated Rector to commit 40c546e1835ebd452b0375e8529861b926e151ae
40c546e183 Update nikic/php-parser to 4.15.1 (#2903)
2022-09-04 09:51:45 +00:00
Tomas Votruba
28c719d1fb Updated Rector to commit 8961d20f56fa4b39bb21feec1f24422398f13dba
8961d20f56 [DX] Localize multi instance checker and privates accessor from Symplify + bump to PHPStan 1.8.3 (#2883)
2022-09-01 19:30:48 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba
cce8c4f1c9 Updated Rector to commit aee31cebb921d7213c9ffdf802e7481221c0453c
aee31cebb9 change to list of configs (#2694)
2022-07-20 11:52:30 +00:00