5623 Commits

Author SHA1 Message Date
Tomas Votruba
2c2b95988f Updated Rector to commit 0796b9267ec313696e57a3cf5d9cd06a923bb62b
0796b9267e [TypeDeclaration] Add AddClosureReturnTypeFromStrictNativeCallRector (#6059)
2024-06-28 07:33:59 +00:00
Tomas Votruba
c950697298 Updated Rector to commit c1e0136582837d4322c76e4d7f5ea58a4cc1d68c
c1e0136582 [TypeDeclaration] Add AddClosureReturnTypeFromReturnCastRector (#6061)
2024-06-27 19:35:55 +00:00
Tomas Votruba
8e436d37b3 Updated Rector to commit 2178a0559151516f18af39b012f81372bab15cf1
2178a05591 add explicit mixed types in strict declares (#6058)
2024-06-27 09:46:41 +00:00
Tomas Votruba
a8d6183cb0 Updated Rector to commit 33ccf7e416bb6314f17597b1735a399bf769acbf
33ccf7e416 [CI] Make linter simple (#6057)
2024-06-27 07:54:21 +00:00
Tomas Votruba
7606c886a2 Updated Rector to commit fa93e6502bcb1d78f811c4a5af4e044c9b3bf73d
fa93e6502b [Php81] Handle usage as arg by ref key on falsy ObjectType on ReadOnlyPropertyRector (#6054)
2024-06-27 06:38:48 +00:00
Tomas Votruba
fbeb28108e Updated Rector to commit 6be29cb334c36a803a5a82a420f4b21e11b4389a
6be29cb334 remove e2eTestChangingRunnerWithCache (#6048)
2024-06-26 14:48:45 +00:00
Tomas Votruba
462ba01b9d Updated Rector to commit d6102594b3dd109267e5e5448206373cba8ad043
d6102594b3 [DX] Inform about deprecated rules in config (#6047)
2024-06-26 14:21:24 +00:00
Tomas Votruba
c22f5df110 Updated Rector to commit ca9d1f733f801a06ea23e786094ead5e9b5e4623
ca9d1f733f [TypeDeclaration] Add AddClosureReturnTypeFromStrictParamRector (#6044)
2024-06-26 13:34:02 +00:00
Tomas Votruba
5e279558fc Updated Rector to commit 5bb9cbafb58949e3e05c5c3a294d86df2c4902a0
5bb9cbafb5 Fix downgrade error: namespace Foreach should be Foreach_ (#6045)
2024-06-26 10:52:45 +00:00
Tomas Votruba
3dc474ce71 Updated Rector to commit dbcc9cb871623c76b7db7b31d1cb43f8268a3bec
dbcc9cb871 [TypeDeclaration] Add AddClosureNeverReturnTypeRector (#6039)
2024-06-26 09:08:01 +00:00
Tomas Votruba
8b4bf1857a Updated Rector to commit 7e79ae201c4de45815db5d43531e38babfb82786
7e79ae201c [Cleanup] Remove FormatPerservingPrinter as only delegate method, use BetterStandardPrinter directly (#6036)
2024-06-26 03:43:22 +00:00
Tomas Votruba
10e64410ff Updated Rector to commit 87411545f3ddb40fef7cbefcac5b7a0d3c511242
87411545f3 [Cleanup] Remove @changelog as no longer maintained/used, use RuleDefinition instead (#6035)
2024-06-26 03:35:12 +00:00
Tomas Votruba
68c7f74a2a Updated Rector to commit d2c9088cea86f0a268b8626a95e2d19a9b90b5f1
d2c9088cea [TypeDeclaration] Add AddClosureUnionReturnTypeRector (#6033)
2024-06-26 02:50:54 +00:00
Tomas Votruba
0f837d351d Updated Rector to commit e693d17fbe677be47750632f896366b6febe78fb
e693d17fbe feat: Support functions for first-class-callable (#6027)
2024-06-26 02:35:51 +00:00
Tomas Votruba
c49badceec Updated Rector to commit 8f0a09cc249e2725936a0eff3dd2651ebb10881a
8f0a09cc24 [Bridge] Add SetRectorsResolver, SetProviderCollector for easier use in 3rd-party tools (#6030)
2024-06-25 07:21:34 +00:00
Tomas Votruba
8aadb5aae7 Updated Rector to commit e1c750cc0cdd43747e187767a80e442ae9ffc8c0
e1c750cc0c make versioned set name tolerante for global name
2024-06-25 03:00:03 +00:00
Tomas Votruba
2df735b922 Updated Rector to commit 5db98f0dba56178ddabd4117d6bf8bdd89cbe5b1
5db98f0dba add symfony group
2024-06-25 02:37:01 +00:00
Tomas Votruba
2b1265399c Updated Rector to commit 084d5d6b71c55336a51af00c342e6a6be925e18f
084d5d6b71 fix: Skip static calls which are made using the class name (#6024)
2024-06-25 01:01:08 +00:00
Tomas Votruba
8663b06069 Updated Rector to commit 1b2a3f806e3050165febdddf39827bfcac5c3cec
1b2a3f806e [Sets] Add PHP and Core set providers (#6026)
2024-06-24 15:55:48 +00:00
Tomas Votruba
08b3d7c60c Updated Rector to commit db95a3b35e93e4cd84f1f86b273fd855d45a6db8
db95a3b35e [DX] Add set object (#6025)
2024-06-24 15:27:06 +00:00
Tomas Votruba
6ccf847c93 Updated Rector to commit 17894d729f7711e9540340f3e6c6847fa40a9679
17894d729f restore
2024-06-24 13:01:17 +00:00
Tomas Votruba
79ed76f527 Updated Rector to commit fb05cf0557a2d8e73386d461aa9fbadd931d1ee1
fb05cf0557 [DX] Add withDowngradeSets() to better target downgrades (#6015)
2024-06-23 14:34:41 +00:00
Tomas Votruba
f38e318bb7 Updated Rector to commit fb05cf0557a2d8e73386d461aa9fbadd931d1ee1
fb05cf0557 [DX] Add withDowngradeSets() to better target downgrades (#6015)
2024-06-23 02:33:44 +00:00
Tomas Votruba
45b5cefa4c Updated Rector to commit 461fd66ef53130599155236b83bf16be1616d15b
461fd66ef5 remove from CI badges
2024-06-23 01:09:34 +00:00
Tomas Votruba
bce5a105f0 Updated Rector to commit 61ae6d6d3cc3b16312ead9e817da6d86995d25c4
61ae6d6d3c [Internal] Remove recipe-based generator as not used (#6014)
2024-06-23 00:57:52 +00:00
Tomas Votruba
ec03eec94a Updated Rector to commit 41eac561ccc1416f1fd1882473daa54a3c9f8603
41eac561cc [Php72] Handle crash on Concat after FuncCall on CreateFunctionToAnonymousFunctionRector (#6007)
2024-06-22 19:09:25 +00:00
Tomas Votruba
0673f04f01 Updated Rector to commit fa25356b127eb08d83ad24e399eafbaf70d62d96
fa25356b12 bump docs
2024-06-22 17:50:31 +00:00
Tomas Votruba
a3156b505f Updated Rector to commit 82c7838b40946ccab2fd42240370ffed406aed7c
82c7838b40 [Renaming] Add RenameAttributeRector (#6009)
2024-06-22 17:14:08 +00:00
Tomas Votruba
fb1ff0fcf4 Updated Rector to commit 6c86d9ac707d711ea6ffb521ff2c6223578b68f9
6c86d9ac70 [DX] Add symfony configs set
2024-06-22 16:50:53 +00:00
Tomas Votruba
32fd0662b0 Updated Rector to commit 6c86d9ac707d711ea6ffb521ff2c6223578b68f9
6c86d9ac70 [DX] Add symfony configs set
2024-06-22 15:54:33 +00:00
Tomas Votruba
405b40b339 Updated Rector to commit 6c86d9ac707d711ea6ffb521ff2c6223578b68f9
6c86d9ac70 [DX] Add symfony configs set
2024-06-22 15:46:00 +00:00
Tomas Votruba
70f72015a2 Updated Rector to commit 4d9e287130a8a6576766c8e7159ddd2d658255e3
4d9e287130 [DX] Add symfony code quality preset (#6008)
2024-06-22 15:34:06 +00:00
Tomas Votruba
ec439cea0a Updated Rector to commit d069a9900003a8d4b748db525a07c29caa07cc14
d069a99000 [DX] Add withAttributes(all) option, add PHPUnit and Doctrine code quality sets to withPreparedSets() (#6004)
2024-06-22 08:31:51 +00:00
Tomas Votruba
1864849ba6 Updated Rector to commit 7729427f459ac348983ee18abff6024db59e9b4f
7729427f45 Few static error fixes (#6002)
2024-06-22 02:50:20 +00:00
Tomas Votruba
02a1a1ae26 Updated Rector to commit 7729427f459ac348983ee18abff6024db59e9b4f
7729427f45 Few static error fixes (#6002)
2024-06-22 01:46:37 +00:00
Tomas Votruba
e8a9a2ec6b Updated Rector to commit 676bb071a3e6a8a959526b84ce34ca75d4a61b3b
676bb071a3 [ci] Remove outside any set, as not much valueable (#5998)
2024-06-21 13:41:27 +00:00
Tomas Votruba
aa95e97cb0 Updated Rector to commit c47a2558970a12e3d517becb277df5dc7df8ec43
c47a255897 [phpstan] Add type perfect package (#5996)
2024-06-21 13:21:36 +00:00
Tomas Votruba
1951a60c4f Updated Rector to commit 6b11f63e63fc75ea80a4ee609f3e175863305b6f
6b11f63e63 [Configuration] Use TwigSetProvider from rector-symfony (#5992)
2024-06-21 00:29:11 +00:00
Tomas Votruba
a75c607420 Updated Rector to commit cecb60da20dfbe57e70ac43d606eba711aed4e8c
cecb60da20 [DX] Suggest to use withSets() when using multiple PHP version, eg both php 7.4 and 8.0 on CI on Notifier messages (#5991)
2024-06-20 17:19:16 +00:00
Tomas Votruba
f4b3213ffc Updated Rector to commit 891bfdaf9ea8d10341fe4a3c63c25aa8245de79b
891bfdaf9e [NodeTypeResolver] Clean up check ConstFetch on getType() on no scope (#5990)
2024-06-20 15:57:45 +00:00
Tomas Votruba
856c640750 Updated Rector to commit 2dda748541be13dac8ef328011bc50233f2030bc
2dda748541 [DX] Introduce set providers, to enable package + version based set registration (#5976)
2024-06-20 14:55:23 +00:00
Tomas Votruba
9d08250ee1 Updated Rector to commit f366a7e66228f35dc877e816b553c4f38332f801
f366a7e662 [DX] add notifyWithPhpSetsNotSuitableForPHP80() (#5988)
2024-06-20 14:07:51 +00:00
Tomas Votruba
8453ac2612 Updated Rector to commit afdf525d46e29655076253ec8d35e780cadd1be2
afdf525d46 [DX] Add ->withPhpXSets() for PHP 7.4 and lower, improve ->withPreparedSets() (#5984)
2024-06-20 13:21:23 +00:00
Tomas Votruba
3001d27efb Updated Rector to commit f422877be87a75151eb6fe1cd5a48cde2bc194fa
f422877be8 Add git to Dockerfile to allow running tests (#5987)
2024-06-20 11:56:25 +00:00
Tomas Votruba
1f7f9141bc Updated Rector to commit a2694bb1926725826c463ef9a963e2598c5d5dda
a2694bb192 [PHPStanStaticTypeMapper] Use existing isInstanceOfCollectionType() on DoctrineTypeAnalyzer (#5986)
2024-06-20 09:55:02 +00:00
Tomas Votruba
31b1d6440a Updated Rector to commit d945b22f31809a7e15b8d8663931ae128551e38c
d945b22f31 Various cleanups (#5982)
2024-06-20 05:58:14 +00:00
Tomas Votruba
fdbe0039e0 Updated Rector to commit e007104cf6348db447120feeb76a1b1e7b889b44
e007104cf6 [DX] Enable polyfill rules on withPhpSets() config (#5981)
2024-06-20 02:52:53 +00:00
Tomas Votruba
48397d3f81 Updated Rector to commit a787d4c8f6b15ba3590e91746326241efeec8656
a787d4c8f6 Remove deprecated and empty FinalizeClassesWithoutChildrenRector + FinalizePublicClassConstantRector (#5980)
2024-06-19 15:40:53 +00:00
Tomas Votruba
62cf2ca921 Updated Rector to commit 69872ef5930d31c13bb7c9b1650ff4137269c1a4
69872ef593 cs
2024-06-19 06:55:25 +00:00
Tomas Votruba
bcee52342f Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 21:56:39 +00:00