Commit Graph

90 Commits

Author SHA1 Message Date
Tomas Votruba 7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba 1731eeac5d Updated Rector to commit befe096ca10f7476efeb082fb7c736ba7bd07af5
befe096ca1 [phpstan] tidy up bin files, group complex errors + Cleanup AddTypeToConstRector (#5405)
2023-12-31 20:56:31 +00:00
Tomas Votruba 9d01b5b403 Updated Rector to commit d9c5d8f09bfd68e7496c07c23ddac03447cfbb32
d9c5d8f09b [Strict] Allow check '0' empty zero on BooleanInTernaryOperatorRuleFixerRector on string type (#5297)
2023-12-03 15:49:51 +00:00
Tomas Votruba f9c1f58ffc Updated Rector to commit 52b665436c0f2161619b265caa3f2a65be5604dc
52b665436c [PHP83] Implements a rule to add types to class constants (#5290)
2023-12-03 14:59:47 +00:00
Tomas Votruba beb21d1b36 Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
3c1035bb6d [DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094)
2023-09-30 19:57:09 +00:00
Tomas Votruba 6f8ff0f9d5 Updated Rector to commit 2ffa009e08d06c7522a1f3b066f90e8edbee8210
2ffa009e08 [DX] Make use of Laravel container in few tests - step #1 (#4672)
2023-08-06 15:14:10 +00:00
Tomas Votruba 50857a197a Updated Rector to commit 5ed67fb6cfd7bdb79ac993797123f25e78d61d11
5ed67fb6cf Cleanup RenameForeachValueVariableToMatchExprVariableRector (#4453)
2023-07-09 11:25:27 +00:00
Tomas Votruba 00783a90ea Updated Rector to commit 91cf7cc721c70ec8914c1bc4855a810bb85b640c
91cf7cc721 Remove CachedContainerBuilder (#4211)
2023-06-13 12:34:33 +00:00
Tomas Votruba d977ea6b6f Updated Rector to commit 2766aa8ac4a273b0d0a6e0869eb71eca428fcaf0
2766aa8ac4 [Performance] Reduce repetitive parent lookup on BetterNodeFinder::findFirstNext() by inline search when possible (#3885)
2023-05-18 15:08:46 +00:00
Tomas Votruba 219ab6ff69 Updated Rector to commit ae78ef15d1d27bd5f9df02457d02a0fb7d7c3c20
ae78ef15d1 Remove tweak require symplify/smart-file-system (#3882)
2023-05-17 15:38:16 +00:00
Tomas Votruba 569c7dc229 Updated Rector to commit 5e3afcbdafde000f950ee844f22a2b020216cd82
5e3afcbdaf Revert Cleanup CachedContainer invalidation (#3867) (#3880)
2023-05-17 15:07:40 +00:00
Tomas Votruba c7f7b9b6bb Updated Rector to commit f0141afbc14283e1d7b2f40b5d30e42ab0045623
f0141afbc1 Cleanup CachedContainer invalidation (#3867)
2023-05-17 13:02:11 +00:00
Tomas Votruba 86550a9ea2 Updated Rector to commit 8354587b777450cb9f2e3bd48cf750d81b78cf05
8354587b77 [Core] Remove deprecated ContainerConfigurator warning since RectorConfig available since 0.12 (#3217)
2022-12-18 16:22:29 +00:00
Tomas Votruba 7211a6c632 Updated Rector to commit 6cdebe40bd259e25f5832c01c8ef65117cf3c010
6cdebe40bd [DX] Remove PackageBuilder classes (#2885)
2022-09-01 20:10:11 +00:00
Tomas Votruba f188888181 Updated Rector to commit bdf11c5968
bdf11c5968 [DX] Add deprecation exception about old ContainerConfigurator, to prepare for removal even in CI
2022-06-09 10:19:12 +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 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 2e28c5e4af Updated Rector to commit 83f7e9f3ab
83f7e9f3ab [DX] Remove too detailed --type in init command, use fw documentation instead (#2430)
2022-06-04 11:53:51 +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 4d4eb2f2ad Updated Rector to commit ca5b89baad
ca5b89baad [Core] Refactor InfiniteLoopValidator (#1771)
2022-02-06 10:37:45 +00:00
Tomas Votruba 361d8f4a2f Updated Rector to commit f374b9faa8
f374b9faa8 [PHP 8.0] Include keys in annotation to attribute transformation (#1766)
2022-02-05 10:39:52 +00:00
Tomas Votruba c502187b4d Updated Rector to commit 303ecc342d
303ecc342d Remove useless type castings in  method (#1678)
2022-01-15 10:33:01 +00:00
Tomas Votruba d60e53c3ca Updated Rector to commit 1f7170df9e
81b7411267 Fix access to optional array key when using  function 1f7170df9e Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba b21c7e2dc8 Updated Rector to commit 21c9c1c16d
21c9c1c16d fix symfony/console compatibility break with psr/log
2021-11-23 13:20:36 +00:00
Tomas Votruba 8e7dd2e640 Updated Rector to commit b7d37b828e
b7d37b828e Remove dead classes (#1133)
2021-11-02 16:51:44 +00:00
Tomas Votruba 00f3fbe30d Updated Rector to commit ad15c5f694
ad15c5f694 [TypeDeclaration] Removing NodeRepository from ParamTypeDeclarationRector (#597)
2021-08-05 08:31:23 +00:00
Tomas Votruba c99e19b804 Updated Rector to commit 4f619aae72
4f619aae72 NodeRepository usage cleanup (#287)
2021-06-25 06:35:08 +00:00
Tomas Votruba 1fc5dba0b1 Updated Rector to commit 7a712ba445
e2bd8de348 resolve version on release 7a712ba445 date time
2021-05-19 00:12:47 +00:00
Tomas Votruba 6d32da57f9 Updated Rector to commit a60e3ac320
a60e3ac320 warn about infinite loop node modification (#51)
2021-05-16 18:32:58 +00:00
Tomas Votruba 7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba 363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba 94df140c4d
[Downgrade] Report changed widening in another class (#6193)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 11:29:04 +00:00
Tomas Votruba 2be6607854
[Reporting] Move missing rector services to single class (#5881) 2021-03-17 19:59:47 +01:00
Tomas Votruba d7353baf2c
Misc cleanup (#5456)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-08 12:33:17 +00:00
Tomas Votruba b6b8ac0c4c
Less traits 3, drop duplicated issue tests (#5385) 2021-01-31 00:14:13 +00:00
Tomas Votruba a7705ed0a5
[Symplify 9] First update + switch to RuleDocGenerator (#4616)
* [composer] bump to Symplify 9

* [Symplify 9] Update phpstan rules

* bump to Symplify 9 BETA2

* update AbstractKernel from Tests to Testing namespace

* decoupling removing node trait

* remove fluent calls

* removing variadic

* [CodingStyle] Improve AnnotateThrowablesRector

* bump deps

* Make use of RuleDocGenerator

* first short

* [DocumentationGenerator] Drop deprecated package, RuleSetGenerator now handles it

* import namespace

* update docs
2020-11-16 17:50:38 +00:00
Tomas Votruba e7c1ded364
fix linter (#4537) 2020-11-01 16:57:12 +01:00
Tomas Votruba 2c120e283e
Inform about useless second part in tests fixture, after -----, if it is identical (#4514)
* embed skip fixture of same before/after

* [Testing] Add exception on identical second half of the fixture, that should not change

* [ci] use composer 2 for code_analysis

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-30 13:56:55 +00:00
Tomas Votruba 245000a0ce
[DeadCode] Improve unused private property detection (#4430)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-16 21:29:29 +02:00
TomasVotruba 3a9375007e decouple Set package 2020-07-21 01:39:24 +02:00
dobryy 78e518c105 check minimal php version 2020-07-08 20:36:27 +02:00
TomasVotruba 8ea0051df5 add OnlyRuleResolver to prevent typos and make use of short slash-less syntax 2020-06-18 00:19:13 +02:00
TomasVotruba ddf8de2e17 move AffectedFilesCollector to ChangesReporting 2020-03-19 13:56:38 +01:00
TomasVotruba 607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba 69adcb274c [DX] Make sure provided node types are children of node 2020-01-18 00:27:07 +01:00
TomasVotruba e4f1380c19 Add PHP linter 2020-01-17 16:43:25 +01:00
TomasVotruba 53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00