1
0
mirror of https://github.com/rectorphp/rector.git synced 2025-02-16 22:04:54 +01:00

17929 Commits

Author SHA1 Message Date
Tomas Votruba
7a1293fda7 Updated Rector to commit 09d2a599613ac2e174e9d0b825c9da1b8c93b0e4
09d2a59961 few static fixes ()
2024-05-20 02:37:37 +00:00
Tomas Votruba
39908b6b4e Updated Rector to commit f30405751176cf6504a86a8f9e6661c55806b38e
f304057511 Convert time() to Carbon::now()->timestamp ()
2024-05-20 00:15:21 +00:00
Tomas Votruba
fce5bf1293 Updated Rector to commit 0e5343cb24ce394701c5321eb5976573dd8c0afe
0e5343cb24 Few PHPStan fixes ()
2024-05-19 17:46:36 +00:00
Tomas Votruba
9a455bf300 Updated Rector to commit 7d65537690d8d788b595b46f026920b4b17eaaf5
7d65537690 Fix few static errors ()
2024-05-19 17:16:04 +00:00
Tomas Votruba
2210bace5e Updated Rector to commit 196b2d0947a0dbec176209113f52e82ac5673e2b
196b2d0947 Cleanup fixed phpstan errors ()
2024-05-19 16:10:19 +00:00
Tomas Votruba
9f86c20c73 Updated Rector to commit b2613baaf6dbf85c9a784b3baf652925c2f480d2
b2613baaf6 make refactorWithClass() private as it should be
2024-05-19 08:27:29 +00:00
Tomas Votruba
f7ce209bd1 Updated Rector to commit fe31e195e3797b13d296899dda27f30e4980b079
fe31e195e3 [Carbon] Add immutable support to other rules ()
2024-05-19 02:29:27 +00:00
Tomas Votruba
4cadabfe9a Updated Rector to commit 1fd156bddbfece24ad48f83e2a65fb44ccb5392d
1fd156bddb Convert DateTimeImmutable to CarbonImmutable ()
2024-05-19 02:09:52 +00:00
Tomas Votruba
3f56884569 Updated Rector to commit b2ec1f0b413e16760c41707b74c936f7445e13ab
b2ec1f0b41 [Carbon] Skip first class callable on DateTimeMethodCallToCarbonRector ()
2024-05-18 14:48:45 +00:00
Tomas Votruba
22d3d1949d Updated Rector to commit 6ebfa15e733ac340249418057ed3f7615e717ac1
6ebfa15e73 Bump to react/promise 3.1 ()
2024-05-18 13:49:01 +00:00
Tomas Votruba
62a900a1c0 Updated Rector to commit 56d55d0d1e7c064f0859c54d5afc05b5d15d6e9a
56d55d0d1e cs
2024-05-18 13:31:16 +00:00
Tomas Votruba
b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon ()
2024-05-18 13:30:48 +00:00
Tomas Votruba
7ac6f7bf7e Updated Rector to commit 5df95d9a955523a1737442a26f4a412cafc41226
5df95d9a95 Update unit test config to avoid using TypeCombinator::addNull() ()
2024-05-18 12:49:12 +00:00
Tomas Votruba
556509e2dc Rector 1.1.0 1.1.0 2024-05-18 09:40:27 +00:00
Tomas Votruba
dfaafdbd3a Updated Rector to commit 8e4e8823f227290fb6b014c79b48ce211c2376b5
8e4e8823f2 Bump to PHPStan 1.11 ()
2024-05-18 08:00:27 +00:00
Tomas Votruba
dd1dd510f5 Updated Rector to commit 4f301f2335b0fef2934ddaf53471ebd961de1f71
4f301f2335 [Configuration] Add missing LevelSetList::UP_TO_PHP_84 on PhpLevelSetResolver::resolveFromPhpVersion() ()
2024-05-18 07:39:08 +00:00
Tomas Votruba
c6998bfca9 Updated Rector to commit 19863767c63503e19aed359d849fa55bbf3a1df9
19863767c6 [TypeDeclaration] Skip unitialized property on EmptyOnNullableObjectToInstanceOfRector ()
2024-05-17 02:56:57 +00:00
Tomas Votruba
264e16fdae Updated Rector to commit 2deccac9b501bc1aa09ba7e8bfe6271b73e5b8dc
2deccac9b5 [PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan 1.11 ()
2024-05-16 14:47:37 +00:00
Tomas Votruba
1931c635c0 Updated Rector to commit b938e0797f8c3e30f527d1dabad384e4623140de
b938e0797f [TypeDeclaration] Add test for nullable object usage on AddReturnTypeDeclarationRector ()
2024-05-16 14:03:35 +00:00
Tomas Votruba
df8a377557 Updated Rector to commit 16d1df9be8cdbdf6e5b67f97fa225731ac0c9675
16d1df9be8 [NodeTypeResolver] No need to resolve class name on anonymous classes ()
2024-05-16 13:22:30 +00:00
Tomas Votruba
6372b90b19 Updated Rector to commit db213ee986c942d58e397b3713564349541e8de5
db213ee986 [PHPStan] Handle PHPStan internal ShouldNotHappenException on FamilyRelationsAnalyzer and PHPStanNodeScopeResolver ()
2024-05-16 12:51:40 +00:00
Tomas Votruba
6cf705918e Updated Rector to commit 6a5f6c53f3637b23b4488cab81ec90a0d1bef053
6a5f6c53f3 [TypeDeclaration] Handle crash on interface Mixin on ReturnTypeFromStrictConstantReturnRector ()
2024-05-16 11:45:24 +00:00
Tomas Votruba
3c1e41f006 Updated Rector to commit 6bd2b871c4e9741928fb48df3ca8e899be42be81
6bd2b871c4 [NodeTypeResolver] No need json_decode/json_encode for cache class name collection ()
2024-05-15 02:19:05 +00:00
Tomas Votruba
7d70c5853e Updated Rector to commit 3cf5b1a2b89979dc375701d88608bc03d6a4a7dd
3cf5b1a2b8 [NodeTypeResolver] Clean up resolve cache class name key ()
2024-05-15 02:04:07 +00:00
Tomas Votruba
049336a81a Updated Rector to commit 8ab5e979db19845b9dd3c39bec566830870845dc
8ab5e979db [Performance] Call cached class names collection on FamilyRelationsAnalyzer ()
2024-05-15 01:48:39 +00:00
Tomas Votruba
efe89cff77 Updated Rector to commit 50407e2f2d1c2eb7f67c1f59e8db777e6f0bd081
50407e2f2d [Performance] Ensure call $reflector->reflectAllClasses() once on Worker take 3 ()
2024-05-14 19:26:23 +00:00
Tomas Votruba
89f91b63be Updated Rector to commit a5bf80cb2fdd49d64777cf13250e7205ddd0a3be
a5bf80cb2f [TypeDeclaration] Skip possible array on StrictStringParamConcatRector ()
2024-05-14 13:50:22 +00:00
Tomas Votruba
5dfd1c664c Updated Rector to commit 7182e19c4b0696ee48ff8c828afe47fd34d36d1c
7182e19c4b [TypeDeclaration] Skip array by doc with different assign on ReturnTypeFromStrictNewArrayRector ()
2024-05-14 13:14:40 +00:00
Tomas Votruba
4bcc8bbea0 Updated Rector to commit 8f59d4e23ed974bf9eba52a075ef4d1e2604c80d
8f59d4e23e [Php80] Skip remove non-mixed type doc on MixedTypeRector ()
2024-05-14 08:30:55 +00:00
Tomas Votruba
faba2d1971 Updated Rector to commit 035e7bdb76a5496c65b1c112933e4afe06ddc6f8
035e7bdb76 [NodeTypeResolver] Clean up "this" from NameTypeResolver, as not from Name node ()
2024-05-13 12:23:37 +00:00
Tomas Votruba
c74c9ca74f Updated Rector to commit 419480a0c415b5814065953e0ee8b90a785323a2
419480a0c4 [NodeTypeResolver] Clean up array check on NameTypeResolver ()
2024-05-13 10:38:52 +00:00
Tomas Votruba
b5b172a4b9 Updated Rector to commit eea59bf3b2d52aa7553cfa3d36ea0de69221abe5
eea59bf3b2 Fix "method x was not found in reflection of class" ()
2024-05-13 07:24:53 +00:00
Tomas Votruba
49d837e2a6 Updated Rector to commit e2a184cb16dfe1964feecbe44f7d7cc6130ac010
e2a184cb16 [NodeTypeResolver] Using built int ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() ()
2024-05-12 15:56:38 +00:00
Tomas Votruba
af81b5db1b Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458 [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector ()
2024-05-12 07:34:26 +00:00
Tomas Votruba
5ca50de6b7 Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458 [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector ()
2024-05-11 18:18:48 +00:00
Tomas Votruba
efb3c476c7 Updated Rector to commit ca2988edc997d76a1d7d4b2c6a4f7226478cac7c
ca2988edc9 [CodeQuality] Skip increment variable on else on TernaryFalseExpressionToIfRector ()
2024-05-10 09:40:07 +00:00
Tomas Votruba
73eb63e4f9 Rector 1.0.5 1.0.5 2024-05-10 05:31:15 +00:00
Tomas Votruba
322f3ad55c Updated Rector to commit 48fc55d89350f24521a197c04b5512452a3b50fc
48fc55d893 [StaticTypeMapper] Clean up NameNodeMapper check Scalar and class exists ()
2024-05-10 03:29:37 +00:00
Tomas Votruba
fe891363d5 Updated Rector to commit 558f44d5939be4314d76f4850a34be3590e65bfd
558f44d593 [TypeDeclaration] Skip more detailed type on AddMethodCallBasedStrictParamTypeRector ()
2024-05-10 03:14:36 +00:00
Tomas Votruba
f7723ed647 Updated Rector to commit ef84a1a722c39839de1bcd79e0d3558b3e7d935d
ef84a1a722 [PHPStanStaticTypeMapper] Clean up Intersection type check on UnionTypeMapper ()
2024-05-09 01:12:15 +00:00
Tomas Votruba
ed1310b8dc Updated Rector to commit acb0b5d3ad760e7253fb6f49b4047ec6226384d4
acb0b5d3ad [PHPStanStaticTypeMapper] Clean up UnionTypeMapper: remove unused TypeFactory usage ()
2024-05-08 23:53:57 +00:00
Tomas Votruba
9da012cd97 Updated Rector to commit bb90e0bbafee5e47720d9fda8f7e46fad5bd90a2
bb90e0bbaf [PHPStanStaticTypeMapper] Clean up non-Node type check on UnionTypeMapper ()
2024-05-08 14:07:50 +00:00
Tomas Votruba
dcdff77130 Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a
8371040f72 [TypeDeclaration] Handle array with index assigned on TypedPropertyFromAssignsRector ()
2024-05-08 13:00:27 +00:00
Tomas Votruba
582a864f33 Updated Rector to commit 650dcc6394c6df206772350e525311f8080e5077
650dcc6394 [automated] Apply Coding Standard ()
2024-05-05 00:32:34 +00:00
Tomas Votruba
2dc9d28496 Updated Rector to commit 6649713eb98b016d5503163cd8cbea534ae61f2e
6649713eb9 [automated] Re-Generate Nodes/Rectors Documentation ()
2024-05-05 00:31:57 +00:00
Tomas Votruba
5c55f54e78 Updated Rector to commit 4789b516d98b619f2e04900ab0ae442eb94a5348
4789b516d9 Clean up exclude paths from config-downgrade.php ()
2024-05-05 00:02:51 +00:00
Tomas Votruba
87c26777cb Updated Rector to commit 28e84d24d0f618a8a7e0ff6ea561f1aade554df9
28e84d24d0  [EarlyReturn] Skip with AssignOp on PreparedValueToEarlyReturnRector  ()
2024-05-03 14:46:34 +00:00
Tomas Votruba
19b93eeeab Updated Rector to commit 10558a8d5fb68c0564f995a008b4c666ff932a03
10558a8d5f [NodeTypeResolver] Use existing DefaultReflector::reflectAllClasses() method on DynamicSourceLocatorProvider ()
2024-05-02 19:23:28 +00:00
Tomas Votruba
fb4bddec05 Updated Rector to commit 10558a8d5fb68c0564f995a008b4c666ff932a03
10558a8d5f [NodeTypeResolver] Use existing DefaultReflector::reflectAllClasses() method on DynamicSourceLocatorProvider ()
2024-05-02 11:03:58 +00:00
Tomas Votruba
ee17c27a72 Updated Rector to commit d8f262aa6252740d3a3f17d1f429b7dcf2cc760a
d8f262aa62 [CodeQuality] Skip dynamic second arg or has uppercase second arg on SimplifyStrposLowerRector ()
2024-05-02 09:08:24 +00:00