18848 Commits

Author SHA1 Message Date
Tomas Votruba
c0e2ec7e5c Updated Rector to commit e1841aebb73cb1fdc6f330b91555433cbb69ab34
e1841aebb7 [Carbon] Fix refactor time to carbon to use ->getTimestamp() over ->timestamp (#6733)
2025-02-11 17:24:40 +00:00
Tomas Votruba
078316d373 Updated Rector to commit fdac2e9e34443e72dacc53c19dfc2e50ca40ab6e
fdac2e9e34 [CodeQuality] Add fixture for skip never called (#6732)
2025-02-11 16:06:32 +00:00
Tomas Votruba
58e3b14615 Updated Rector to commit 91df6147a4208433347ba68be65d9dcd7b756329
91df6147a4 [CodeQuality] Skip unused static methods in LocallyCalledStaticMethodToNonStaticRector, as should be handled by another rule (#6731)
2025-02-11 14:12:14 +00:00
Tomas Votruba
d312db427a Updated Rector to commit 8efb34e74548d702dcc1fa15f9b6f22eaf2e08e3
8efb34e745 [Renaming] Handle crash on assign on for loop on RenameFunctionRector (#6730)
2025-02-11 07:51:13 +00:00
Tomas Votruba
425ccaa023 Updated Rector to commit 36f2d21ca9ec795733466a9f486d16322325d19c
36f2d21ca9 [TypeDeclaration] Handle crash on union intersection on AddClosureParamTypeForArrayReduceRector (#6729)
2025-02-10 15:36:28 +00:00
Tomas Votruba
c3ba40b653 Updated Rector to commit 50f9d87ff26cc0951921c42b1a7cd18ad714604d
50f9d87ff2 Simplify NodeTypeResolver (#6728)
2025-02-10 14:06:26 +00:00
Tomas Votruba
688061fe87 Updated Rector to commit 10180102a24697c63564755d9ea57860f8e98375
10180102a2 [TypeDeclaration] Unregister AddClosureParamTypeForArrayMapRector and AddClosureParamTypeForArrayReduceRector due to may read from docblock (#6727)
2025-02-10 12:16:33 +00:00
Tomas Votruba
4393230e47 Rector 2.0.9 2.0.9 2025-02-10 08:14:01 +00:00
Tomas Votruba
a29172639c Updated Rector to commit 3b14af26db9eef322f21a9c783e6f9109e087c67
3b14af26db Type hint array reduce closure (#6725)
2025-02-09 16:30:04 +00:00
Tomas Votruba
d79d9689ab Updated Rector to commit 3569d162bf6cb3730c091db0898798e59c93b4f4
3569d162bf Bump to PHPStan 2.1.3 (#6724)
2025-02-08 12:39:24 +00:00
Tomas Votruba
767bb46afc Updated Rector to commit 70920b211391beb82fd05c269e6689e50b430988
70920b2113 [PHPStan 2.1.3] Add ReflectionAttribute and ReflectionIntersectionType stub for PHPStan 2.1.3 (#6723)
2025-02-08 12:20:42 +00:00
Tomas Votruba
20f374a489 Updated Rector to commit 59d4bca60c0cc1efb8061524e0425454cb432bc8
59d4bca60c [PostRector] Handle with FQCN docblock on UnusedImportRemovingPostRector (#6722)
2025-02-07 05:59:18 +00:00
Tomas Votruba
ead5e52b9d Updated Rector to commit ecd8b37aa8ad07d8618606124699175572de63f4
ecd8b37aa8 [Php81] Exclude Doctrine ODM MongoDB Document and EmbeddedDocument from ReadOnlyPropertyRector (#6721)
2025-02-06 16:14:41 +00:00
Tomas Votruba
3c70238bc6 Rector 2.0.8 2.0.8 2025-02-06 14:02:49 +00:00
Tomas Votruba
df41bf4df8 Updated Rector to commit 1964b34621401d02a7ca9b42130ab95b7c86bb59
1964b34621 [CodingStyle] Rename method:  containsASCIIChar to containsControlASCIIChar on EncapsedStringsToSprintfRector (#6720)
2025-02-06 00:22:24 +00:00
Tomas Votruba
7fb6abc4ae Updated Rector to commit 78382d288119533208cee5bd2827bdf0222f4064
78382d2881 Skip hexa chars in EncapsedStringsToSprintfRector (#6719)
2025-02-05 15:38:15 +00:00
Tomas Votruba
7af22161c0 Updated Rector to commit 95a145f9311826749ea9e72f44c3a3adb2a030f3
95a145f931 [DeadCode] Skip union falsy mixed on trait on RecastingRemovalRector (#6718)
2025-02-05 08:49:36 +00:00
Tomas Votruba
e3da0f3d06 Updated Rector to commit a4c489ee0914233600f93379edee4932ce2d4ee4
a4c489ee09 [TypeDeclaration] Allow union with closure type on property on TypedPropertyFromAssignsRector (#6717)
2025-02-05 04:39:38 +00:00
Tomas Votruba
9ae9296386 Updated Rector to commit 7f910682cd51567d6ae5606a2edcd756f4cc79b0
7f910682cd [Performance] Use exactly equal or append / file path check on RealpathMatcher (#6716)
2025-02-03 14:38:31 +00:00
Tomas Votruba
afc11ae8dd Updated Rector to commit 4f54239565b838f5fcfb8bc4a3fef6e883080dc7
4f54239565 [DX] Move isWindows() method from AbstractRectorTestCase to AbstractLazyTestCase (#6715)
2025-02-03 09:28:06 +00:00
Tomas Votruba
9e2cd16162 Updated Rector to commit fe3b78a458546d92abbb12feb217ec1d9f9a0454
fe3b78a458 [Test] Clean up test on WorkerCommandLineFactoryTest (#6714)
2025-02-03 03:47:30 +00:00
Tomas Votruba
2d7a042251 Updated Rector to commit 8f5ac731d7ea25fb4b55ed36c2d5a5451acea43c
8f5ac731d7 [Printer] Reduce call on BetterStandardPrinter (#6713)
2025-02-02 02:14:08 +00:00
Tomas Votruba
233d3691d4 Updated Rector to commit 49e323a7e24658e84f5d60fcfde83c4e9c652183
49e323a7e2 [automated] Apply Coding Standard (#6712)
2025-02-02 01:12:14 +00:00
Tomas Votruba
b1bcc8782b Updated Rector to commit 49e323a7e24658e84f5d60fcfde83c4e9c652183
49e323a7e2 [automated] Apply Coding Standard (#6712)
2025-02-02 00:36:03 +00:00
Tomas Votruba
0491c7b5d0 Updated Rector to commit e31d712625581a0c2cd12e9e804508814c2c3c61
e31d712625 [TypeDeclaration] Skip override trait method on StrictStringParamConcatRector (#6711)
2025-02-01 11:22:20 +00:00
Tomas Votruba
a1be95d612 Updated Rector to commit 11789be00e0c2ee749b74d815080f9960aa06c1a
11789be00e [NodeTypeResolver] Remove ReprintNodeVisitor take 2 (#6710)
2025-02-01 03:31:05 +00:00
Tomas Votruba
ccb7da585d Updated Rector to commit f51f41de2b5ff26632e2322dbf2795ead1447e45
f51f41de2b Rectify (#6709)
2025-01-31 14:59:18 +00:00
Tomas Votruba
c435e209d4 Updated Rector to commit f51f41de2b5ff26632e2322dbf2795ead1447e45
f51f41de2b Rectify (#6709)
2025-01-31 01:34:38 +00:00
Tomas Votruba
950fcb8ff2 Updated Rector to commit c78198396c671352dca6044d49ae2de14173fb34
c78198396c fix: NewlineBeforeNewAssignSetRector variable as same name like property (#6705)
2025-01-31 00:29:51 +00:00
Tomas Votruba
8f33217898 Updated Rector to commit 756c2443cf2ac6227d2c31d4a2f312e8c42fb491
756c2443cf Clean up unused use (#6708)
2025-01-29 21:01:34 +00:00
Tomas Votruba
a0f732d339 Updated Rector to commit ede66dda917ccecf382f43a15c01adb81e0ae599
ede66dda91 [Php73] Handle infinite cast on StringifyStrNeedlesRector (#6707)
2025-01-29 20:50:30 +00:00
Tomas Votruba
8ac634d96a Updated Rector to commit 60f99971aa7809b33aa9fda218d8dea0f9516b5e
60f99971aa [Php74] Handle crash curly based array on trait on CurlyToSquareBracketArrayStringRector (#6706)
2025-01-29 20:02:40 +00:00
Tomas Votruba
869caf9d04 Updated Rector to commit 657daffa74e36aab5223d389ff80fa178c180259
657daffa74 Fix str_getcsv() escape argument on PHP 8.4 (#6704)
2025-01-29 10:41:54 +00:00
Tomas Votruba
f26b8c528b Updated Rector to commit d8907846bd387507ca81d068c029f2567d58bb5c
d8907846bd [CI] Add PHP 8.3 and 8.4 to tests workflow (#6703)
2025-01-29 09:25:32 +00:00
Tomas Votruba
c99c545f06 Updated Rector to commit c9818c7dd1af5c4f6c0b56face49c6a3b75dcd2b
c9818c7dd1 Exclude node modules path (#6702)
2025-01-29 07:04:17 +00:00
Tomas Votruba
99de44904a Updated Rector to commit c9818c7dd1af5c4f6c0b56face49c6a3b75dcd2b
c9818c7dd1 Exclude node modules path (#6702)
2025-01-28 12:09:18 +00:00
Tomas Votruba
bae8785ac9 Updated Rector to commit da5685d158792f9d746c5e82221762b7245b29c8
da5685d158 CodeClimate output format (#6697)
2025-01-28 09:02:23 +00:00
Tomas Votruba
d9cc143065 Updated Rector to commit d3deb357b87ad3d87df66c06bd744cf53bc752e0
d3deb357b8 [Scoper] Fix exclude files (#6700)
2025-01-28 06:33:47 +00:00
Tomas Votruba
db65de6a83 Updated Rector to commit b226fe69fc43aa6610ec2cc0611e24dba642d18a
b226fe69fc [Scoper] Revert src/functions/node_helper.php from exclude files (#6699)
2025-01-28 06:28:13 +00:00
Tomas Votruba
44c8e9ed71 Updated Rector to commit 03936151bbb69f0d841d6bdd57d4602c257375d1
03936151bb exclude functions from scoping
2025-01-27 18:43:31 +00:00
Tomas Votruba
6f88411381 Updated Rector to commit abaf47c828502d09a968590292aafe71d34e3e17
abaf47c828 feat: add coding style levels (#6695)
2025-01-27 16:13:33 +00:00
Tomas Votruba
2ae36401bc Updated Rector to commit abaf47c828502d09a968590292aafe71d34e3e17
abaf47c828 feat: add coding style levels (#6695)
2025-01-27 08:34:58 +00:00
Tomas Votruba
c08fd20bce Updated Rector to commit c1d6c547285bfe633d125cbb0c2c03f2c09ee39c
c1d6c54728 [automated] Apply Coding Standard (#6696)
2025-01-26 00:34:32 +00:00
Tomas Votruba
03513ec2de Updated Rector to commit a1170acff3bcbd8ef0f5ec2f833e460c1cb7d418
a1170acff3 [Php80][TypeDeclaration] Fix crash on ClassPropertyAssignToConstructorPromotionRector + ReturnNeverTypeRector (#6694)
2025-01-24 17:27:16 +00:00
Tomas Votruba
737f3f7d28 Updated Rector to commit fcd141bb95c7d81fb4409421a53e762e52a1ff39
fcd141bb95 [NodeTypeResolver] Clean up wrap in parentheses check ReprintNodeVisitor (#6692)
2025-01-22 20:00:40 +00:00
Tomas Votruba
699d1b7dd4 Updated Rector to commit 00ae805d747e43b7d279a17d9e14ec4a374894a8
00ae805d74 Replace ambiguous wrapped_with_brackets with existing attribute wrapped_in_parentheses (#6691)
2025-01-22 18:58:18 +00:00
Tomas Votruba
cc97278bff Updated Rector to commit d5d3bcd946dc0565312a46e5941c033615373ce0
d5d3bcd946 [NodeTraverser] Clean up call ->addVisitor() after NodeTraverser creation (#6690)
2025-01-22 15:21:45 +00:00
Tomas Votruba
3f34d02d99 Updated Rector to commit d5d3bcd946dc0565312a46e5941c033615373ce0
d5d3bcd946 [NodeTraverser] Clean up call ->addVisitor() after NodeTraverser creation (#6690)
2025-01-22 03:33:51 +00:00
Tomas Votruba
c614c1c1eb Updated Rector to commit 4a954af301a5a79cf5239eb73802085ea0e81e1f
4a954af301 Bump to PHPStan 2.1.2 and fix test (#6689)
2025-01-22 03:27:06 +00:00
Tomas Votruba
928a2477d2 Updated Rector to commit 223cb9100889a21bb4e8b2a1aa9583e80e1f22b4
223cb91008 [Printer] Move set wrap on assign instanceof to BetterStandardPrinter (#6686)
2025-01-21 19:51:02 +00:00