Commit Graph

77 Commits

Author SHA1 Message Date
Tomas Votruba
de2b2cf2b4 Updated Rector to commit dc69b1a963dc78ea9fe4ab07b70bc0716e1be341
dc69b1a963 [CodeQuality] Add new rule - ExplicitReturnNullRector (#5753)
2024-03-21 14:39:02 +00:00
Tomas Votruba
cd427d527e Updated Rector to commit 3ef3e35c45970bce4000f45f9c1cb651f078c5a0
3ef3e35c45 [Php71] Skip re-assign as string on AssignArrayToStringRector part 2 (#5661)
2024-02-23 19:28:49 +00:00
Tomas Votruba
41a86add1d Updated Rector to commit b007a8bd11ea0451b50dbafbacd5450b295f6266
b007a8bd11 [Php83] Add implements interface support on AddOverrideAttributeToOverriddenMethodsRector (#5429)
2024-01-04 19:14:21 +00:00
Tomas Votruba
bd56d13367 Updated Rector to commit 39cce5ccb84ce4ac40eeae113db339a961db9489
39cce5ccb8 [ECS] Skip SelfAccessorFixer on *Rector.php to skip example code for using using self:: (#5363)
2023-12-16 15:42:57 +00:00
Tomas Votruba
9621124c86 Rector 0.18.11 2023-11-27 13:27:43 +00:00
Tomas Votruba
5fa526e204 Updated Rector to commit de333f27982cd1b27450c6dfa87ec723b29fbc1c
de333f2798 [Php71] Skip re-assigned as array on AssignArrayToStringRector (#5261)
2023-11-19 00:02:19 +00:00
Tomas Votruba
000dcd9b3b Updated Rector to commit 50e589ca482e73daea8d2d4949c9ec9869fa59a3
50e589ca48 Feature/fix class annotation bad print (#5081)
2023-09-26 20:43:15 +00:00
Tomas Votruba
caa99019bf Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
7e55eaa7bf Bump to newer phpstan-extensions (#5041)
2023-09-18 13:55:57 +00:00
Tomas Votruba
df5f31835a Updated Rector to commit 099994eb803ebf550ae77bbd5ebcac1263d6571a
099994eb80 [DI] introduce boot() method to avoid hacking beforeResolving() closures (#4937)
2023-09-08 10:19:50 +00:00
Tomas Votruba
32ea38b2ab Updated Rector to commit 3c2fab22122dbab967154f433c93c61ec5532de5
3c2fab2212 [Strict] Skip docblock on BooleanInTernaryOperatorRuleFixerRector (#4638)
2023-08-03 16:56:43 +00:00
Tomas Votruba
a89d98c36c Updated Rector to commit 6658a0e3950589eface36a82af5be21bef70bf11
6658a0e395 [TypeDeclaration] Skip coalesce on StrictArrayParamDimFetchRector (#4589)
2023-07-24 12:42:10 +00:00
Tomas Votruba
2d92d14602 Updated Rector to commit 265f3ac2eca7287556b176ea428fa5f36fdef93c
265f3ac2ec Fix NumericReturnTypeFromStrictScalarReturnsRector for non-natively-typed parameters (#4380)
2023-07-03 08:34:34 +00:00
Tomas Votruba
8f92523b3a Updated Rector to commit 965b5f72045e3a94adf1eab83accafb52bfbe92a
965b5f7204 [CodeQuality] Exclude first class callable from IntvalToTypeCastRector (#7962) (#4040)
2023-06-01 22:33:20 +00:00
Tomas Votruba
74fee33fad Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
5979f30756 Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021)
2023-05-29 21:33:59 +00:00
Tomas Votruba
5062188fe8 Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
0ea7b49d58 [Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009)
2023-05-29 18:30:06 +00:00
Tomas Votruba
6b379fd240 Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
e6048295f9 [DeadCode] Use  flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017)
2023-05-29 12:18:38 +00:00
Tomas Votruba
95d72b47e8 Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
c018b8b71b [Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870)
2023-05-17 13:57:56 +00:00
Tomas Votruba
68933a635e Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6
67ce52f0a8 [PHPStan] Fix phpstan notice protected element usage (#3730)
2023-05-04 13:18:16 +00:00
Tomas Votruba
d4fe88d8f2 Updated Rector to commit 92d38cfba31d2a2811c19dd57810e296a725c91e
92d38cfba3 [TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (#3685)
2023-04-25 21:01:30 +00:00
Tomas Votruba
518852ebcf Updated Rector to commit 84238315f8c2171e803832b14d9bc7e004bfb01a
84238315f8 Minor ClassMethodAssignManipulator improvements (#3662)
2023-04-23 18:12:51 +00:00
Tomas Votruba
4564073a8a Updated Rector to commit 59720a1105eeec521130754510b7b1c8d4da50c1
59720a1105 Fix phpstan notice (#3653)
2023-04-22 15:32:02 +00:00
Tomas Votruba
91a5e19669 Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
ff89974737 NodeTypeResolver: remove unnecessary check (#3626)
2023-04-20 12:15:14 +00:00
Tomas Votruba
4980a45b0b Updated Rector to commit 581fba01dfcc247be5dcec00903b72739b7eca6d
581fba01df [Php55] Add StaticToSelfOnFinalClassRector (#3629)
2023-04-19 07:12:58 +00:00
Tomas Votruba
f924c3de30 Updated Rector to commit 0dfc92f16f7d3d21a21ae5e6f6abb21467fb48da
0dfc92f16f Add declare strict_types rule, finally 🥳 (#3619
2023-04-17 15:47:09 +00:00
Tomas Votruba
be3c7cb235 Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
46301c10a8 Use isFloat() (#3572)
2023-04-08 00:59:02 +00:00
Tomas Votruba
5a5da62b5c Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-06 09:24:11 +00:00
Tomas Votruba
288d74ea5d Updated Rector to commit be24410a00da07e1aeb4eba8083d0e06f19868a9
be24410a00  [PostRector] Skip remove unused used at @see for Generic tag  (#3562)
2023-04-05 00:15:15 +00:00
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
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
6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +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
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
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
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
a018694585 Updated Rector to commit ee04ee1dc59ff0a6c3ff5d6558612dce7757a8f2
ee04ee1dc5 Fix multi property default assign (#2986)
2022-10-14 16:51:28 +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
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
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
0522de2970 Updated Rector to commit cf8cbcd4cb
cf8cbcd4cb [Core] Refactor CreatedByRuleDecorator to only set CREATED_BY_RULE on target Node when class is equals (#2573)
2022-06-26 13:53:02 +00:00
Tomas Votruba
80a3820ca7 Updated Rector to commit 10fd4c3498
10fd4c3498 [Php70] Refactor MultiDirnameRector by moving nestingLevel check to separate method (#2488)
2022-06-15 07:03:39 +00:00
Tomas Votruba
a262e411c8 Updated Rector to commit db6623f608
db6623f608 Update phpdoc-parser conflict config to <1.6 on scoped build (#2472)
2022-06-10 09:57:49 +00:00
Tomas Votruba
5953030010 Updated Rector to commit 56651d0190
56651d0190 use PHPStan 1.7.12, with new phpdoc-parser to fix endline issue
2022-06-09 12:53:21 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00