Commit Graph

17912 Commits

Author SHA1 Message Date
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
Tomas Votruba a120574816 Updated Rector to commit 14eb72c7bb6edc4a6e80c73c722f54465d947531
14eb72c7bb [DeadCode] Handle used in assign return on RemoveUnusedPrivatePropertyRector (#5608)
2024-02-12 14:51:52 +00:00
Tomas Votruba 360f068804 Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 13:17:09 +00:00
Tomas Votruba 7cbf0706f9 Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 10:19:39 +00:00
Tomas Votruba 18992ab52d Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 09:34:34 +00:00
Tomas Votruba ae1e3ab8ca Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 09:14:26 +00:00
Tomas Votruba b2e06f0820 Updated Rector to commit 5edb023974a55b0efee74dd9fe92b314dd521f2c
5edb023974 fix config for configured rule
2024-02-12 09:01:02 +00:00
Tomas Votruba a14ff93dec Updated Rector to commit 5dd8a4b14f4f4d2717565b41da544775a61e350c
5dd8a4b14f remove duplicated line
2024-02-12 08:59:42 +00:00
Tomas Votruba 06f50472a3 Updated Rector to commit 6c7dbaad0ab67dd06cef9237fab3728ae4f23e9a
6c7dbaad0a config method must be static, to avoid creating rule before loading related ctor services (#5606)
2024-02-12 08:57:06 +00:00
Tomas Votruba b8be29526e Updated Rector to commit 62ba91690bda77bfa41075d5dda3d0487a869580
62ba91690b [internal] Add RelatedConfigInterface to load external services (#5605)
2024-02-12 08:46:32 +00:00
Tomas Votruba de79e08a92 Updated Rector to commit 8d524d4c3b4a8b506d558eec23caf1923e59bb81
8d524d4c3b [PostRector] Skip remove unused imports on used in multiple docs in single node (#5604)
2024-02-12 08:46:12 +00:00
Tomas Votruba 12e1b38e32 Updated Rector to commit df8d2b78edd46542e6426fec606c3ea98d712532
df8d2b78ed Copy subtype phpdoc on ClassPropertyAssignToConstructorPromotionRector (#8438) (#5603)
2024-02-11 23:33:46 +00:00