352 Commits

Author SHA1 Message Date
Tomas Votruba
d60e53c3ca Updated Rector to commit 1f7170df9efc5c67107e7b9cd4b4c4e692c198c4
81b7411267 Fix access to optional array key when using  function 1f7170df9e Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba
300503afe6 Updated Rector to commit f42b3f91e27354411269caf3ce2636d90a2ba3aa
8d64aee223 Fix memory leak b5dce9edd7 Further improvement f42b3f91e2 Merge pull request #1643 from ondrejmirtes/fix-memory-leak
2022-01-07 00:57:38 +00:00
Tomas Votruba
88a06d884f Updated Rector to commit 840bd5e3e6af1fd5474ec8717c75c6b5400e1737
d8609d9225 [Parallel] Unsupported files are not skipped 840bd5e3e6 Merge pull request #1638 from gander/main
2022-01-05 11:30:27 +00:00
Tomas Votruba
eaa95768d6 Updated Rector to commit f900476469c411ad0ae25e1cb32637b392d72d22
f900476469 [Downgrade 7.0] Fix value calls that do not lex in PHP 5.6 (#1615)
2022-01-04 01:08:47 +00:00
Tomas Votruba
dd6ffa61b2 Updated Rector to commit 9baf531477df018156d0c12019c16f8bf638af74
9baf531477 Avoid clearing the cache while saving it on parallel (#1616)
2022-01-03 05:20:02 +00:00
Tomas Votruba
ffcf6171ac Updated Rector to commit 9c6a6b04228e3af56893d9c995459b37b879e802
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba
1a5260ef5d Updated Rector to commit b8a527c07e519d5d2b6d5a15396540d77e04e2d6
b8a527c07e DowngradeSelfTypeDeclarationRector: Fix example output (#1606)
2022-01-01 11:02:34 +00:00
Tomas Votruba
b1cba49930 Updated Rector to commit 311ffc6ec3270cef54b3e243cf042d247195b6ac
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00
Tomas Votruba
3110b1c6b7 Updated Rector to commit 18fbe1d0ded286436557c3ecc3e91cf553efb6c9
18fbe1d0de [Downgrade PHP 7.4] Add false to downgraded typed property (#1596)
2021-12-30 16:27:57 +00:00
Tomas Votruba
486b7bee9f Updated Rector to commit 068369e632408225fe89991c08485ceb07f89664
068369e632 fix: add failing test and fix for repeated numeric strings (#1591)
2021-12-30 08:15:26 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf901638052b401617e46734e4d4d2967fb6
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c579f405ed61704b215c87a417b97f5
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af511a5cb3b0296ee20e31d61f1ae02bea
68dde1af51 [TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576)
2021-12-27 11:31:14 +00:00
Tomas Votruba
12ae680f84 Updated Rector to commit 1ac835fca7733fa5743ccb0a165f88bc513391f1
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
4c463f51f8 Updated Rector to commit 09fa15238a6436f9160bc08b8a328c282d8f4d45
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001a4a5d01f6b51fcc196654193301d9b
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81fbb352f2e83e996efe91bda7f03308
8f8685af81 [Scoped] Update full_build.sh Local script to test locally to avoid error on php 7.1 and 7.2 (#1552)
2021-12-23 10:41:56 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543377e9e42bc8f997d185337e321fa9f
3f80cd0543 [Core] Refactor RectifiedAnalyzer: no longer need check PhpDocInfo->hasChanged() (#1545)
2021-12-22 11:07:14 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
176318716b Updated Rector to commit 45e7eea6904f9be902f6cdbdbdcd2f7bcac5d6c3
45e7eea690 [DowngradePhp80][DowngradePhp74] Skip already has method_exists check on DowngradeReflectionGetAttributesRector + DowngradeReflectionGetTypeRector (#1532)
2021-12-20 13:41:04 +00:00
Tomas Votruba
28d9975cea Updated Rector to commit daa44253f9b2f28c488d2b39d6f661a9356ff571
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:33:23 +00:00
Tomas Votruba
e888119375 Updated Rector to commit c4ffdb5d8e724c3a3142e912e481111240e01d82
c4ffdb5d8e [DeadCode] Handle parent:: call with assign when no parent on RemoveParentCallWithoutParentRector (#1531)
2021-12-20 12:15:10 +00:00
Tomas Votruba
84f68c601f Updated Rector to commit daa44253f9b2f28c488d2b39d6f661a9356ff571
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:13:23 +00:00
Tomas Votruba
9ca383a82e Updated Rector to commit 0cc56b0a0b1b1d18b185542db21039a7d2f30d69
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba
d358c43350 Updated Rector to commit 4e0a1ce694e9e6d94a4db5add30c68b0629512eb
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00
Tomas Votruba
0bc44a07f1 Updated Rector to commit 4bac761fc8df0925ca23435d1070f0be60e1be49
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094e5833607587f441558652ab0581c55
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00
Tomas Votruba
0b00c0b487 Updated Rector to commit 3417ff434b02f620c0c953c67846c8c7c63ae0b6
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +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
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
b3d73e0955 Updated Rector to commit a9290c89116bba7f0d19b2897da54dff4f5d6bc0
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +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
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
41bb3c4472 Updated Rector to commit f409d3d5286aedbc4b580515d451b655ac0df774
f409d3d528 the loader interface is unsafe to downgradeR
2021-12-10 11:01:04 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +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
8c4aedacef Updated Rector to commit fa31841d4da7d9fd155acc7310873c799cd0d560
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +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
2b36ac381c Updated Rector to commit bd75e1abc44938a9cd30e2abdb133414203da59e
bd75e1abc4 [Scoped] Skip symfony console Event and EventListener and exclude in parallel-lint (#1439)
2021-12-09 13:58:05 +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
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
49b69d3b30 Updated Rector to commit 0dd833b1e29ba665bbb3acad85a6359f701f2e18
0dd833b1e2 [patches] move one directory up
2021-12-07 13:05:25 +00:00
Tomas Votruba
66e78ee07a Updated Rector to commit 424d2f145f9f788810ef40306feba9ca08c85d5f
424d2f145f aboslute path is needed for patches
2021-12-07 12:57:46 +00:00
Tomas Votruba
e7390103d5 Updated Rector to commit 6e5094acb9638620aabfce9dd48d159edd01bcf1
6e5094acb9 add local patches
2021-12-07 12:55:09 +00:00
Tomas Votruba
202eb0581b Updated Rector to commit a53841cd6daf9f0c04f98fff989f34e45486c0e4
a53841cd6d Update patches to external config (#1357)
2021-12-07 12:38:28 +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
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
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
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