4417 Commits

Author SHA1 Message Date
Tomas Votruba
0ead874fad Updated Rector to commit 75c06eab69f50725add0c315bc6dfaf4a7b2f5c5
75c06eab69 Fix match static method name in annotation (#446)
2021-07-19 05:06:26 +00:00
Tomas Votruba
3b70eb89d7 Updated Rector to commit b76df70f2fee3206737d2fa3803fa7b5ca69fda6
b76df70f2f [Core] Refactor RectorError ValueObject with inject with SmartFileInfo (#453)
2021-07-18 11:02:23 +00:00
Tomas Votruba
d77b300a95 Updated Rector to commit 2fc18bd2c0f1a0f5a3183e9115abd597e87f2241
2fc18bd2c0 [Rectify] Manual twice run rector against rules directory (#448)
2021-07-18 02:11:18 +00:00
Tomas Votruba
e3f781999f Updated Rector to commit 2a28758894a0a5668f6d369714c5d731737ec6fd
2a28758894 [Core] Fix --no-progress-bar option not applied (#447)
2021-07-17 03:01:09 +00:00
Tomas Votruba
e71a1c12e1 Updated Rector to commit b001e388ccfb37f8af1f4873c63212a0155f642a
b001e388cc [TypeDeclaration] Skip ReturnTypeFromStrictTypedCallRector on possible no return (#441)
2021-07-16 16:43:25 +00:00
Tomas Votruba
cc15e42d73 Updated Rector to commit a0f2ad97896e7b0afc830e0f51c89679948dd2be
a0f2ad9789 [Privatization] Skip ChangeGlobalVariablesToPropertiesRector on read only global variable (#442)
2021-07-16 09:16:38 +00:00
Tomas Votruba
816016aac7 Updated Rector to commit 294bea2d1850fb65aca43119b7692932846f2d86
294bea2d18 [FileProcessor] Run untill the file is fixed completelly (#432)
2021-07-15 03:40:51 +00:00
Tomas Votruba
68e641029b Updated Rector to commit 4f2d2d12ddfc2cebe4511c7de381bfb861afdc4a
4f2d2d12dd [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on array param has default null (#433)
2021-07-14 07:23:54 +00:00
Tomas Votruba
adc6b8148a Updated Rector to commit f7eeebaa7bdb96a6bc7311b1fa4a4e8a19789b35
f7eeebaa7b [DeadCode] Fix non-null type check on RemoveUnusedNonEmptyArrayBeforeForeachRector (#430)
2021-07-13 05:50:47 +00:00
Tomas Votruba
55c47b9663 Updated Rector to commit d08a87f692fcea45633084a12889324a19da49d8
d08a87f692 added promoted property test for annotation to attribute rule (#425)
2021-07-12 08:28:11 +00:00
Tomas Votruba
f3645ab6a9 Updated Rector to commit fb9ad83c32770022a3816ee06c88d92cd84dc322
fb9ad83c32 [CodeQuality] Skip InlineIfToExplicitIfRector on constant definition (#422)
2021-07-11 15:30:37 +00:00
Tomas Votruba
75cf1ea440 Updated Rector to commit 15e12b69cddb7fb8be78a6f7ef611bd5e878db55
15e12b69cd [PHP 8.0] Fix quotes in attribute multiline text (#417)
2021-07-10 13:57:04 +00:00
Tomas Votruba
cf13295052 Updated Rector to commit 41bf955f1778642ae6d756b383c611ba8c6c47d0
41bf955f17 [PHP 8.0] Include single quote contenxt (#415)
2021-07-10 12:53:06 +00:00
Tomas Votruba
54dcc7b361 Updated Rector to commit a49c8612af4d99e6ab0b41db60d3829c81110b54
a49c8612af [Downgrade PHP 8.0] Fix DowngradeNullsafeToTernaryOperatorRector for trait (#412)
2021-07-10 00:43:27 +00:00
Tomas Votruba
8883574049 Updated Rector to commit 6f1f047087a496a41745c1ea994273e3bc8dcdb4
6f1f047087 add RenameParamValueObjectInterface to trusted downgrade widening types
2021-07-09 23:00:32 +00:00
Tomas Votruba
34e62d7fc4 Updated Rector to commit c1d18043fe96e67a0ce4676c9a1eea7e54ae1a91
c1d18043fe Avoid attr groups override (#408)
2021-07-08 16:33:18 +00:00
Tomas Votruba
4e9b6ff030 Updated Rector to commit 0293296974e49555d5f6f28d65d0df704f5d6706
0293296974 extract UseImportNameMatcher (#407)
2021-07-08 15:57:28 +00:00
Tomas Votruba
4f5c3f4a02 Updated Rector to commit 0c709dfac727d7ea9b8d121a20daec17ebc0b1cb
0c709dfac7 Refactor node removing to phpdoc node traverser (#405)
2021-07-08 15:36:45 +00:00
Tomas Votruba
c3d5e6fe7b Updated Rector to commit e0660247021b4a6030a9786510259dbcee1c7564
e066024702 [PHP 8.0] Add annotation removal in case of nested (#403)
2021-07-08 12:36:20 +00:00
Tomas Votruba
207c620c29 Updated Rector to commit 311a96fbf8a6f71faee4620db786669c76bbf015
311a96fbf8 bump php-parser to 4.11, phpstan to 0.12.91 (#402)
2021-07-08 00:06:13 +00:00
Tomas Votruba
32aea2aa25 Updated Rector to commit bf37d5f0ee86429df8b140f76fb0ab2f728972e1
bf37d5f0ee [DX] Add complemetary marker interface to warn about no registered rules (#400)
2021-07-07 21:35:23 +00:00
Tomas Votruba
09e84aa431 Updated Rector to commit 20153a915bbbbd665084f44f725a10fc8c6b778f
20153a915b [TypeDeclaration] Skip mixed union return on ReturnTypeDeclarationRector (#393)
2021-07-07 00:20:29 +00:00
Tomas Votruba
927967a6ab Updated Rector to commit ba9579a262d8ad7d7412ae30b9b5e485c24d8365
ba9579a262 [Downgrade 7.2] Make DowngradeParameterTypeWideningRector skip autowired methods (#392)
2021-07-06 13:09:53 +00:00
Tomas Votruba
3b54fa1f26 Updated Rector to commit 292e82e117e985008c320fbf2bf4736ebaf419c6
292e82e117 Fix ArrayCallableMethodMatcher to accept only strings (#391)
2021-07-06 09:46:39 +00:00
Tomas Votruba
a28dc20b3d Updated Rector to commit bce3b96be1c547cb4dcb22bd31837cd0cfc3a852
bce3b96be1 add source locator
2021-07-06 09:06:11 +00:00
Tomas Votruba
ae0efb17e4 Updated Rector to commit d3c949f5a9d92a0a89b468dbdf8f8a363ef64284
d3c949f5a9 add node visitor contract to skip
2021-07-06 08:49:56 +00:00
Tomas Votruba
8a32b5f563 Updated Rector to commit 150da023db4a54a72f1a8225dba52754c5295cf3
150da023db include standalone traits in downgrade too
2021-07-06 08:19:07 +00:00
Tomas Votruba
712ba426cb Updated Rector to commit c002efe1d9c1fe206c03f745047e6ce6248e1b83
c002efe1d9 skip self type
2021-07-05 23:20:51 +00:00
Tomas Votruba
b7686ac9ad Updated Rector to commit 97ca45aadeb4d05cb23101b0f7b12f6a7befe97c
97ca45aade skip private method
2021-07-05 23:06:30 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
121ea7f23d Updated Rector to commit 48784457eb2aa04d5dfecb191c7bd20cc315a578
48784457eb Fix doctrine inflector bug downgrade (#388)
2021-07-05 15:06:41 +00:00
Tomas Votruba
95fe045d30 Updated Rector to commit 0a616c462d741fb581cf24f25a1bc1ff60668178
0a616c462d Remove unused ClassLikeParentResolver (#385)
2021-07-05 10:54:22 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a1d327542ef2326a84b71554856b9ef
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
bb3e86de23 Updated Rector to commit 904a5a7a1c8dd041524cb51ec3a689ad4cbef436
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
1f8149a055 Updated Rector to commit a9b1bbba885aa28167e65e5a46063959cf6449a3
a9b1bbba88 [PHP 8.0] Make Downgrade widening union depend on ClassMethod, the narrow scope (#375)
2021-07-04 18:27:51 +00:00
Tomas Votruba
4333c09758 Updated Rector to commit dfbbb02dec1ee271ee4da600a93a430178d1f9d2
dfbbb02dec [PHP 8.0] Fix DowngradeNamedArgumentRector named arguments (#373)
2021-07-04 13:13:54 +00:00
Tomas Votruba
ec097d0fda Updated Rector to commit 9907e913af6ed37ec8b00273caf91a29a02263ad
9907e913af bump to fixed ECS
2021-07-03 10:57:19 +00:00
Tomas Votruba
e3c7d5c703 Updated Rector to commit 2a0cae550788d85e58b1b603899c121e5df519b8
2a0cae5507 Make progress bar reflect number of processed files + process file by file in series (#362)
2021-07-02 20:55:14 +00:00
Tomas Votruba
5f58406472 Updated Rector to commit ecfaf2147c1cc48f262b0d485d78c9a46fb70869
ecfaf2147c [CodingStyle] Handle Change Exception variable usage after try catch on CatchExceptionNameMatchingTypeRector (#360)
2021-07-02 10:39:22 +00:00
Tomas Votruba
79df1ed831 Updated Rector to commit 6238705e938a643cb84e0b4275cb682d26307975
6238705e93 mics
2021-07-02 00:08:09 +00:00
Tomas Votruba
834b7561a3 Updated Rector to commit 26d09da027e267138fb3a56a45153a5b17e33457
26d09da027 use traverser to remove node (#358)
2021-07-01 23:23:13 +00:00
Tomas Votruba
7f55328e3b Updated Rector to commit 3966aa0770f0ad31b990ddb1c4cd9c12a0d14ae3
3966aa0770 Improve PhpDocNodeTraverser (#356)
2021-07-01 16:34:59 +00:00
Tomas Votruba
95050e7bf5 Updated Rector to commit 7c88f7c814a9731b01e6ac1896daa981c50890de
7c88f7c814 Re-use PhpDocNodeByTypeFinder (#353)
2021-07-01 14:46:27 +00:00
Tomas Votruba
fd5b91388f Updated Rector to commit 19934737d81b9d56a95c3cdd0ed467439a75c60c
19934737d8 Try external PhpDocNodeByTypeFinder (#352)
2021-07-01 14:10:40 +00:00
Tomas Votruba
e4531b05de Updated Rector to commit be037722bb7d87070d40f08af223a4f38d28c541
be037722bb Allow DoctrineTagValueNode values to be processed by traverser (#350)
2021-07-01 13:35:57 +00:00
Tomas Votruba
b1fd7a84e4 Updated Rector to commit 3508fc545bc675b3898422ca12e88e14428cde1f
3508fc545b Keep original Doctrine annotation class name (#349)
2021-07-01 13:22:55 +00:00
Tomas Votruba
05aceb8871 Updated Rector to commit 37d04ea8ea5e192aa2a2a940b9d34e2af4600c38
37d04ea8ea Making use of PhpDocNodeTraverser (#348)
2021-07-01 13:06:29 +00:00
Tomas Votruba
1666838b21 Updated Rector to commit 9575dd2231f38d6dd04606e53c51919527c9333c
9575dd2231 [CodingStyle] Skip indirect version number on VersionCompareFuncCallToConstantRector (#344)
2021-07-01 08:50:15 +00:00
Tomas Votruba
7f424087aa Updated Rector to commit 735327d5cb9e3c9979ff6967f8342d710c4e3c26
735327d5cb Improve suffix match (#343)
2021-06-30 23:33:47 +00:00
Tomas Votruba
13bedd1bf5 Updated Rector to commit 8733e7335f381c3b426f01d0fa3f24f18522cf8e
8733e7335f [PHP 8.0] Add support for nested annotation to attributes (#342)
2021-06-30 21:52:31 +00:00