1832 Commits

Author SHA1 Message Date
Tomas Votruba
738f33982e Updated Rector to commit ef333502fb722ef471049b492a257781d02d0d62
ef333502fb Make NameScopeFactory simpler (#6092)
2024-07-01 06:16:16 +00:00
Tomas Votruba
e6124b8871 Updated Rector to commit 554cad981917c1d402601c9fb158e3be9a66eeb1
554cad9819 Avoid pre-mature abstract of union type (#6090)
2024-06-30 21:11:54 +00:00
Tomas Votruba
d03b346d78 Updated Rector to commit 1d6d468e8b6b6713d029fe5e6ffc05344cf08130
1d6d468e8b Remove TypeWithClassTypeSpecifierInterface as unused and solve in PHPStan (#6080)
2024-06-30 09:28:21 +00:00
Tomas Votruba
fce5077ee4 Updated Rector to commit 8c0ac8546f05cffd14df4a5d0f43787bfbbecfbd
8c0ac8546f Fix grammar for report sart with short open tag (#6079)
2024-06-30 04:21:20 +00:00
Tomas Votruba
3732dae0b1 Updated Rector to commit 9c41ee08fd90edc940ad117ea79d6a316138e867
9c41ee08fd Make CatchExceptionNameMatchingTypeRector run without alias resolver (#6067)
2024-06-28 13:08:07 +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
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
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
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
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
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
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
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
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
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
bcee52342f Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 21:56:39 +00:00
Tomas Votruba
38f53da4d7 Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 13:55:21 +00:00
Tomas Votruba
ce49022236 Updated Rector to commit ab06fea5b1a9e0a13353810e97d1c2e55047b3ca
ab06fea5b1 [StaticTypeMapper] Move namespaced name Name to specific NameNodeMapper (#5978)
2024-06-18 13:33:35 +00:00
Tomas Votruba
366181bbbf Updated Rector to commit e6775f06209683494ed75f494022a1d8461327c5
e6775f0620 Bump dependencies, remove few legacy interfaces (#5975)
2024-06-18 08:34:51 +00:00
Tomas Votruba
2058e5fc17 Updated Rector to commit 9a0d03a293b3a6aef9fb2c134c27586e2f046043
9a0d03a293 [Php74] Add RestoreIncludePathToIniRestoreRector (#5973)
2024-06-17 02:22:34 +00:00
Tomas Votruba
c582b6cd76 Updated Rector to commit c3dc626fbf71d43dd52e8b4c2c136667ce4b4514
c3dc626fbf [DeadCode] Skip dynamic variable on RemoveUnusedVariableAssignRector (#5964)
2024-06-13 17:57:46 +00:00
Tomas Votruba
90c6e6b6f3 Updated Rector to commit de31e6f73765bef8a7285a00114037c07712add7
de31e6f737 [Naming] Allow rename variable in multiple statements on RenameVariableToMatchMethodCallReturnTypeRector (#5963)
2024-06-13 01:30:38 +00:00
Tomas Votruba
5b56f97fec Updated Rector to commit 459843b1617a401d02e8cf5e6a1054f43f069f0d
459843b161 [DeadCode] Use PHPStan $functionReflection->hasSideEffects()->yes() early when possible on PureFunctionDetector (#5962)
2024-06-11 22:11:13 +00:00
Tomas Votruba
71e5a86da3 Updated Rector to commit 2cdf4bc783081cb52c602b989577756e4782d18f
2cdf4bc783 [CodeQuality] Add support for (), {}, [], <> delimiter on RegexPatternDetector (#5957)
2024-06-10 22:00:09 +00:00
Tomas Votruba
fdaee6accb Updated Rector to commit 1c2e3d86a853a7b830f0c29a5cacd8a6ff76c977
1c2e3d86a8 Remove the renaming of apache_request_headers (#5943)
2024-06-05 09:25:18 +00:00
Tomas Votruba
93cf454345 Updated Rector to commit 035d47ac3bdc4d8159edf8dd50f23727a5f216a1
035d47ac3b [Test] Fix typo file extension test for ArrayItemNodeTest (#5941)
2024-06-04 08:04:33 +00:00
Tomas Votruba
3dc925f85c Updated Rector to commit 07a61c18f678a24c102a83a4498265c874fab617
07a61c18f6 [Strict] Fix double === 0 comparison on BooleanInBooleanNotRuleFixerRector (#5940)
2024-06-03 14:53:21 +00:00
Tomas Votruba
d8b5e9fad8 Updated Rector to commit dc31daeb27044450eb8fac1532e872c389a3487a
dc31daeb27 [Cleanup] Remove deprecated AttributeKey::PARENT_NODE, remove deprecated NodeNameResolver::isCaseSensitiveName() (#5939)
2024-06-03 11:47:40 +00:00
Tomas Votruba
f010267a7c Updated Rector to commit 6b69971dfc740a58aed918782d02710e42004e9d
6b69971dfc [NodeTypeCorrector] Directly use StringType on Intersection of strings on AccessoryNonEmptyStringTypeCorrector (#5933)
2024-06-01 09:25:16 +00:00
Tomas Votruba
7498eeeea2 Updated Rector to commit a3ed07f8c8c0b2f7cbd78ce7711871d31bad3998
a3ed07f8c8 [TypeDeclaration] Do not remove docblock with description on MergeDateTimePropertyTypeDeclarationRector (#5931)
2024-05-31 12:20:27 +00:00
Tomas Votruba
42e9685318 Updated Rector to commit 3090229c9059eb2cc926309d106a5b712b4a3533
3090229c90 [Php81] Skip private method from instantiated class on FirstClassCallableRector (#5929)
2024-05-30 14:16:06 +00:00
Tomas Votruba
7470aa5cdd Updated Rector to commit 2039b67eacda6f438070003568544c3e576bc84c
2039b67eac Exclude IncreaseDeclareStrictTypesRector from rector-preset set as conflict with DeclareStrictTypesRector (#5926)
2024-05-30 07:56:15 +00:00
Tomas Votruba
8a83c1053a Updated Rector to commit 303a1d72497e92464f3cf6f4914f82f4aec8f6a5
303a1d7249 [DX] Ommit static functions/closure from coding-style, as often ignored and depends on personal preference (#5916)
2024-05-29 00:44:25 +00:00
Tomas Votruba
8be3783a6a Updated Rector to commit c625b4cd7feda6cc9e51499d5fcdcd19141227ad
c625b4cd7f [CodingStyle] Use specific mapper FullyQualifiedNodeMapper on NameImporter to get PHPStan type of FullyQualifiedNode (#5914)
2024-05-27 18:32:58 +00:00