2979 Commits

Author SHA1 Message Date
Tomas Votruba
7d8cef247a Updated Rector to commit fa92ec2c1ed227078f57ac3583fd06a7704a92c9
fa92ec2c1e [Php80] Add null default value when child more params no default value AddParamBasedOnParentClassMethodRector (#1454)
2021-12-11 12:08:14 +00:00
Tomas Votruba
a893773fb3 Updated Rector to commit f2e58a222f1b2aa8cb281a1eac6c6cbe71380099
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
4c32c34ab3 Updated Rector to commit 4681067be50a0bbffbb156b39ce2555912b4120d
4681067be5 [DowngradePhp72] Allow empty config on DowngradeParameterTypeWideningRector (#1451)
2021-12-10 18:12:28 +00:00
Tomas Votruba
104a199a7c Updated Rector to commit 8d6eb87e9950a2b77b3736d36220caf01ccd5840
8d6eb87e99 [Php80] Handle param with default value on AddParamBasedOnParentClassMethodRector (#1452)
2021-12-10 17:52:39 +00:00
Tomas Votruba
408e36b706 Updated Rector to commit b4fabbdebade5440ab2cc505426cd1d52cb446fc
b4fabbdeba [Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead (#1449)
2021-12-10 14:05:16 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
7b85159b91 Updated Rector to commit fae3f77647f40495b6a9e53bbb004a6711e73863
fae3f77647 warn only about deprecated constants
2021-12-10 09:59:47 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d8ab4c9f051aff92ae20701436cd0fc
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
1fcfcc2a92 Updated Rector to commit dcabd2dad1f6b8e2731cfa873e8d15d8612e4a80
dcabd2dad1 drepcate more configure constants (#1446)
2021-12-10 08:45:03 +00:00
Tomas Votruba
a774c0815a Updated Rector to commit 9f8b48003f85f9cd873c0c674808955005e74f55
9f8b48003f [Php55] Use AllowEmptyConfigurableRectorInterface on StringClassNameToClassConstantRector (#1445)
2021-12-10 07:56:16 +00:00
Tomas Votruba
ce00c3f29a Updated Rector to commit eb76f4562c573ac067c46ab32d4429696b3ab66a
eb76f4562c [8.2] Add a RemoveAllowDynamicPropertyAttribute rule (#1392)
2021-12-10 01:48:50 +00:00
Tomas Votruba
3e7cb6fda7 Updated Rector to commit 6012e41d76e9a8640dca8cf5224efb4ac2a0ff40
6012e41d76 [8.2] make AddAllowDynamicPropertiesAttributeRector configurable (#1391)
2021-12-10 01:11:56 +00:00
Tomas Votruba
facf40a900 Updated Rector to commit eb76f4562c573ac067c46ab32d4429696b3ab66a
eb76f4562c [8.2] Add a RemoveAllowDynamicPropertyAttribute rule (#1392)
2021-12-10 01:09:37 +00:00
Tomas Votruba
8c4aedacef Updated Rector to commit fa31841d4da7d9fd155acc7310873c799cd0d560
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
a65233ea4f Updated Rector to commit 0c695e2e0589c17bb607ec7c5fe0c49740ef5317
0c695e2e05 [Downgrade PHP 8.0] Add DowngradeDereferenceableOperationRector (#1442)
2021-12-09 17:01:18 +00:00
Tomas Votruba
b7d9e5b849 Updated Rector to commit 0c2d1aec3ee5d14f83b48a70ddfe3f2714980449
0c2d1aec3e Add SimpleStaticType for return type completion (#1441)
2021-12-09 16:02:40 +00:00
Tomas Votruba
3f3f25f123 Updated Rector to commit 7e13d0c639d06c96acbf47c4108ed33bed2dde57
7e13d0c639 [Transform] Move ReservedFnFunctionRector from Php74 to Transform namespace (#1423)
2021-12-09 14:39:40 +00:00
Tomas Votruba
b6c5b4fd3c Updated Rector to commit c445b5a13ab9a9966f32bc4dc09a4026a57b5a8e
c445b5a13a [Php80] Add AddParamBasedOnParentClassMethodRector (#1431)
2021-12-09 14:35:22 +00:00
Tomas Votruba
e92067fbdf Updated Rector to commit c26d6cc868e68a65ef0477ada6734ee65ecf6830
c26d6cc868 [DowngradePhp80] Add DowngradeRecursiveDirectoryIteratorHasChildrenRector (#1440)
2021-12-09 14:27:07 +00:00
Tomas Votruba
6472f7f4fb Updated Rector to commit fc383cc0114c4ebc5ffd2ec6c28729a4d5c02173
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba
e20b5e5d47 Updated Rector to commit 2800a83dad2741b98977bf89b8f811e840522906
2800a83dad [DX] Decouple AssignVariableNameResolver (#1427)
2021-12-08 15:55:52 +00:00
Tomas Votruba
495d9bbdc8 Updated Rector to commit ee3ca5aeedaeade194bd1bdf4b4c0e2612733cda
ee3ca5aeed [DowngradePhp80] Fix DowngradeThrowExprRector on property fetch to use not isset (#1426)
2021-12-08 10:30:29 +00:00
Tomas Votruba
4a64f24f19 Updated Rector to commit 7053e9acd1aacd2aeb9e936d67210095251a7af8
7053e9acd1 [DX] Replace deprecated danielstjules/stringy with Symfony\String (#1425)
2021-12-08 09:09:46 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f04e19f558bf0875a808e074bc56e03
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
443cb4a33f Updated Rector to commit f67387a59bb191a761c99739ad16c0302a0ad66e
f67387a59b [DX] Less addNodeAfterNode() methods (#1421)
2021-12-07 23:00:58 +00:00
Tomas Votruba
3c3c64edbd Updated Rector to commit 9d8e5c9011aa75624b22461af9e13f57ede43af2
9d8e5c9011 [CodingStyle] Remove UseMessageVariableForSprintfInSymfonyStyleRector as local custom rule (#1419)
2021-12-07 22:31:51 +00:00
Tomas Votruba
0b5cd2750a Updated Rector to commit 1b502254d98adc026690b7fb2fcc3652235e9d12
1b502254d9 [DowngradePhp80] Add array dim fetch case to DowngradeThrowExprRector (#1417)
2021-12-07 21:01:33 +00:00
Tomas Votruba
0c19dc8049 Updated Rector to commit 327144efdf82aac5249e20e114bcf5c69f0dd4c7
327144efdf [DowngradePhp80] Add return property downgrade case (#1415)
2021-12-07 19:04:47 +00:00
Tomas Votruba
616997a2f0 Updated Rector to commit fb58a4d54a90cb95d479358bbbdb490ba792d87b
fb58a4d54a [vendor-patches] Add back patches/danielstjules-stringy-src-stringy-php.patch to patches directory (#1411)
2021-12-07 03:18:07 +00:00
Tomas Votruba
f3d9b9c31c Updated Rector to commit 5493b6dc131a773e4ffe6c7fc3cf5e89f661e87e
5493b6dc13 [DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410)
2021-12-06 21:12:03 +00:00
Tomas Votruba
f983f475e6 Updated Rector to commit 9beed78815dacf76418e7823fbfe4e39877a35d4
9beed78815 [Core] Add BetterNodeFinder::hasInstancesOfInFunctionLikeScoped() to handle only true when has same parent FunctionLike (#1405)
2021-12-06 19:50:11 +00:00
Tomas Votruba
8eada0bd4b Updated Rector to commit 079b20c8947e3ffe85dab6ed53eff9d3f7910cdf
079b20c894 [PHP 7.4] Skip dependency on native ReflectionProperty->getType() (#1409)
2021-12-06 19:42:49 +00:00
Tomas Votruba
d33418d841 Updated Rector to commit a68528204268680699cf9d60a82904c7532215db
a685282042 [DowngradePhp80] Add getAttributes() reflection downgrade (#1406)
2021-12-06 13:10:17 +00:00
Tomas Votruba
2aabd11a01 Updated Rector to commit b6b0e646ca4dd8e61ba15b71216d3695441e4d46
b6b0e646ca [TypeDeclaration][Php 8.1] Do not skip return on parent anonymous class method (#1403)
2021-12-06 12:09:21 +00:00
Tomas Votruba
06547fe6bc Updated Rector to commit 9ca73202e86519bf216d02ebbb05dc7baadd046e
9ca73202e8 [ReturnTypeDeclaration][Php 8.1] Do not skip yield parent anonymous class method (#1402)
2021-12-06 11:11:51 +00:00
Tomas Votruba
5aa845f3c2 Updated Rector to commit c6582a8666b4a63629abb0c23a3550d8e12c0682
c6582a8666 [TypeDeclaration][Php 8.1] Do not change parent anonymous class method return type to never on ReturnNeverTypeRector (#1400)
2021-12-06 08:48:05 +00:00
Tomas Votruba
f63516d9b4 Updated Rector to commit 27a78d96ede3ec222e81ea0877e82e06b95e3c87
27a78d96ed [Cleanup] merge duplicated SplitStringClassConstantToClassConstFetchRector to UseClassKeywordForClassNameResolutionRector (#1401)
2021-12-06 07:48:16 +00:00
Tomas Votruba
d66e622e1b Updated Rector to commit dda87fc6d2b8632967f4907bab94918c18822807
dda87fc6d2 [VendorLocker] Allow both in vendor for child and parent on ParentClassMethodTypeOverrideGuard (#1399)
2021-12-06 06:57:16 +00:00
Tomas Votruba
ea32bebe15 Updated Rector to commit 29562a6545a99f893416d5ffed3767d30f41f1a6
29562a6545 [CodingStyle] Remove custom code rule ManualJsonStringToJsonEncodeArrayRector, not much generic (#1398)
2021-12-05 21:47:27 +00:00
Tomas Votruba
4b0732e6b8 Updated Rector to commit f99d8792f6633450b093dde042fd4e3f12879168
f99d8792f6 [Php71] Skip in if is_array() stmt on CountOnNullRector (#1387)
2021-12-05 21:23:07 +00:00
Tomas Votruba
e0bea39594 Updated Rector to commit 5bf6e17af006445dced02834ae312b6be6d37248
5bf6e17af0 Revert [DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395) (#1397)
2021-12-05 17:32:40 +00:00
Tomas Votruba
d7a85fe86b Updated Rector to commit 96cf57b15bbc4e3b9d5f2f4b58820460c7de448e
96cf57b15b [DowngradePhp81] Follow parent return type on DowngradeNeverTypeDeclarationRector (#1395)
2021-12-05 13:55:36 +00:00
Tomas Votruba
e6aa910018 Updated Rector to commit 2fbc1d4742f67806c06d27d427b6cbcaa6a5be0f
2fbc1d4742 [automated] Re-Generate preload.php (#1393)
2021-12-05 00:35:00 +00:00
Tomas Votruba
49a3737430 Updated Rector to commit 41413f358863928c1275d4603353f82f223adaf5
41413f3588 [Parallel] Refactor file processor to return arrays of data to allow json (#1378)
2021-12-04 19:10:58 +00:00
Tomas Votruba
5059b6bbbe Updated Rector to commit b7ef6368f3f45670019f1236ea567e634830b379
b7ef6368f3 [Scoped] Add missing utils to downgrade paths (#1389)
2021-12-04 16:35:47 +00:00
Tomas Votruba
3834beec1d Updated Rector to commit 93ddb531c052f412b516a5b41124343df02764ae
93ddb531c0 [Php71] Skip Type from @param doc on BinaryOpBetweenNumberAndStringRector (#1386)
2021-12-04 13:03:42 +00:00
Tomas Votruba
91d829557e Updated Rector to commit 00af33a5d410158e2892b7a3894cc036c306f2b7
00af33a5d4 [Rectify] [Php81] Enable Rectify on ArraySpreadInsteadOfArrayMergeRector on php 8.1 (#1383)
2021-12-04 13:02:13 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13dcf9767f54e4202b509020fed338645
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
4a5f1c82b3 Updated Rector to commit 8547bdba9dd5bf24ce08df2f7891e120ad2aad4f
8547bdba9d [Php81] Skip ReadOnlyPropertyRector on Entity id (#1379)
2021-12-04 07:57:42 +00:00
Tomas Votruba
1f00ca7740 Updated Rector to commit 505986d21807ab6eb81ffcb3c63997357c3eb854
505986d218 [Php81] Add Enum_ support when running on PHP 8.1 on AstResolver+ClassLikeAstResolver+RemoveEmptyMethodCallRector (#1373)
2021-12-03 10:14:42 +00:00