Commit Graph

17873 Commits

Author SHA1 Message Date
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
Tomas Votruba f1e807548e Updated Rector to commit 7cd56d864dc52f88416c47845239ad897467a003
7cd56d864d RectorConfigBuilder: skip and rules can be called multiple times (#5623)
2024-02-16 16:38:11 +00:00
Tomas Votruba 7a0ac36084 Updated Rector to commit d0f0e9737dc3b7e9c39ef3b6e72a9f62aa0c7d67
d0f0e9737d Add minimal memory limit for local run phpstan without result cache (#5624)
2024-02-16 16:37:54 +00:00
Tomas Votruba 718d430b73 Updated Rector to commit f8ebe9b56b60f2cea6f5a0f6042aa8a2c844961a
f8ebe9b56b Update PHP version in CONTRIBUTING.md (#5625)
2024-02-16 16:33:51 +00:00
Tomas Votruba 0d8881ecb3 Updated Rector to commit 39d9c321b99b58ebe32131f08e42cfa4b517ed79
39d9c321b9 [Php83] Early check private method in child before check parent on AddOverrideAttributeToOverriddenMethodsRector (#5622)
2024-02-16 14:42:02 +00:00
Tomas Votruba 258b775511 Rector 1.0.1 2024-02-16 07:53:23 +00:00
Tomas Votruba faf7fee8e4 Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
c4dd05e2e3 [CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)
2024-02-15 14:52:20 +00:00
Tomas Votruba 6ef7f81fc3 Updated Rector to commit c4dd05e2e3ae6359ff4eb57ce7d7bd7619da139d
c4dd05e2e3 [CodeQuality] Add StaticToSelfStaticMethodCallOnFinalClassRector (#5621)
2024-02-15 12:52:16 +00:00
Tomas Votruba 53742c371b Updated Rector to commit 70fa502a59dfb8f81011a46a456e1ccb4051be76
70fa502a59 [CodeQuality] Skip private static call from static:: on LocallyCalledStaticMethodToNonStaticRector (#5620)
2024-02-15 09:08:32 +00:00
Tomas Votruba b0b2790db0 Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6
4a3137cf6e remove cached fixture
2024-02-14 19:46:39 +00:00
Tomas Votruba 8e5eb93b0b Updated Rector to commit 4a3137cf6e5d0e0e71ee93e6f9b82ae9726603e6
4a3137cf6e remove cached fixture
2024-02-14 19:38:02 +00:00
Tomas Votruba 055cd31f66 Updated Rector to commit 2ff0f08bd7f7f6c848821bcabf0872f81a9c440b
2ff0f08bd7 [PHP 8.0] Add always class to AnnotationToAttribute to include string to ::class reference conversion (#5619)
2024-02-14 19:28:57 +00:00
Tomas Votruba a022b931b8 Updated Rector to commit 435d125053eed8764652ccf8565bde1660ee08ce
435d125053 Move StrictArrayParamDimFetchRector and StrictStringParamConcatRector to last rules on TypeDeclarationLevel (#5618)
2024-02-14 14:40:00 +00:00
Tomas Votruba 51ddee6f5c Updated Rector to commit d62be327173447695dea93ff52d67d087d9fb9d4
d62be32717 [DX] Accept Y/y for confirmation of init config (#5616)
2024-02-14 09:09:41 +00:00
Tomas Votruba 64ecb6b387 Updated Rector to commit 82d1e1b0c8b80d7a2f30aa4b0fa988a683427db9
82d1e1b0c8 [Php81] Handle nested Fqcn UniqueConstraint on NestedAnnotationToAttributeRector (#5614)
2024-02-13 14:47:21 +00:00
Tomas Votruba d85a9f8be0 Updated Rector to commit 539cfeb35c55cec4b2b5b20045cfdc4a437728f4
539cfeb35c [BetterPhpDocParser] Move split new line with @\ to regex to support windows new line (#5615)
2024-02-13 10:48:33 +00:00
Tomas Votruba adf6cdfc87 Updated Rector to commit 95f9772f17b436fce469f68b1ed09445131235ee
95f9772f17 [Php81] Handle after open parentheses on AnnotationToAttributeRector (#5613)
2024-02-13 05:08:05 +00:00
Tomas Votruba b9e54635e9 Updated Rector to commit 7afec9a02c39848257341c4d2d08e1ddf52bc58b
7afec9a02c Add unique PHP 8.1 constraints (#5612)
2024-02-13 04:45:07 +00:00
Tomas Votruba f863e8b003 Updated Rector to commit 7de77e518f7b47b7c7ba0d96152d4acdad958639
7de77e518f [TypeDeclaration] Add AddTestsVoidReturnTypeWhereNoReturnRector (#5611)
2024-02-12 22:55:41 +00:00
Tomas Votruba 1bea0c9d65 Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 17:05:47 +00:00
Tomas Votruba c64634c7d7 Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 16:56:09 +00:00
Tomas Votruba 37b8c7c87c Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 16:03:52 +00:00
Tomas Votruba d1ca847d5b Updated Rector to commit 48e8cfab19f5572f6419876a8f5cec0109966862
48e8cfab19 [Php80] Support windows new line line DoctrineAnnotationDecorator::LONG_ANNOTATION_REGEX (#5610)
2024-02-12 15:59:12 +00:00
Tomas Votruba 1d666f3abf Updated Rector to commit 6dd91df6c991f7f0d5cd8422fc22be1367563262
6dd91df6c9 [PHP 8.0] Fix annotation to attribute in case of FQN class without () (#5609)
2024-02-12 15:41:50 +00:00