Commit Graph

883 Commits

Author SHA1 Message Date
Tomas Votruba 8724ff4d63 Updated Rector to commit 392d81f7b01253711f7aa48344673b5f01b1c325
392d81f7b0 [DeadCode] Remove RemoveDuplicatedIfReturnRector as can lead to unexpeced consequences, better use static analysis and contextual handling (#3926)
2023-05-22 13:11:03 +00:00
Tomas Votruba 7eb9eec801 Updated Rector to commit 6c3f2cdf953587cdf0945c7fb6c05fd0083c25fc
6c3f2cdf95 [DX] Deprecate parent node attribute, allow return of NodeTraverser::* in refactor() method (#3922)
2023-05-22 10:21:31 +00:00
Tomas Votruba ab18d95c87 Updated Rector to commit e1f19806fb24f507172f8e8b17ebd51c159b3fe6
e1f19806fb Remove NEXT_NODE from SimplifyIfReturnBoolRector (#3915)
2023-05-21 15:34:58 +00:00
Tomas Votruba 3f89b13d0e Updated Rector to commit 16f3c961ead671df489ff9217d61cdfe40e09ec0
16f3c961ea [CodeQuality] Add typed property support to IssetOnPropertyObjectToPropertyExistsRector (#3876)
2023-05-17 08:38:16 +00:00
Tomas Votruba 0b0fda9095 Updated Rector to commit 99bdd27c00f0a27620f75eeeedc36bb3d505456b
99bdd27c00 [CodeQuality] Remove next attribute usage on SimplifyIfNullableReturnRector (#3866)
2023-05-16 05:46:08 +00:00
Tomas Votruba 8dce3beed1 Updated Rector to commit c4bab4a7778e11715d720391c5daaa7a89e975ce
c4bab4a777 Remove next from ExplicitBoolCompareRector (#3857)
2023-05-15 12:33:28 +00:00
Tomas Votruba 89439d883f Updated Rector to commit 95b1789a871adeb6b6555949d3cf32b0b4060613
95b1789a87 Drop AttributeKey::SCOPE in ArrayCallableMethodMatcher (#3835)
2023-05-15 08:51:25 +00:00
Tomas Votruba 18b46b9b72 Updated Rector to commit 656836093ea0abd96860af062fdf6f67afe1f504
656836093e [CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations (#3848)
2023-05-14 15:57:29 +00:00
Tomas Votruba 33a05b3e73 Updated Rector to commit 07a7876d8a4c93097c966730acbc4aeb7d9e1765
07a7876d8a [CodingStyle] Remove OrderAttributesRector, as rather coding standard and does not have specific PSR example (#3838)
2023-05-14 13:22:44 +00:00
Tomas Votruba f613b7a98a Updated Rector to commit 499fdbc3af1779929444c170a778678e28be957a
499fdbc3af Drop AttributeKey::SCOPE in various classes (#3836)
2023-05-14 10:01:33 +00:00
Tomas Votruba 722cf05380 Updated Rector to commit 2406dc813a3eba3e25522fcb69af879fbc4a60cd
2406dc813a [Traverser] Add ByRefReturnNodeVisitor (#3826)
2023-05-13 18:07:42 +00:00
Tomas Votruba da149bb5b0 Updated Rector to commit 645071a650fc50d7e084378facaebcc868a52ba1
645071a650 Add test fixture for sprintf number + make use of getArgs() to get always an Arg type (#3822)
2023-05-13 17:20:02 +00:00
Tomas Votruba 26bbf728d6 Updated Rector to commit d8da061308902cf4ef7a30963d5c9f32b6b9ec02
d8da061308 Make SimplifyIfNullableReturnRector + ChangeNestedIfsToEarlyReturnRector work without next/prev (#3794)
2023-05-11 11:52:57 +00:00
Tomas Votruba 8afa5f961e Updated Rector to commit 074b1781b3fa7c7e23470c57ab85c0bd5fe0bfd2
074b1781b3 Remove RemoveUnusedVariableAssignRector, as could be breaking code in order of excution and hard to do reliable (#3793)
2023-05-11 07:56:32 +00:00
Tomas Votruba 2cb797e1b1 Updated Rector to commit 11b278ca27f23ba4a2c55df877664fc23413a81d
11b278ca27 [CodeQuality] Remove SimplifyUselessLastVariableAssignRector as overly complex and should be handled individually (#3784)
2023-05-10 07:10:45 +00:00
Tomas Votruba 2cad3fa15d Updated Rector to commit 76da9489fe16c5854d5fed29b81197940025e975
76da9489fe Make ConsecutiveNullCompareReturnsToNullCoalesceQueueRector use of StmtsAwareInterface (#3783)
2023-05-10 06:07:59 +00:00
Tomas Votruba 6da6d1d775 Updated Rector to commit 89bc4d80f5dd4c7e81a616c8b58a921a1470a47b
89bc4d80f5 Make use of StmtsAwareInterface (#3781)
2023-05-10 05:18:05 +00:00
Tomas Votruba 8af1a1213f Updated Rector to commit 1e052f588331717f87a8d610db6eb7f89f8690d3
1e052f5883 [cleanup] Make use of getArgs(), remove ignored from phpstan (#3771)
2023-05-08 12:54:32 +00:00
Tomas Votruba af500df8f4 Updated Rector to commit f6c4edcd0c3feaad4abc075bae39474ac34bb82d
f6c4edcd0c [CodeQuality] Add CleanupUnneededNullsafeOperatorRector (#3767)
2023-05-08 10:34:10 +00:00
Tomas Votruba 39697489d4 Updated Rector to commit 5a32ed95b75b179e77c14a83a65f2eff1f1474b8
5a32ed95b7 [cleanup] Make use of getArgs(), remove ignores from phpstan.neon (#3770)
2023-05-08 10:34:06 +00:00
Tomas Votruba 930a1a2ba2 Updated Rector to commit 2d583eba1512d3b51e79503eba46466a32cb7374
2d583eba15 [cleanup] Make use of getArgs() (#3769)
2023-05-08 07:49:33 +00:00
Tomas Votruba a2c39b778e Updated Rector to commit 13d81f90894396f7e443cb5cb9198aeacb6bc05a
13d81f9089 [Cleanup] Make use of getArgs() directly (#3766)
2023-05-08 07:37:37 +00:00
Tomas Votruba 4bf474e653 Updated Rector to commit be53013ca3dff5b3eca8cdb3e688d744585e2557
be53013ca3 [CodeQuality] Remove SimplifyIfExactValueReturnValueRector, as overly defensive + InlineSimplePropertyAnnotationRector as purely coding standard area (#3764)
2023-05-07 19:35:01 +00:00
Tomas Votruba 5a5e7223f6 Updated Rector to commit ce46293db40c0f89be5119215f71e5c1a11ad215
ce46293db4 Defer type-resolving in ForeachToInArrayRector (#3756)
2023-05-07 19:04:44 +00:00
Tomas Votruba 546e7840f2 Updated Rector to commit 0f07aacd8626af970d2f60b911ba89259482d387
0f07aacd86 Defer type-resolving in TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3758)
2023-05-07 19:02:37 +00:00
Tomas Votruba 83ad95142a Updated Rector to commit eee943bb0f4c83e7c016100c330b31ed3c9746c5
eee943bb0f Defer type-resolving in UseIdenticalOverEqualWithSameTypeRector (#3755)
2023-05-07 19:02:29 +00:00
Tomas Votruba fdffd78f22 Updated Rector to commit b44e008ed374f3c7f80974ef037e9236499d11d7
b44e008ed3 Defer type-resolving in AssignVariableTypeResolver (#3759)
2023-05-07 18:59:42 +00:00
Tomas Votruba 2f18a080f8 Updated Rector to commit ca36485a2e8abbdb36873d55a59676080be306ed
ca36485a2e Defer type-resolving in SimplifyBoolIdenticalTrueRector (#3757)
2023-05-07 18:57:49 +00:00
Tomas Votruba da6f698ff7 Updated Rector to commit 14fa8c914b12bfc6a4112d77e03057dab9b90cd4
14fa8c914b Cleanup phpstan errors (#3748)
2023-05-06 22:11:26 +00:00
Tomas Votruba e7d9598446 Updated Rector to commit 3c592b05dc0aa78702a4b38d39711d78c404e279
3c592b05dc [CodeQuality] Remove ForToForeachRector, as overly deatiled and not reliable (#3747)
2023-05-06 21:47:33 +00:00
Tomas Votruba d4a1cc70d1 Updated Rector to commit a3ea0cf7f46febb04f26db608463d791d9d98933
a3ea0cf7f4 [CodeQuality] Skip non-array type on SimplifyForeachToArrayFilterRector (#3738)
2023-05-06 11:33:17 +00:00
Tomas Votruba 4628b8b0cd Updated Rector to commit 657ec2e5af81361107cafc9c842b1d9cdf4ed760
657ec2e5af Fix ExplicitMethodCallOverMagicGetSetRector with a protected method (#3732)
2023-05-04 18:14:42 +00:00
Tomas Votruba 940a47a580 Updated Rector to commit 1e085a0c5a47243c624c46ff7397a80bf983f776
1e085a0c5a [CodeQuality] Improve SimplifyIfElseToTernaryRector performance (#3721)
2023-05-01 13:51:24 +00:00
Tomas Votruba 65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba d73b4dcf29 Updated Rector to commit 92a992ef6e5c5350a0e6de2b4e844e21f072fb1b
92a992ef6e [NodeManipulator] Clean up AssignManipulator take 2 (#3696)
2023-04-28 10:15:23 +00:00
Tomas Votruba a4e6a42d08 Updated Rector to commit 14b6073057861d5547610084eb59a7b1826d2ad8
14b6073057 [CodeQuality] Using local variable  on NarrowUnionTypeDocRector (#3697)
2023-04-28 09:53:28 +00:00
Tomas Votruba a93a36635a Updated Rector to commit fb89e317c52fb8a16e2db18edb80172adb17014e
fb89e317c5 [TypeDeclaration] Add WhileNullableToInstanceofRector (#3680)
2023-04-24 11:18:26 +00:00
Tomas Votruba 3e22fca2fe Updated Rector to commit add55824f64b4b597a6b3bc3feb9a557708ace00
add55824f6 Fix SingleInArrayToCompareRector if array item is variadic (#3640)
2023-04-21 12:00:51 +00:00
Tomas Votruba d784926da7 Updated Rector to commit 79a630987e9afffb7edda0380099472b04f2e211
79a630987e [Performance] Using findFirst() for cast to (bool) so no need search all found nodes (#3642)
2023-04-21 04:11:14 +00:00
Tomas Votruba 1cb1664849 Updated Rector to commit f08216fc30ced0d29868a18cd1c2504a1a10ecd0
f08216fc30 [CodeQuality] Skip with break on SwitchTrueToIfRector (#3634)
2023-04-20 00:27:18 +00:00
Tomas Votruba ab279ddabc Updated Rector to commit edf54c85b6aadaecf064b797d340953697e0ca74
edf54c85b6 [Instanceof] Add FlipNegatedTernaryInstanceofRector (#3610)
2023-04-13 10:40:34 +00:00
Tomas Votruba 3f1c0e6187 Updated Rector to commit 9629890a306844ba49ea6689d58fbecb67a7980e
9629890a30 Use isInteger() (#3593)
2023-04-09 00:51:38 +00:00
Tomas Votruba 2300088c0b Updated Rector to commit 08660ad7077c86c3c86e7d1cbd14d9d7d71cb450
08660ad707 Use isFloat() (#3594)
2023-04-09 00:39:59 +00:00
Tomas Votruba a03a19aeca Updated Rector to commit 273e4b43f1dbe84d426f4db5ab7ea9b0b1fea190
273e4b43f1 Use isBoolean() (#3591)
2023-04-08 16:37:58 +00:00
Tomas Votruba 3da290e4ab Updated Rector to commit dbb0e196a43d8c14a9de6abeef8fe081e95c51c2
dbb0e196a4 Revert all is* changes (#3584)
2023-04-08 13:25:07 +00:00
Tomas Votruba 9d60770133 Updated Rector to commit e66317aeb276bb0b544e7b4b55057c9dab5fbb73
e66317aeb2 fix cs (#3579)
2023-04-08 11:32:12 +00:00
Tomas Votruba aaddfe2522 Updated Rector to commit 59cdfc8d814b094bffd814f4679c828cd45c7ec9
59cdfc8d81 Use isInteger() (#3571)
2023-04-08 01:19:54 +00:00
Tomas Votruba e7c7a40197 Updated Rector to commit 437cc5aa660262603343cdbb193e0a54abf9037e
437cc5aa66 Use isBoolean() (#3570)
2023-04-08 01:12:35 +00:00
Tomas Votruba be3c7cb235 Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
46301c10a8 Use isFloat() (#3572)
2023-04-08 00:59:02 +00:00
Tomas Votruba 75f99e1dc0 Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
a36a4d9fcb Remove unused imports (#3567)
2023-04-05 19:01:37 +00:00
Tomas Votruba d7fe9b627b Updated Rector to commit 3cbf7104d0b81ba1b930ce9a4cd3456e1c082b43
3cbf7104d0 [CodeQuality] Skip empty cases on SwitchTrueToIfRector (#3556)
2023-04-02 21:45:54 +00:00
Tomas Votruba 4c6d730e14 Updated Rector to commit 58f00bfd68219a515d8ae49f2bbfcc6a55f8a575
58f00bfd68 [automated] Apply Coding Standard (#3550)
2023-04-02 00:35:49 +00:00
Tomas Votruba 9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba 31bf5eb875 Updated Rector to commit 26e570f0d9f0a623cb315f58272f9b96161d3743
26e570f0d9 [CodeQuality] Add SwitchTrueToIfRector (#3535)
2023-03-29 07:34:40 +00:00
Tomas Votruba e96ee0ceef Updated Rector to commit 48f84c3acc91d32e4b0fb9bcb4785acd0e1bcad2
48f84c3acc [CodeQuality] Handle multiple ifs on SimplifyIfExactValueReturnValueRector (#3527)
2023-03-27 20:20:32 +00:00
Tomas Votruba 4e1a8b2170 Updated Rector to commit d2459d13d512d780cc22f7822bf630717d888969
d2459d13d5 [CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517)
2023-03-25 05:15:57 +00:00
Tomas Votruba 0b3c5d9bcc Updated Rector to commit f22ddc8f18ef345d5e9c99cbb667548c3c854d7d
f22ddc8f18 Add not null compare to FlipTypeControlToUseExclusiveTypeRector (#3513)
2023-03-23 23:21:34 +00:00
Tomas Votruba d8c7bccf74 Updated Rector to commit 5d95d496e4a7583f355a228cca599cab60b09b41
5d95d496e4 [CodeQuality] Remove next node attribute usage on SimplifyIfExactValueReturnValueRector (#3511)
2023-03-23 19:16:38 +00:00
Tomas Votruba fd25bb9710 Updated Rector to commit 28e9cdb10785dc382ba2c9251cf1dde9024affa2
28e9cdb107 [CodeQuality] Skip with ascii on JoinStringConcatRector (#3497)
2023-03-21 02:20:08 +00:00
Tomas Votruba 7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba cf1958e570 Updated Rector to commit 2eac878f538ddd1e20346c14d402f7e93ee6033b
2eac878f53 [TypeDeclaration] Only apply false type on php 8.2+ configured on TypedPropertyFromAssignsRector (#3422)
2023-02-28 18:23:25 +00:00
Tomas Votruba f44d4bbee3 Updated Rector to commit b7b3a1dc2ea5c141aa1c48e626af10a31f832b77
b7b3a1dc2e [CodeQuality] Handle deep comments merged on ShortenElseIfRector (#3419)
2023-02-26 19:44:22 +00:00
Tomas Votruba 908a3c39d3 Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
648a2f5ca9 Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396)
2023-02-21 17:09:39 +00:00
Tomas Votruba 13aa217ffa Updated Rector to commit 208d52e2a160e8563ef94e2afc53239f8ecf55cf
208d52e2a1 [CodeQuality] Remove DoWhileBreakFalseToIfElseRector, rather manual static spot and refactoring (#3367)
2023-02-08 17:44:29 +00:00
Tomas Votruba f624d966b2 Updated Rector to commit 5c4a1212932dea9ca226abc55d480dbae2051562
5c4a121293 [CodeQuality] Skip has AllowDynamicProperties attribute on CompleteDynamicPropertiesRector (#3346)
2023-02-06 15:51:07 +00:00
Tomas Votruba 6f9bc2e5e6 Updated Rector to commit bac8c0691d7eee55e38924b49d7fac64f61456d8
bac8c0691d [CodeQuality] Mirror comment on ShortenElseIfRector (#3334)
2023-02-04 14:18:19 +00:00
Tomas Votruba 66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba 64a999931a Updated Rector to commit 76a6df8f8ddc9f1aab255783498f28714b36140e
76a6df8f8d [Php81] Skip ReadonlyProperty for class that consume Trait with Property (#3314)
2023-01-29 02:02:55 +00:00
Tomas Votruba 01b8c03d60 Updated Rector to commit 8bf0045044d1357c6d10bc61e84fd962f69ccc20
8bf0045044 remove downgrade only method
2023-01-15 00:50:07 +00:00
Tomas Votruba 0fc42c2559 Updated Rector to commit 47fa234379b7b9f28081e8bc6e683628f8d53f2b
47fa234379 [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
2023-01-02 11:58:30 +00:00
Tomas Votruba 764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba 374d2f5b25 Updated Rector to commit f8814b1d707d72e284870759d1f446848fa003b2
f8814b1d70 [CodeQuality] Remove type addition on CompleteDynamicPropertiesRector (#3248)
2022-12-24 08:30:16 +00:00
Tomas Votruba 727b9f46f0 Updated Rector to commit bfa1891c50677b01136a9308fd3c3ecc12e267d9
bfa1891c50 [cleanup] Remove 73 unused public methods (#3245)
2022-12-23 17:10:25 +00:00
Tomas Votruba a5afc7b66c Updated Rector to commit 432d3e46a296babeea02c1e9d6633079011a303e
432d3e46a2 [NodeTraverser] Use NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN instead of NodeTraverser::DONT_TRAVERSE__CHILDREN (#3233)
2022-12-21 13:01:53 +00:00
Tomas Votruba 6025307990 Updated Rector to commit c80cd6f1f03f6f4e1b1aee6504126699e6a06fe3
c80cd6f1f0 [TypeCoverage] Add EmptyOnNullableObjectToInstanceOfRector (#3230)
2022-12-20 21:37:46 +00:00
Tomas Votruba 2adf37a5b5 Updated Rector to commit 36fcdc14e0828486c7a7a3ce8df723d712aeb2d7
36fcdc14e0 [CodeQuality] Add empty() check to FlipTypeControlToUseExclusiveTypeRector (#3224)
2022-12-20 14:53:37 +00:00
Tomas Votruba 311e5c0c0c Updated Rector to commit e895bceed66b12ddc80fcf90314ac576ae9efe4f
e895bceed6 [Core] Improve performance: remove repetitive currentFileProvider->setFile() call on PhpFileProcessor (#3213)
2022-12-17 13:44:41 +00:00
Tomas Votruba 33551cbeec Updated Rector to commit 21c9e59aaaae15e1baac98b80b6d3e3be5c5d88d
21c9e59aaa Adapt PrivateConstantToSelfRector to work on non-final classes, too (#3198)
2022-12-17 08:33:16 +00:00
Tomas Votruba 04232cb88d Updated Rector to commit d80ddd193deeebd47e765dfb58d300faaedc25b4
d80ddd193d [CodeQuality] Handle possible crash on ParametersAcceptorSelector::selectSingle() on OptionalParametersAfterRequiredRector (#3192)
2022-12-13 12:09:37 +00:00
Tomas Votruba 7924f6944c Updated Rector to commit de008767d91ad6cd5ed77bdc259454665e4bbde9
de008767d9 Replace static with self for private constants (#3178)
2022-12-12 12:29:16 +00:00
Tomas Votruba 7e4cd5dfba Updated Rector to commit bbd9d4fa2c6811c9c68984549d2c0dfb68232219
bbd9d4fa2c [CodeQuality] Skip non typed property no default value never assigned on SimplifyEmptyCheckOnEmptyArrayRector (#3171)
2022-12-08 10:16:49 +00:00
Tomas Votruba 0a53c32d58 Updated Rector to commit f8ad265fa5e4c58a4d0e973a73cac2c4e1efcb3f
f8ad265fa5 [CodeQuality] Handle BooleanNot on SimplifyEmptyCheckOnEmptyArrayRector (#3170)
2022-12-07 23:23:54 +00:00
Tomas Votruba 4397f883bd Updated Rector to commit 7636b888661966e3679770d868481cd02e31517f
7636b88866 [CodeQuality] Skip stdClass in IssetOnPropertyObjectToPropertyExistsRector, as always nested (#3166)
2022-12-07 15:29:56 +00:00
Tomas Votruba 83accd4a98 Updated Rector to commit efd09bbb400b2382be39effc206551e6964fa5ea
efd09bbb40 Compatibility with BetterReflection 6.x on ClassFromEnumFactory (#3150)
2022-12-04 13:15:14 +00:00
Tomas Votruba 091bb20142 Updated Rector to commit 139c19cbdf666ce3df7dea712faaf84772f19051
139c19cbdf Fix foreach key evaluation for SimplifyForeachToArrayFilterRector. (#3100)
2022-12-03 07:01:22 +00:00
Tomas Votruba ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba cc9387f91d Updated Rector to commit fdb9239a9f079bef34db3e0b864ebbc996022c12
fdb9239a9f [CodeQuality] Skip from non-typed param on SimplifyEmptyCheckOnEmptyArrayRector (#3115)
2022-11-28 10:39:45 +00:00
Tomas Votruba 8360fa1a7a Updated Rector to commit a8f322ad7e93f7902fca0a057e8d604482f71080
a8f322ad7e [Core] Remove BetterStandardPrinter::pStmt_Class() (#3072)
2022-11-17 10:44:46 +00:00
Tomas Votruba 4c8be8a104 Updated Rector to commit 07941b8f3dd7151db77df19243aed5c03a64cf63
07941b8f3d [SimplifyEmptyCheckOnEmptyArrayRector] Add new rule #7485 (#3069)
2022-11-16 15:33:33 +00:00
Tomas Votruba 18b5311e05 Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
fa9a953fc8 [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
2022-11-15 20:31:43 +00:00
Tomas Votruba b0ce719527 Updated Rector to commit 04257d3c76ee23722447433f07c8e5678ac9a07b
04257d3c76 Utilize Type->isArray() (#3065)
2022-11-15 15:22:43 +00:00
Tomas Votruba e05478f2e2 Updated Rector to commit e78e4727d513475187dae0300f78ef70043379f9
e78e4727d5 Utilize Type->isString() in rules/ (#3064)
2022-11-15 00:01:27 +00:00
Tomas Votruba bba6495f7d Updated Rector to commit 10346eea20d2222819f59b2ae994acc0948352e4
10346eea20 Apply node->isFirstCallable() check early before ->getArgs() when possible on CallLike (#3038)
2022-11-07 17:28:06 +00:00
Tomas Votruba ce3c134b0d Updated Rector to commit a5051ff31121d95ac2ccf7db351ea486024a0b3f
a5051ff311 Bump to PHPStan ^1.9.0 (#3033)
2022-11-04 07:12:49 +00:00
Tomas Votruba 1724f088d6 Updated Rector to commit 6902b17851f2b7172c0351e72cd1d4263684818f
6902b17851 InlineConstructorDefaultToPropertyRector fix code example (#7465) (#3028)
2022-11-02 00:04:20 +00:00
Tomas Votruba 6afda57164 Updated Rector to commit 9e4a9c0c25fbbd630cac07c9dab074f8dc9c54b8
9e4a9c0c25 [CodeQuality] Add TernaryEmptyArrayArrayDimFetchToCoalesceRector (#3027)
2022-11-01 19:57:56 +00:00
Tomas Votruba ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba 0f38f3753c Updated Rector to commit af4cf28751f652d2ee1a8319d6cb39bf8614a1c1
af4cf28751 [DX] Use directly instanceof (#3021)
2022-10-28 10:16:48 +00:00
Tomas Votruba fe83c2a756 Updated Rector to commit 56620a9e3f49a1a71c6586752c9d5f67c0e7281c
56620a9e3f [CodeQuality] Skip different array_filter value on SimplifyEmptyArrayCheckRector (#3000)
2022-10-17 13:38:23 +00:00
Tomas Votruba cb2aa6330e Updated Rector to commit 71b1142ee41eceef21d9c3d3a1bf5bc4f67ad9d2
71b1142ee4 [CodeQuality] Skip different value left and right on SimplifyEmptyArrayCheckRector (#2998)
2022-10-17 09:13:38 +00:00
Tomas Votruba 2c34505711 Updated Rector to commit ea25cb04aa92e0961a120347daaf7590e8c83782
ea25cb04aa apply rector (#2990)
2022-10-15 21:17:53 +00:00
Tomas Votruba de1025734c Updated Rector to commit 4f8a0ad5194898f6947276b308c53e391cf524ac
4f8a0ad519 Add new rule to simplify a last useless variable assignment. (#2963)
2022-10-15 15:39:52 +00:00
Tomas Votruba a018694585 Updated Rector to commit ee04ee1dc59ff0a6c3ff5d6558612dce7757a8f2
ee04ee1dc5 Fix multi property default assign (#2986)
2022-10-14 16:51:28 +00:00
Tomas Votruba e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba 5f9e3588ab Updated Rector to commit 8615aa59fb9e0f650e529f8e08e02b8b3a7dd0ac
8615aa59fb [DeadCode] Handle crash on RemoveUnusedPrivatePropertyRector+RemoveJustPropertyFetchForAssignRector (#2943)
2022-09-21 06:37:36 +00:00
Tomas Votruba 1fbb663af8 Updated Rector to commit 05dc89279c87e074f6a974ab5a973a36c8262723
05dc89279c Add refactorings for ...val() (#2942)
2022-09-20 13:34:09 +00:00
Tomas Votruba 62e856362b Updated Rector to commit a39844ee53169fb0b6d1184672eeb1869a541dd2
a39844ee53 [misc] Add Expr type to value resolver, remove RemoveFuncCallRector as niche feature, cleanup ClassManipulator from unused methods (#2900)
2022-09-03 08:03:15 +00:00
Tomas Votruba bc0f1fa350 Updated Rector to commit 5a9cb5081596ba3242f4260e5d89b9943fc0f49a
5a9cb50815 [Naming] Skip old value used in next foreach on RenameForeachValueVariableToMatchExprVariableRector (#2897)
2022-09-02 18:47:27 +00:00
Tomas Votruba 6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba 5edd3689a8 Updated Rector to commit bb59a7c99ad30770689fe011c89377402bf6c7ba
bb59a7c99a [DX] Inline symplify/astral to use only active classes (#2851)
2022-08-29 20:49:28 +00:00
Tomas Votruba dbe8618a4c Updated Rector to commit 7215c28735a3f1b3e56f86b5b57085ec3d8956c3
7215c28735 [CodeQuality] Keep identical false variable compare as is it is in SimplifyBoolIdenticalTrueRector (#2839)
2022-08-25 08:08:26 +00:00
Tomas Votruba ac412ec638 Updated Rector to commit 9018492c75866aacc5a71329f921312d31772987
9018492c75 [CodeQuality] Remove SimplifyIfIssetToNullCoalescingRector, as overly complex and should be handled by manual context (#2828)
2022-08-24 08:28:31 +00:00
Tomas Votruba 36d955f51d Updated Rector to commit cb7a84c8bb0343205b7c9ce5d6442187dd089b28
cb7a84c8bb [Naming] Add ArrowFunction support on RenameParamToMatchTypeRector (#2818)
2022-08-23 16:16:02 +00:00
Tomas Votruba eb53b3cce9 Updated Rector to commit 55d788ad2c40ffd8835cead7aaf7f832e35d99b8
55d788ad2c [CodeQuality] Add StaticCall support on OptionalParametersAfterRequiredRector (#2817)
2022-08-22 10:08:19 +00:00
Tomas Votruba 25a78da614 Updated Rector to commit 6b5a537b01a23e5a45e2a7dcb205a2b69d1f62eb
6b5a537b01 [CodeQuality] Skip child has typed on ReturnTypeFromStrictScalarReturnExprRector (#2806)
2022-08-19 13:51:54 +00:00
Tomas Votruba c3373be53b Updated Rector to commit f41acb3fc880f7553f2c058fb35d69b3d5a18642
f41acb3fc8 [CodeQuality] Fix out-of-order items removal in UnusedForeachValueToArrayKeysRector (#2779)
2022-08-18 12:50:16 +00:00
Tomas Votruba 26bacab80c Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:46:08 +00:00
Tomas Votruba 967bbc6b59 Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-11 14:29:35 +00:00
Tomas Votruba f2acdcf5da Updated Rector to commit c0070b1d30a0040e3e58724ac1b3b339e168dcb5
c0070b1d30 [CodeQuality] Skip not ArrayType on ForeachItemsAssignToEmptyArrayToAssignRector (#2752)
2022-08-10 11:13:19 +00:00
Tomas Votruba 8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba 1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba 6420a4d2a1 Updated Rector to commit ec291c4358636e29c026f2d42d575470cde25c76
ec291c4358 Fix/do not inline constructor default when readonly (#2720)
2022-07-28 19:32:54 +00:00
Tomas Votruba 8648c0bd93 Updated Rector to commit 8df791240b3896a75d6a3f45db3d3d64a5fd690f
8df791240b ExplicitMethodCallOverMagicGetSetRector fix (#2719)
2022-07-28 14:51:08 +00:00
Tomas Votruba a5ec68bd9c Updated Rector to commit ec9c15adc729988276f3fe7b726609f913266f23
ec9c15adc7 Apply ParametersAcceptorSelectorVariantsWrapper::select() take 2 (#2718)
2022-07-28 14:06:21 +00:00
Tomas Votruba 6d34684c5a Updated Rector to commit 69d3c92b00fd4cd4f435cd8974e5547251b5065e
69d3c92b00 [Php80] Add MixedTypeRector (#2701)
2022-07-27 08:28:59 +00:00
Tomas Votruba f6efaa732c Updated Rector to commit fe0551e374df78c4bbcd4c4e0523a4b50a3bb9c8
fe0551e374 [TypeDeclaration] Handle crash on intersection in Union type on AddMethodCallBasedStrictParamTypeRector (#2704)
2022-07-27 08:06:26 +00:00
Tomas Votruba 432a6c19f9 Updated Rector to commit 4ed677db2cf86ba5db10c5727e2ed815a5700491
4ed677db2c Fix/early return inline constructor default 7319 (#2716)
2022-07-27 08:05:36 +00:00
Tomas Votruba 9c5eda645c Updated Rector to commit c9ecc86d7e1621b435aed598317a6962e22e8039
c9ecc86d7e Cleanup of assign void (#2679)
2022-07-18 23:10:43 +00:00
Tomas Votruba c855f5df1c Updated Rector to commit 6d7404c65000caede512a5bc5a993f472e11cd0d
6d7404c650 Home cleaning with Exacat 😎 (#2676)
2022-07-18 15:25:27 +00:00
Tomas Votruba 587cd1ea1b Updated Rector to commit e8d0d572934d5faec64d480d9cd985a3823c9c0a
e8d0d57293 Fix getter method property substitution when the readable types don't match. (#2667)
2022-07-15 23:16:52 +00:00
Tomas Votruba 4b78498132 Updated Rector to commit 328c43713e7b7ec77675637582117619af012985
328c43713e static fixes (#2661)
2022-07-14 22:29:28 +00:00
Tomas Votruba 175fded020 Updated Rector to commit f8221e3e21c487f2d18707f7b979ef6607204826
f8221e3e21 [CodeQuality] Fix CompactToVariablesRector to resolve values when the compact() is called (#2627)
2022-07-03 20:44:15 +00:00
Tomas Votruba fbcfb0e30f Updated Rector to commit b45066c505a7bd3569819cee71706ebf0f763b6e
b45066c505 [dx] remove direct assigns (#2617)
2022-07-03 12:14:45 +00:00
Tomas Votruba 2ef7fcfcd2 Updated Rector to commit 23bad1ec21a1ba71c748073cae083ce55484e1a7
23bad1ec21 [EarlyReturn] Add ReturnEarlyIfVariableRector (#2609)
2022-07-02 22:36:41 +00:00
Tomas Votruba 84dff4485c Updated Rector to commit 12f380b343bc991d5b138206d68cd244d0aca776
12f380b343 Add edge cases to skip (#2604)
2022-07-01 13:50:24 +00:00
Tomas Votruba 2524b7ef68 Updated Rector to commit 89a7a4dfbb3e05a306c0f5b9950c28588d4f2af9
89a7a4dfbb [TypeDeclaration] Add ReturnTypeFromStrictScalarReturnExprRector (#2601)
2022-07-01 13:42:45 +00:00
Tomas Votruba 8c4e269a9d Updated Rector to commit 6be87763cbe27e0c20d3923df0efe629e5cae6f8
6be87763cb [CodeQuality] Remove DateTimeToDateTimeInterfaceRector as mostly opinionated and way too much generics (#2598)
2022-07-01 07:42:17 +00:00
Tomas Votruba fbc13bfea3 Updated Rector to commit e6e5895517eb301f3fa3b00759b06876cacde836
e6e5895517 [Naming] Skip used in arrow function args on RenameVariableToMatchMethodCallReturnTypeRector (#2599)
2022-07-01 07:39:49 +00:00
Tomas Votruba d6e035e01a Updated Rector to commit 7c8b23b02d
7c8b23b02d [CodeQuality] Add TernaryFalseExpressionToIfRector (#2590)
2022-06-29 16:03:56 +00:00
Tomas Votruba bebb65659c Updated Rector to commit 92621698c2
92621698c2 [DX] Move UnionTypeFactory to NodeTypeResolver packages (#2581)
2022-06-27 20:29:12 +00:00
Tomas Votruba 68845a00bf Updated Rector to commit 80715e62b5
80715e62b5 [CodeQuality] Drop ArrayThisCallToThisMethodCallRector as changes behavior and better handled by FirstClassCallableRector (#2571)
2022-06-26 10:18:31 +00:00
Tomas Votruba a0705ea3d6 Updated Rector to commit 6845975035
6845975035 [Core] Replace deprecated ->enterCatch() with enterCatchType() (#2548)
2022-06-25 16:12:40 +00:00
Tomas Votruba 582aecc7dd Updated Rector to commit 237f603c81
237f603c81 Skip all but exactly one return (#2565)
2022-06-25 16:12:31 +00:00
Tomas Votruba f8d669f3e6 Updated Rector to commit dcad222eb7
dcad222eb7 [Core] Handle Scope not available on DowngradeArrayIsListRector+DowngradePregUnmatchedAsNullConstantRector (#2556)
2022-06-25 16:11:22 +00:00
Tomas Votruba 4522848db4 Updated Rector to commit 005ca33bcb
005ca33bcb [DowngradePhp80] Do not change correct Union array docblock to mixed[] on DowngradeUnionTypeDeclarationRector (#2555)
2022-06-22 22:21:39 +00:00
Tomas Votruba 138ae66a5b Updated Rector to commit 83f2b16f0c
83f2b16f0c [cs] add static lambda rule [closes #2514]
2022-06-21 15:38:46 +00:00
Tomas Votruba 491ac4d181 Updated Rector to commit a16bc1b576
a16bc1b576 skip privatization, as unknown side effect (#2542)
2022-06-20 15:12:00 +00:00
Tomas Votruba 709c724831 Updated Rector to commit 945889cfb4
945889cfb4 Forbid PHPStan ClassMethod to avoid false type miss-matches (#2538)
2022-06-20 13:08:32 +00:00
Tomas Votruba 476eee8d3e Updated Rector to commit c80d7e1f8d
c80d7e1f8d Improve closure node construction to just-in-time (#2529)
2022-06-17 21:00:38 +00:00
Tomas Votruba dd31e833a9 Updated Rector to commit ce1c29184d
ce1c29184d [scoped] change only year and month, to make diff esaier to see; autoload is handled already
2022-06-11 12:27:46 +00:00
Tomas Votruba b4891e547c Updated Rector to commit a5340c6f06
a5340c6f06 [Renaming] Do not rename docblock same name not found in use inside namespace (#2471)
2022-06-11 11:59:10 +00:00
Tomas Votruba 7fbc26bbc7 Updated Rector to commit 797cb38b88
797cb38b88 Clean PHPStan errors (#2475)
2022-06-10 14:48:54 +00:00
Tomas Votruba a9ffd906d7 Updated Rector to commit 368dbb048c
368dbb048c docs: fix instruction in CONTRIBUTING.md (#2470)
2022-06-10 05:55:49 +00:00
Tomas Votruba fd299c83a6 Updated Rector to commit 712174b300
712174b300 Update packages-tests github action to use latest phpdoc-parser (#2467)
2022-06-09 13:32:28 +00:00
Tomas Votruba 7e1e20e9f2 Updated Rector to commit 17b86d4b77
17b86d4b77 [CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
2022-06-09 06:07:50 +00:00
Tomas Votruba e8d4384fe8 Updated Rector to commit 6c8b3dc9f8
6c8b3dc9f8 [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
2022-06-08 05:54:40 +00:00
Tomas Votruba b6a8818d00 Updated Rector to commit cbbe410aff
cbbe410aff string prefixing is still needed
2022-06-07 09:46:15 +00:00
Tomas Votruba 9bb996bfce Updated Rector to commit a9779404d3
a9779404d3 try without prefixing string classes
2022-06-07 09:38:27 +00:00
Tomas Votruba bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba 91f5aab952 Updated Rector to commit 4f07a4f30f
4f07a4f30f [Php74] Remove ReservedFnFunctionRector (#2447)
2022-06-07 06:40:10 +00:00
Tomas Votruba aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba 07acf2086f Updated Rector to commit 40d9102eab
40d9102eab [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
2022-06-06 06:00:07 +00:00
Tomas Votruba 3113a2404c Updated Rector to commit dbb54b83cc
dbb54b83cc [automated] Re-Generate Nodes/Rectors Documentation (#2438)
2022-06-05 00:39:10 +00:00
Tomas Votruba 98eb7617da Updated Rector to commit 283a9af3f0
283a9af3f0 [Renaming] Skip docblock rename different namespace on RenameClassRector (#2419)
2022-06-04 07:39:10 +00:00
Tomas Votruba 14da17860d Updated Rector to commit 7722a57d80
7722a57d80 [PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
2022-06-03 07:23:26 +00:00
Tomas Votruba 02c0f07aa0 Updated Rector to commit 9187ff0430
9187ff0430 [Scoped] Update full_build.sh to reflect the current Github workflow for build scoped (#2413)
2022-06-02 07:23:49 +00:00
Tomas Votruba 780f0d3ad8 Updated Rector to commit 06b0b325da
06b0b325da remove victor, it handles only metafiles, not unused classes
2022-06-01 07:38:23 +00:00
Tomas Votruba 8506c85563 Updated Rector to commit 01fc91e575
01fc91e575 [CodeQuality] Add empty array support to InlineArrayReturnAssignRector (#2397)
2022-05-31 07:47:20 +00:00
Tomas Votruba 0501290a9d Updated Rector to commit dc6bd9680c
dc6bd9680c [e2e] Handle Parent Property empty missing Scope on StaticCallToMethodCallRector+RenameClassRector (#2396)
2022-05-31 07:17:00 +00:00
Tomas Votruba d035c86f90 Updated Rector to commit a7e66d67bd
a7e66d67bd remove excluded files
2022-05-30 00:02:22 +00:00
Tomas Votruba 5b72ec39c6 Updated Rector to commit db57fbaae4
db57fbaae4 Remove myclabs/php-enum dependency (#2388)
2022-05-29 22:41:07 +00:00
Tomas Votruba 9a9e8960ee Updated Rector to commit 9cd69c2b3d
9cd69c2b3d [automated] Re-Generate Nodes/Rectors Documentation (#2385)
2022-05-29 00:36:37 +00:00
Tomas Votruba 94e64470da Updated Rector to commit 012e9ad553
012e9ad553 Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
2022-05-28 00:27:30 +00:00
Tomas Votruba 370e072a87 Updated Rector to commit a9dd89b1cc
a9dd89b1cc [DX] Remove CommandNaming magic, check rector class exists in RectorConfig (#2372)
2022-05-27 15:06:05 +00:00
Tomas Votruba 7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba 911a9772d6 Updated Rector to commit e690cd059c
e690cd059c restore downgrade configs
2022-05-27 10:39:50 +00:00
Tomas Votruba bcf77dc873 Updated Rector to commit f5a06553ce
f5a06553ce [CodeQuality] Add InlineIsAInstanceOfRector (#2364)
2022-05-26 22:07:22 +00:00
Tomas Votruba 74a2d071eb Updated Rector to commit 3da22b0231
3da22b0231 [Php81] Skip ArrayDimFetch from ArrayObject in Assign var on ReadOnlyPropertyRector (#2363)
2022-05-26 07:20:40 +00:00
Tomas Votruba c5eecc40c0 Updated Rector to commit 4c53b206a4
4c53b206a4 [Php80] Do not remove array<mixed> inside Union type on UnionTypesRector (#2358)
2022-05-25 06:59:11 +00:00
Tomas Votruba 5d8ca84738 Updated Rector to commit f25715b7b3
f25715b7b3 [Php73] Skip Encapsed on StringifyStrNeedlesRector + Temporary Pin PHPStan 1.6.9 (#2352)
2022-05-24 08:37:28 +00:00
Tomas Votruba f89782b964 Updated Rector to commit f134b6183e
f134b6183e [Php71] Ensure return  only when catch of TryCatch removed on MultiExceptionCatchRector (#2350)
2022-05-23 03:50:09 +00:00
Tomas Votruba 2b85976c4c Updated Rector to commit adb6e68c2a
adb6e68c2a [automated] Re-Generate Nodes/Rectors Documentation (#2343)
2022-05-22 00:38:26 +00:00
Tomas Votruba 6fe802bfdc Updated Rector to commit fcadc67328
fcadc67328 add symfony php config option to allow loading route factory (#2339)
2022-05-21 08:48:33 +00:00
Tomas Votruba 6a5ebad0e7 Updated Rector to commit f0a1b688f3
f0a1b688f3 [DowngradePhp80] Apply PHPStan 1.7.x-dev compatible for PhpParameterReflection (#2336)
2022-05-20 10:24:40 +00:00
Tomas Votruba ce9b1cc6e6 Updated Rector to commit 30a53bfd93
30a53bfd93 [DowngradePhp80] Add in arrow function in return support on DowngradeMatchToSwitchRector (#2331)
2022-05-19 06:59:21 +00:00
Tomas Votruba f845008257 Updated Rector to commit 50943ea4f2
50943ea4f2 [CodeQuality] Skip re use variable in assign Expr on InlineArrayReturnAssignRector (#2325)
2022-05-18 01:37:38 +00:00
Tomas Votruba 9ec874fb89 Updated Rector to commit 15d93fa815
15d93fa815 [DeadCode] Handle combine RemoveAlwaysTrueIfConditionRector + RemoveDeadConstructorRector (#2324)
2022-05-17 09:51:50 +00:00
Tomas Votruba 4708d6b081 Updated Rector to commit c0086b7e14
c0086b7e14 [e2e] Add e2e for tests removed node display applied rules with return null (#2320)
2022-05-16 01:19:48 +00:00
Tomas Votruba e7cbd16435 Updated Rector to commit 0686f438cc
0686f438cc [PHPStan] Enable symplify-rules.neon (#2318)
2022-05-15 11:50:50 +00:00
Tomas Votruba ad10fd18db Updated Rector to commit 96400215b5
96400215b5 [automated] Re-Generate Nodes/Rectors Documentation (#2314)
2022-05-15 09:42:33 +00:00
Tomas Votruba 11c262469b Updated Rector to commit 3ed69d7ecf
3ed69d7ecf [CodeQuality] Apply StmtsAwareInterface node on SimplifyUselessVariableRector (#2310)
2022-05-14 09:33:59 +00:00
Tomas Votruba d10a01e47f Updated Rector to commit fcb2dc6f33
fcb2dc6f33 [CodeQuality] Do not duplicate Expr on SimplifyIfElseToTernaryRector+SimplifyUselessVariableRector+CompleteDynamicPropertiesRector (#2308)
2022-05-14 07:38:00 +00:00
Tomas Votruba f2550b0de1 Updated Rector to commit f92d5deca3
f92d5deca3 Fix Scalar_Encapsed node as dynamic in  (#2309)
2022-05-14 02:43:00 +00:00
Tomas Votruba b03aa95fcc Updated Rector to commit 28dc9cebb2
28dc9cebb2 Prepare NamedToUnnamedArgs for PhpParameterReflection change in PHPStan 1.7 (#2305)
2022-05-13 09:29:14 +00:00
Tomas Votruba cd95eb3dcc Updated Rector to commit 1ec5e2d35b
1ec5e2d35b restore links
2022-05-12 19:20:31 +00:00
Tomas Votruba 99edeb9629 Updated Rector to commit 52ea41240e
47bea33c2e use changelog annotations to display useful into under the change 52ea41240e restore regex replaces
2022-05-12 19:17:07 +00:00