Commit Graph

17696 Commits

Author SHA1 Message Date
Tomas Votruba 695c190be3 Updated Rector to commit 94b5561ca87ee6825a098c7c506b774582bf3354
94b5561ca8 chore: bump min version of github actions (fix deprecations) (#5675)
2024-03-01 20:02:28 +00:00
Tomas Votruba 39c0390278 Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
827992ae97 [Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
2024-02-29 13:34:04 +00:00
Tomas Votruba df81c907da Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
827992ae97 [Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
2024-02-29 11:39:40 +00:00
Tomas Votruba 42b37a76a2 Updated Rector to commit 827992ae9784abb4a2a5f5f3aecbe52606f3c737
827992ae97 [Performance] [DeadCode] Early check no params in __construct() on RemoveUnusedPromotedPropertyRector (#5672)
2024-02-28 15:52:40 +00:00
Tomas Votruba e7800d7a95 Updated Rector to commit c57c164bae7c97212384f5120857bddfee329a7d
c57c164bae [CodeQuality] Handle crash on named arg on deep closure on OptionalParametersAfterRequiredRector (#5671)
2024-02-28 14:45:00 +00:00
Tomas Votruba dc6d59d8bb Updated Rector to commit 4a2811d0be372ef590c253a493f49bbb6745b524
4a2811d0be [Naming] Handle crash with numeric-string doc on RenamePropertyToMatchTypeRector (#5670)
2024-02-28 12:35:38 +00:00
Tomas Votruba d148fa379c Updated Rector to commit 8b1a181c243346b1c47c50f3e4513b117ebebc9d
8b1a181c24 [DeadCode] Skip implements interface __construct() on RemoveUnusedPromotedPropertyRector (#5669)
2024-02-28 11:20:28 +00:00
Tomas Votruba e8cdd78f11 Updated Rector to commit 04e62d38cd1f1a0e01d8efc19b19b384cd8726e6
04e62d38cd Revert " [Php81] Skip execution operator on NullToStrictStringFuncCallArgRect…" (#5668)
2024-02-28 01:07:46 +00:00
Tomas Votruba 4da7518a07 Updated Rector to commit b95ff29edfb93a3f6d0abc62a89b4a5362838f17
b95ff29edf  [Php81] Skip execution operator on NullToStrictStringFuncCallArgRector  (#5667)
2024-02-27 18:31:13 +00:00
Tomas Votruba d24ee522ce Updated Rector to commit a56ee1ed01bbbdae515b49fe4d820f219208f768
a56ee1ed01 [DeadCode] Fix infinite loop on RemoveDeadStmtRector + RemoveUnusedVariableAssignRector (#5666)
2024-02-27 12:11:43 +00:00
Tomas Votruba d34d554ada Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
58abec4c56 [automated] Apply Coding Standard (#5665)
2024-02-27 11:28:02 +00:00
Tomas Votruba a958e6bf2a Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
58abec4c56 [automated] Apply Coding Standard (#5665)
2024-02-26 11:06:03 +00:00
Tomas Votruba 3240f9e962 Updated Rector to commit 58abec4c5663a5d92ac6cd0a2eef6aace80ab408
58abec4c56 [automated] Apply Coding Standard (#5665)
2024-02-25 00:28:21 +00:00
Tomas Votruba 740fedd8a5 Updated Rector to commit 74a7c51d383b8ad5c6adb10cd67fe5f7f8ff290d
74a7c51d38 [automated] Re-Generate Nodes/Rectors Documentation (#5664)
2024-02-25 00:28:09 +00:00
Tomas Votruba b02be823eb Updated Rector to commit b6f5a0392d90d8f8b7f6fc42db896fdc3562d2d8
b6f5a0392d [Php83] add type to final class constant (#5662)
2024-02-24 01:20:55 +00:00
Tomas Votruba cd427d527e Updated Rector to commit 3ef3e35c45970bce4000f45f9c1cb651f078c5a0
3ef3e35c45 [Php71] Skip re-assign as string on AssignArrayToStringRector part 2 (#5661)
2024-02-23 19:28:49 +00:00
Tomas Votruba dcd788c4dd Updated Rector to commit 2d1f468bc6e41bc84dc273c8ac94033b60761a76
2d1f468bc6 [Privatization] Skip with suffix "TestCase" on FinalizeTestCaseClassRector (#5660)
2024-02-23 13:06:33 +00:00
Tomas Votruba 94501442a5 Updated Rector to commit d754bec5f11ce2d37928901c6998e1cc62e6f20d
d754bec5f1  [Php71] Skip re-assign as string on AssignArrayToStringRector  (#5659)
2024-02-23 10:03:16 +00:00
Tomas Votruba 5f3655eae9 Updated Rector to commit f5a45a5aeb6e5e1264d546e55dbd8880046b36ce
f5a45a5aeb [BetterPhpDocParser] Clean up unnecessary create new ConstFetchNode() on ArrayItemClassNameDecorator (#5658)
2024-02-22 14:12:04 +00:00
Tomas Votruba c0bc2824b0 Updated Rector to commit b9ea5fd9961997cecbd872cb345e88de582d6aca
b9ea5fd996 [PostRector] Skip remove use statement on used in annotation on removeUnusedImports() (#5657)
2024-02-22 12:50:50 +00:00
Tomas Votruba e08ae92529 Updated Rector to commit fb312e00c38b17b096a7257151a4ec0571cd8607
fb312e00c3 [PHPStanStaticTypeMapper] Avoid double \ prefix on IntersectionTypeMapper (#5656)
2024-02-22 10:08:06 +00:00
Tomas Votruba 5c2a81061c Updated Rector to commit 18a8aecd13cbe87766c38de95dcba08673493d3a
18a8aecd13 [TypeDeclaration] Adds AddParamTypeForFunctionLikeWithinCallLikeArgDeclarationRector rule (#5547)
2024-02-22 09:09:42 +00:00
Tomas Votruba 08cec1591e Updated Rector to commit 4951accb91a39af88d3903930112f2752e497076
4951accb91 [Renaming] New Rule: RenameFunctionLikeParamWithinCallLikeArgRector (#5554)
2024-02-22 09:08:40 +00:00
Tomas Votruba adbf03fcec Updated Rector to commit f9b3312035a4e5baee7105b19715d057587e1f59
f9b3312035 [TypeDeclaration] Include MockObject&ClassName docblock with IntersectionTypeNode on TypedPropertyFromStrictSetUpRector (#5655)
2024-02-22 08:46:08 +00:00
Tomas Votruba e8568e6d97 Updated Rector to commit 8038ee15844b7753e5698bd42b62669d9ebca12b
8038ee1584 [TypeDeclaration] Skip possible returns false on ReturnTypeFromStrictNewArrayRector (#5654)
2024-02-21 20:27:59 +00:00
Tomas Votruba 9ae89c0674 Updated Rector to commit 6095e3216f057fbf8dded18cf982bfab034f8086
6095e3216f  [TypeDeclaration] Allow abs() to return int when pass int arg on ReturnTypeFromStrictTypedCallRector (#5653)
2024-02-21 19:55:12 +00:00
Tomas Votruba 283153802a Updated Rector to commit 99a79f8df18f4202f7c939b7996b9714abb78fe4
99a79f8df1 [TypeDeclaration] Fix abs() returns on ReturnTypeFromStrictTypedCallRector (#5652)
2024-02-21 16:18:55 +00:00
Tomas Votruba dc98feb11d Updated Rector to commit 290926cc8b93331dd715d7ea061847dafbc1821a
290926cc8b  [Util] Make consistent new line splitter to Util  (#5651)
2024-02-21 15:30:52 +00:00
Tomas Votruba d7100344be Updated Rector to commit 7e741fee0551af70bb6b3f45c95905fdf9d618ce
7e741fee05 Keep comments in annotations when converting them to attributes (#5650)
2024-02-21 15:17:39 +00:00
Tomas Votruba 194c0359f1 Updated Rector to commit a4445df500e51deb893319e180c3fbdf64e8dc25
a4445df500 Cleanup scope check on UnreachableStatementNodeVisitor (#5648)
2024-02-21 08:05:42 +00:00
Tomas Votruba c6cecac9f8 Updated Rector to commit 3b44873d14db5c15a33147bc6aa395e95ec17def
3b44873d14 [Renaming] Handle crash on RenameFunctionRector with die() and $_SESSION part 2 (#5647)
2024-02-21 07:47:43 +00:00
Tomas Votruba 4461c6c31d Updated Rector to commit 00876daa5dbda14d26b36b8c4365362b7e1cb7ac
00876daa5d [Renaming] Handle crash on RenameFunctionRector with die() and $_SESSION usage (#5646)
2024-02-20 20:26:25 +00:00
Tomas Votruba bf8ee68288 Updated Rector to commit 29562ce48e265fbd75bf13df5e6662af76a44846
29562ce48e [VendorLocker] Early return false on private method on ParentClassMethodTypeOverrideGuard::hasParentClassMethod() (#5644)
2024-02-20 19:00:33 +00:00
Tomas Votruba 7569719db8 Updated Rector to commit 381ecb376283095a82809fd319eae0cfd237165a
381ecb3762 Fix future note (#5643)
2024-02-20 16:24:11 +00:00
Tomas Votruba 1281d2f6ab Updated Rector to commit 522668e4edce544bcb17ba3d71182629df19fd95
522668e4ed [Performance] [VendorLocker] Early allow change return type on private method on ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() (#5642)
2024-02-20 16:01:20 +00:00
Tomas Votruba c2f97b2f3a Updated Rector to commit 23179d00859ca75e0b2e1ceff61bba93a9558806
23179d0085 [Transform] Allow transform fileExtensions() to withFileExtensions() (#5641)
2024-02-20 15:50:51 +00:00
Tomas Votruba 7105619218 Updated Rector to commit 70b1985921960bb02afbbfe16870bee2605e43b3
70b1985921 [Transform] Allow transform disableParallel() to withoutParallel() on RectorConfigBuilderRector (#5640)
2024-02-20 14:56:13 +00:00
Tomas Votruba 8cf7f785b6 Updated Rector to commit 3eb1aa2fe0b96e96f4f56fae720159107f57e4ae
3eb1aa2fe0 move strict bool and direct returns, as safer (#5639)
2024-02-20 00:02:15 +00:00
Tomas Votruba e68f6c257d Updated Rector to commit f107b4c82435c69068a7bb93aadaa288952e9901
f107b4c824 [Rector] Allow transform sets() to withSets() on RectorConfigBuilderRector (#5638)
2024-02-19 16:14:10 +00:00
Tomas Votruba a8232e0579 Updated Rector to commit d5c3fc753e321db315a8205ce5853ccf878b9f1e
d5c3fc753e [Transform] Allow transform ruleWithConfiguration() to withConfiguredRule() on RectorConfigBuilderRector (#5637)
2024-02-19 13:23:36 +00:00
Tomas Votruba d9e08f8aaf Updated Rector to commit a3d23752b85be3fbff187337ccbe461a4fe10f74
a3d23752b8 [DX] Add error message information for include full path to load internal phpstan bleedingEdge.neon config (#5635)
2024-02-18 19:27:49 +00:00
Tomas Votruba 35b646559b Updated Rector to commit 914349ca92cb1df4463b46f541c6e249045bd4ca
914349ca92 [CodeQuality] Skip not autoloaded parent class on CompleteDynamicPropertiesRector (#5636)
2024-02-18 18:32:48 +00:00
Tomas Votruba 6c843cb4e4 Updated Rector to commit 287deb27d125f599680faab4fec715dad4e61feb
287deb27d1 [PHPStan] Clean up ignore errors (#5634)
2024-02-18 15:45:54 +00:00
Tomas Votruba b3c461facb Updated Rector to commit a8d0dbeb7191d57af0ac9068adf644730f728c83
a8d0dbeb71 Add const fetch to class const fetch rector. (#5627)
2024-02-18 09:11:32 +00:00
Tomas Votruba 2f5015d654 Updated Rector to commit a4f28525c9df28ed142eabe1cde70035715fa785
a4f28525c9 [Transform] Allow transform bootstrapFiles() to withBootstrapFiles() on RectorConfigBuilderRector (#5633)
2024-02-18 00:33:46 +00:00
Tomas Votruba abeac2bdf6 Updated Rector to commit 85aba8e39f1fdf533680074accd34ab2c1ad8fc4
85aba8e39f [automated] Apply Coding Standard (#5632)
2024-02-18 00:28:38 +00:00
Tomas Votruba 30b36b6a9d Updated Rector to commit b621800bef5b820ef28b3d90d670b3f644e0c808
b621800bef [Transform] Allow transform autoloadPaths() to withAutoloadPaths() on RectorConfigBuilderRector (#5630)
2024-02-18 00:23:41 +00:00
Tomas Votruba 476bd88e73 Updated Rector to commit a533e70fca40571ab9504fbb857205b2be2eccb6
a533e70fca [Php80] Add DoctrineCoverterterAttributeDecorator to convert "false"/"true" string to false/true on nullable arg on Doctrine\ORM\Mapping\Column (#5629)
2024-02-17 10:59:16 +00:00
Tomas Votruba 531af37084 Updated Rector to commit 2ccf2dedae865100f20bd8fb649625cabb0e4ed3
2ccf2dedae Add basic validation for skipped path (#5628)
2024-02-16 22:00:46 +00:00
Tomas Votruba 95d40d3a99 Updated Rector to commit f347c7301fcfcb4cda2b61bb4b359ed01cee7070
f347c7301f Add method RectorConfigBuilder::withSkipPath() (#5626)
2024-02-16 19:08:11 +00:00