Commit Graph

3016 Commits

Author SHA1 Message Date
Tomas Votruba
a572e3f385 Updated Rector to commit 2e03f56d48
2e03f56d48 [CodingStyle] Fix static to dynamic override in static method (#1518)
2021-12-18 12:43:49 +00:00
Tomas Votruba
743ba4ecdb Updated Rector to commit 176431a6a9
176431a6a9 Add fixture with false doc to bool type (#1517)
2021-12-18 11:35:01 +00:00
Tomas Votruba
d358c43350 Updated Rector to commit 4e0a1ce694
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00
Tomas Votruba
2b045bf7d1 Updated Rector to commit 0c26b042ab
0c26b042ab [DowngradePhp74] Handle ArrowFunctionToAnonymousFunctionRector inside CallLike + preserve byRef (#1514)
2021-12-17 17:47:54 +00:00
Tomas Votruba
93a3fb0527 Updated Rector to commit db94f7a62c
db94f7a62c [Php80] Handle Alias is used as Attribute on AnnotationToAttributeRector (#1511)
2021-12-17 11:19:17 +00:00
Tomas Votruba
0bc44a07f1 Updated Rector to commit 4bac761fc8
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00
Tomas Votruba
11ea17584a Updated Rector to commit 6627ced2c5
6627ced2c5 fix ReturnTypeInferer interface rename
2021-12-15 22:11:09 +00:00
Tomas Votruba
c92197cf62 Updated Rector to commit 4264d5ec9b
4264d5ec9b Cleanup TypedPropertyRector resolver (#1509)
2021-12-15 22:10:06 +00:00
Tomas Votruba
fd80b6bdc2 Updated Rector to commit e0ba9a3527
e0ba9a3527 [DowngradePhp81] Handle New_ inside array on DowngradeNewInInitializerRector (#1508)
2021-12-15 19:55:35 +00:00
Tomas Votruba
c079f6ad1a Updated Rector to commit 00b9f8faa2
00b9f8faa2 Move DoctrineColumnPropertyTypeInferer rector-doctrine package (#1505)
2021-12-15 16:03:30 +00:00
Tomas Votruba
337e5f6ea3 Updated Rector to commit deb4fb5b5d
deb4fb5b5d [TypeDeclaration] Improve assign/constructor rules (#1499)
2021-12-15 14:50:00 +00:00
Tomas Votruba
41f64a3cb6 Updated Rector to commit 303c1b0c0f
303c1b0c0f [Privatization] Skip protected property used in parent class on PrivatizeFinalClassPropertyRector (#1501)
2021-12-15 08:51:25 +00:00
Tomas Votruba
0b00c0b487 Updated Rector to commit 3417ff434b
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +00:00
Tomas Votruba
bd91192913 Updated Rector to commit bfe8d995b7
bfe8d995b7 [TypeDeclaration] Decouple TypedPropertyFromAssignsRector (#1498)
2021-12-14 21:02:15 +00:00
Tomas Votruba
b54d1ce71e Updated Rector to commit 790889c4c7
790889c4c7 [TypedPropertyRector] Remove private property only, to keep other rules work separately (#1496)
2021-12-14 17:04:36 +00:00
Tomas Votruba
79317e0a0f Updated Rector to commit f6c3e95d7b
f6c3e95d7b [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
2021-12-14 15:31:59 +00:00
Tomas Votruba
a440c65f29 Updated Rector to commit 7cdd03ed77
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 c7638288f7
c7638288f7 Fixes docs (#1490)
2021-12-14 12:42:11 +00:00
Tomas Votruba
eeefa260aa Updated Rector to commit e1b44d02a8
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 c7638288f7
c7638288f7 Fixes docs (#1490)
2021-12-14 12:21:21 +00:00
Tomas Votruba
d0b4d2fb7e Updated Rector to commit 67d1b5f590
67d1b5f590 [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486)
2021-12-14 09:41:13 +00:00
Tomas Votruba
d33e363a75 Updated Rector to commit be53990e5d
be53990e5d [Php80] Handle abstract method on StringableForToStringRector (#1483)
2021-12-14 08:15:01 +00:00
Tomas Votruba
b2218b1dc3 Updated Rector to commit a7fe982fcb
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
db952265ef Updated Rector to commit 363908f477
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 4214801263
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 17:05:39 +00:00
Tomas Votruba
56d505f641 Updated Rector to commit 41caea7156
41caea7156 [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476)
2021-12-13 16:49:11 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 4214801263
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 16:47:47 +00:00
Tomas Votruba
a9f7d1401f Updated Rector to commit f5009faaf9
f5009faaf9 [DowngradePhp80] Add ArrowFunction support on DowngradeMixedTypeDeclarationRector (#1477)
2021-12-13 15:09:16 +00:00
Tomas Votruba
080b9b9b60 Updated Rector to commit d29aae07e4
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 2bde6b3262
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 70f4535cd3
70f4535cd3 [TypeDeclaration] Handle inner ClassMethod on ReturnTypeFromStrictTypedPropertyRector (#1470)
2021-12-12 07:12:02 +00:00
Tomas Votruba
b3d73e0955 Updated Rector to commit a9290c8911
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
ae65f09b36 Updated Rector to commit 6c96e01be6
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 86394aba2a
86394aba2a [TypeDeclaration] Handle inner Closure on ReturnTypeFromReturnNewRector (#1467)
2021-12-11 16:16:09 +00:00
Tomas Votruba
170b7cc43e Updated Rector to commit 7fbf6040a8
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 4bb7ad621e
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 fa92ec2c1e
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 f2e58a222f
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
4c32c34ab3 Updated Rector to commit 4681067be5
4681067be5 [DowngradePhp72] Allow empty config on DowngradeParameterTypeWideningRector (#1451)
2021-12-10 18:12:28 +00:00
Tomas Votruba
104a199a7c Updated Rector to commit 8d6eb87e99
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 b4fabbdeba
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 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
7b85159b91 Updated Rector to commit fae3f77647
fae3f77647 warn only about deprecated constants
2021-12-10 09:59:47 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
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 dcabd2dad1
dcabd2dad1 drepcate more configure constants (#1446)
2021-12-10 08:45:03 +00:00
Tomas Votruba
a774c0815a Updated Rector to commit 9f8b48003f
9f8b48003f [Php55] Use AllowEmptyConfigurableRectorInterface on StringClassNameToClassConstantRector (#1445)
2021-12-10 07:56:16 +00:00
Tomas Votruba
ce00c3f29a Updated Rector to commit eb76f4562c
eb76f4562c [8.2] Add a RemoveAllowDynamicPropertyAttribute rule (#1392)
2021-12-10 01:48:50 +00:00
Tomas Votruba
3e7cb6fda7 Updated Rector to commit 6012e41d76
6012e41d76 [8.2] make AddAllowDynamicPropertiesAttributeRector configurable (#1391)
2021-12-10 01:11:56 +00:00
Tomas Votruba
facf40a900 Updated Rector to commit eb76f4562c
eb76f4562c [8.2] Add a RemoveAllowDynamicPropertyAttribute rule (#1392)
2021-12-10 01:09:37 +00:00