3149 Commits

Author SHA1 Message Date
Tomas Votruba
a440c65f29 Updated Rector to commit 7cdd03ed7733e2d8d12d68e5750a89b7f0dda829
7cdd03ed77 [PHP 8.1] Fix IntersectionTypesRector for non-object types (#1495)
2021-12-14 14:39:36 +00:00
Tomas Votruba
8007b9f521 Updated Rector to commit c7638288f7461f46c57307a22b9454c46cfa3cbc
c7638288f7 Fixes docs (#1490)
2021-12-14 12:42:11 +00:00
Tomas Votruba
eeefa260aa Updated Rector to commit e1b44d02a8b2a0c05f91b4af0f59ba5abbfda044
e1b44d02a8 [Scoped] Fix build scoped on unused bin/generate-changelog.php bin/rector bin/rector.php bin/validate-phpstan-version.php files in scoped build (#1491)
2021-12-14 12:22:33 +00:00
Tomas Votruba
f48677501c Updated Rector to commit c7638288f7461f46c57307a22b9454c46cfa3cbc
c7638288f7 Fixes docs (#1490)
2021-12-14 12:21:21 +00:00
Tomas Votruba
d0b4d2fb7e Updated Rector to commit 67d1b5f59083cc238e3b011027058ff12afb3574
67d1b5f590 [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486)
2021-12-14 09:41:13 +00:00
Tomas Votruba
d33e363a75 Updated Rector to commit be53990e5ded97da0ed922b538aa0dd7c28dd100
be53990e5d [Php80] Handle abstract method on StringableForToStringRector (#1483)
2021-12-14 08:15:01 +00:00
Tomas Votruba
b2218b1dc3 Updated Rector to commit a7fe982fcbe5901a7e072ec3911cdd201536eb01
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
db952265ef Updated Rector to commit 363908f47774ef1f9d003d0946ea5f3439c8b44b
363908f477 Fix phpstan configured parser to treat project with its code version (#1480)
2021-12-13 22:30:47 +00:00
Tomas Votruba
4b35465629 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 17:05:39 +00:00
Tomas Votruba
56d505f641 Updated Rector to commit 41caea7156b1b431ab4b260006b67da7825f5d02
41caea7156 [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476)
2021-12-13 16:49:11 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 16:47:47 +00:00
Tomas Votruba
a9f7d1401f Updated Rector to commit f5009faaf9a389ab425a7404b36ffdb290691cc4
f5009faaf9 [DowngradePhp80] Add ArrowFunction support on DowngradeMixedTypeDeclarationRector (#1477)
2021-12-13 15:09:16 +00:00
Tomas Votruba
080b9b9b60 Updated Rector to commit d29aae07e40b8d640a6c8b5c0edbad3026b1fb52
d29aae07e4 [Scoped] Fix scoped build for casted array_key_last (#1475)
2021-12-13 12:42:56 +00:00
Tomas Votruba
c2d4952c88 Updated Rector to commit 2bde6b32625ce9e74d59d3fcc2eacfe56271dda4
2bde6b3262 [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474)
2021-12-13 12:09:12 +00:00
Tomas Votruba
1847abc218 Updated Rector to commit 70f4535cd336702571e5af138d0ee5ca38d8fff6
70f4535cd3 [TypeDeclaration] Handle inner ClassMethod on ReturnTypeFromStrictTypedPropertyRector (#1470)
2021-12-12 07:12:02 +00:00
Tomas Votruba
b3d73e0955 Updated Rector to commit a9290c89116bba7f0d19b2897da54dff4f5d6bc0
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
ae65f09b36 Updated Rector to commit 6c96e01be65b08b6ab98693378256cef35b9dd86
6c96e01be6 [Php74] Do not remove Array Shape docblock on TypedPropertyRector (#1466)
2021-12-11 16:17:33 +00:00
Tomas Votruba
82cb57bbf9 Updated Rector to commit 86394aba2afe3fbc6baa92d392e14e5dd1caeda1
86394aba2a [TypeDeclaration] Handle inner Closure on ReturnTypeFromReturnNewRector (#1467)
2021-12-11 16:16:09 +00:00
Tomas Votruba
170b7cc43e Updated Rector to commit 7fbf6040a855407b8b112b0cda63504b305597ef
7fbf6040a8 [Php80] Handle parent with typed param on AddParamBasedOnParentClassMethodRector (#1455)
2021-12-11 14:00:56 +00:00
Tomas Votruba
67933ca10a Updated Rector to commit 4bb7ad621ea1d82b10a9e21b8fdfb0e414e58798
4bb7ad621e [CodeQuality] Handle inner function return exactly DateTime on DateTimeToDateTimeInterfaceRector (#1463)
2021-12-11 12:10:00 +00:00
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