Commit Graph

5462 Commits

Author SHA1 Message Date
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
df92a40a00 Updated Rector to commit 756a45aa1a456e28af0b7ae2b78fecc6f6fee6b1
756a45aa1a [DeadCode] Add RemoveUnusedPublicMethodParameterRector (#5925)
2024-05-30 07:40:25 +00:00
Tomas Votruba
6fa5131124 Updated Rector to commit 1e88bcf62dec93dca5077b8aefebf7c976fbed52
1e88bcf62d [TypeDeclaration] Add AddTypeFromResourceDocblockRector (#5915)
2024-05-29 00:53:21 +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
Tomas Votruba
216442a257 Updated Rector to commit 157fe350c770262636872c18fbf5c0a61c6fb126
157fe350c7 Bump phpstan-rules (#5913)
2024-05-26 07:13:37 +00:00
Tomas Votruba
b153174db5 Updated Rector to commit 650ae6a730554c4b7472280e86edbf1b704cce25
650ae6a730 Code quality levels (#5910)
2024-05-25 10:48:12 +00:00
Tomas Votruba
74ec7b2331 Updated Rector to commit 0466bac822c4f35530f75f2081e1955bf06825c7
0466bac822 [PostRector][AutoImport] Allow sub namespace docblock imported on NameImportingPhpDocNodeVisitor (#5911)
2024-05-24 15:09:44 +00:00
Tomas Votruba
5d71d0b09c Updated Rector to commit d6fc9012918faf26cfae30aaad329b8a3c65be75
d6fc901291 [TypeDeclaration] Add TypedPropertyFromJMSSerializerAttributeTypeRector (#5909)
2024-05-24 13:06:38 +00:00
Tomas Votruba
81725974a0 Updated Rector to commit 22d6fc2789f575fff16e76e7c7f963793e11f53b
22d6fc2789 [TypeDeclaration] Add ReturnTypeFromSymfonySerializerRector (#5908)
2024-05-23 13:35:45 +00:00
Tomas Votruba
43c823a1fe Updated Rector to commit b2c9e52bf0776d2475e4d0533267cd11299826f6
b2c9e52bf0 [PostRector] Move instanceof check early before SimpleParameterProvider static call check (#5907)
2024-05-22 02:15:37 +00:00
Tomas Votruba
cee60661e8 Updated Rector to commit b8847be9d485ec1b3cde5ee5e099ab3626479eb7
b8847be9d4 [TypeDeclaration] Add ReturnTypeFromReturnCastRector (#5905)
2024-05-20 11:36:06 +00:00
Tomas Votruba
39908b6b4e Updated Rector to commit f30405751176cf6504a86a8f9e6661c55806b38e
f304057511 Convert time() to Carbon::now()->timestamp (#5901)
2024-05-20 00:15:21 +00:00
Tomas Votruba
9a455bf300 Updated Rector to commit 7d65537690d8d788b595b46f026920b4b17eaaf5
7d65537690 Fix few static errors (#5899)
2024-05-19 17:16:04 +00:00
Tomas Votruba
2210bace5e Updated Rector to commit 196b2d0947a0dbec176209113f52e82ac5673e2b
196b2d0947 Cleanup fixed phpstan errors (#5898)
2024-05-19 16:10:19 +00:00
Tomas Votruba
22d3d1949d Updated Rector to commit 6ebfa15e733ac340249418057ed3f7615e717ac1
6ebfa15e73 Bump to react/promise 3.1 (#5892)
2024-05-18 13:49:01 +00:00
Tomas Votruba
b98d0a8754 Updated Rector to commit 575921d2bca4a0ef36d55c6fa4ebf1ea01bacc4d
575921d2bc [Carbon] Init set to migrate DateTime to Carbon (#5868)
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() (#5891)
2024-05-18 12:49:12 +00:00
Tomas Votruba
dfaafdbd3a Updated Rector to commit 8e4e8823f227290fb6b014c79b48ce211c2376b5
8e4e8823f2 Bump to PHPStan 1.11 (#5883)
2024-05-18 08:00:27 +00:00
Tomas Votruba
6cf705918e Updated Rector to commit 6a5f6c53f3637b23b4488cab81ec90a0d1bef053
6a5f6c53f3 [TypeDeclaration] Handle crash on interface Mixin on ReturnTypeFromStrictConstantReturnRector (#5884)
2024-05-16 11:45:24 +00:00
Tomas Votruba
af81b5db1b Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458 [CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
2024-05-12 07:34:26 +00:00
Tomas Votruba
dcdff77130 Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a
8371040f72 [TypeDeclaration] Handle array with index assigned on TypedPropertyFromAssignsRector (#5861)
2024-05-08 13:00:27 +00:00
Tomas Votruba
87c26777cb Updated Rector to commit 28e84d24d0f618a8a7e0ff6ea561f1aade554df9
28e84d24d0  [EarlyReturn] Skip with AssignOp on PreparedValueToEarlyReturnRector  (#5857)
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 (#5856)
2024-05-02 19:23:28 +00:00
Tomas Votruba
12c115e6f6 Updated Rector to commit 5193d43b644f9d059d9964ebcc6820181a7bca18
5193d43b64 [NodeTypeResolver] Remove unnecessary loop SourceLocator collection on DynamicSourceLocatorProvider (#5852)
2024-05-02 02:21:56 +00:00
Tomas Votruba
78e3d54584 Updated Rector to commit 57275efac450b9b0466e9dc934d3c07e2e9a1e43
57275efac4 [TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)
2024-04-30 13:26:50 +00:00
Tomas Votruba
c747b603a3 Updated Rector to commit ce1033d8e6434f3111307dd274dec753eb6481b1
ce1033d8e6 Fixes typo in FinalizeTestCaseClassRector.php (#5850)
2024-04-30 12:43:57 +00:00
Tomas Votruba
aff937886f Updated Rector to commit cc4b63fe261a39b55b621e426d87346042412741
cc4b63fe26 CI: take utils/ into account in class-leak (#5847)
2024-04-29 07:35:23 +00:00
Tomas Votruba
343a691722 Updated Rector to commit de41aaf486222ce8a11d645d03ae25cd5678a31f
de41aaf486 Remove "packages" from Rector CI run (#5846)
2024-04-27 02:47:31 +00:00
Tomas Votruba
7141ae6e56 Updated Rector to commit 8281a06bc8432d9d7f8e20842e3961df99a277bc
8281a06bc8 [PHP 7.2] Add error suppres support to each() rule (#5844)
2024-04-24 08:56:31 +00:00
Tomas Votruba
09acbdda13 Updated Rector to commit 6eac87db32eff9308a037fb32ce973ccf905fc92
6eac87db32 Ignore phpdoc type in RecastingRemovalRector (#5841)
2024-04-22 20:26:54 +00:00
Tomas Votruba
6cbc8ec497 Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-21 13:28:31 +00:00
Tomas Votruba
1c323223b2 Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-21 12:45:15 +00:00
Tomas Votruba
655c2aa498 Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-21 12:39:04 +00:00
Tomas Votruba
584e892a51 Updated Rector to commit 068799f59b289bef06b9c1f384df4301b19e726e
068799f59b [Performance] Early skip func call name on ClassRenamer (#5837)
2024-04-20 20:05:57 +00:00
Tomas Votruba
f42da12667 Updated Rector to commit 56e2031ba3eb1886f534e87d6fb533f8b24f6889
56e2031ba3 [CodeQuality] Skip $counter variable exists on ForRepeatedCountToOwnVariableRector (#5828)
2024-04-17 21:03:14 +00:00
Tomas Votruba
ea0464beb9 Updated Rector to commit 8cf4340f3e9ace06e20827147e1065cfd5182efa
8cf4340f3e [TypeDeclaration] Handle crash on @mixin usage on ReturnTypeFromStrictTypedCallRector (#5823)
2024-04-17 08:35:57 +00:00
Tomas Votruba
f3e4fee4bc Updated Rector to commit 2b811afb584aa7a3c569a2ce23d78edbf126d556
2b811afb58 [Php81] Skip always string if else DomElement on NullToStrictStringFuncCallArgRector (#5822)
2024-04-17 07:18:31 +00:00
Tomas Votruba
2b9acd03a1 Updated Rector to commit 86eb512e4f78f909856b90bc18e41704b48ee57a
86eb512e4f [automated] Apply Coding Standard (#5821)
2024-04-14 10:00:50 +00:00
Tomas Votruba
885a3f6ed3 Updated Rector to commit 86eb512e4f78f909856b90bc18e41704b48ee57a
86eb512e4f [automated] Apply Coding Standard (#5821)
2024-04-14 08:36:05 +00:00
Tomas Votruba
51fa5a731d Updated Rector to commit 3df5a626e5ae8e13aaef8abfc41a136dbf1f367e
3df5a626e5 Clean up SafeLeftTypeBooleanAndOrAnalyzer (#5819)
2024-04-13 07:48:52 +00:00
Tomas Votruba
76a58d63f0 Updated Rector to commit 879a36b44d6b43e4c4d268a3d7e96e0830cac478
879a36b44d [Php81] Skip __invoke() usage from non-class code on FirstClassCallableRector (#5816)
2024-04-11 20:55:59 +00:00
Tomas Votruba
f53efcffe8 Updated Rector to commit 1d2d51e20ce11d0f603e42bd8869c1ab6d2a52cc
1d2d51e20c [Nette] Replace deprecated Json::FORCE_ARRAY and Json::PRETTY on Nette\Utils\Json usage (#5814)
2024-04-09 22:43:38 +00:00