Skip to content

Commit e4f7cd8

Browse files
committed
Updated Rector to commit 86d83cc335c7ef5959b5462a4ec7093690fd3f65
rectorphp/rector-src@86d83cc Bump nette/utils to ^4.1.3 (part 2) (#7894)
1 parent 1b80e93 commit e4f7cd8

File tree

29 files changed

+226
-171
lines changed

29 files changed

+226
-171
lines changed

rules/Carbon/NodeFactory/CarbonCallFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function createFromDateTimeString(FullyQualified $carbonFullyQualified, S
3232
$string->value = Strings::replace($string->value, self::STATIC_DATE_REGEX);
3333
// Handle add/sub multiple times
3434
while ($match = Strings::match($string->value, self::PLUS_MINUS_COUNT_REGEX)) {
35-
$methodCall = $this->createModifyMethodCall($carbonCall, new Int_((int) $match['count']), (string) $match['unit'], (string) $match['operator']);
35+
$methodCall = $this->createModifyMethodCall($carbonCall, new Int_((int) $match['count']), $match['unit'], $match['operator']);
3636
if ($methodCall instanceof MethodCall) {
3737
$carbonCall = $methodCall;
3838
$string->value = Strings::replace($string->value, self::PLUS_MINUS_COUNT_REGEX, '', 1);

rules/CodingStyle/Rector/Catch_/CatchExceptionNameMatchingTypeRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function shouldSkipFollowingCatch(Catch_ $catch, string $newVariableName
129129
private function resolveNewVariableName(string $typeShortName): string
130130
{
131131
return Strings::replace(lcfirst($typeShortName), self::STARTS_WITH_ABBREVIATION_REGEX, static function (array $matches): string {
132-
$output = isset($matches[1]) ? strtolower($matches[1]) : '';
132+
$output = isset($matches[1]) ? strtolower((string) $matches[1]) : '';
133133
$output .= $matches[2] ?? '';
134134
return $output . ($matches[3] ?? '');
135135
});

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '22644d9e28a6a103c0e0f12eb6fb644f1bbf3ab0';
22+
public const PACKAGE_VERSION = '86d83cc335c7ef5959b5462a4ec7093690fd3f65';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-02-14 05:45:23';
27+
public const RELEASE_DATE = '2026-02-14 13:46:43';
2828
/**
2929
* @var int
3030
*/

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919

2020
require_once __DIR__ . '/composer/autoload_real.php';
2121

22-
return ComposerAutoloaderInitad3f4aa9404de6118d5476e974c3d1c5::getLoader();
22+
return ComposerAutoloaderInit6826166f41bd7c9c1cfd80bf44288c10::getLoader();

vendor/composer/autoload_real.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInitad3f4aa9404de6118d5476e974c3d1c5
5+
class ComposerAutoloaderInit6826166f41bd7c9c1cfd80bf44288c10
66
{
77
private static $loader;
88

@@ -22,17 +22,17 @@ public static function getLoader()
2222
return self::$loader;
2323
}
2424

25-
spl_autoload_register(array('ComposerAutoloaderInitad3f4aa9404de6118d5476e974c3d1c5', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit6826166f41bd7c9c1cfd80bf44288c10', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInitad3f4aa9404de6118d5476e974c3d1c5', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit6826166f41bd7c9c1cfd80bf44288c10', 'loadClassLoader'));
2828

2929
require __DIR__ . '/autoload_static.php';
30-
call_user_func(\Composer\Autoload\ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10::getInitializer($loader));
3131

3232
$loader->setClassMapAuthoritative(true);
3333
$loader->register(true);
3434

35-
$filesToLoad = \Composer\Autoload\ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5::$files;
35+
$filesToLoad = \Composer\Autoload\ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10::$files;
3636
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
3737
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
3838
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

vendor/composer/autoload_static.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5
7+
class ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10
88
{
99
public static $files = array (
1010
'6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
@@ -3260,9 +3260,9 @@ class ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5
32603260
public static function getInitializer(ClassLoader $loader)
32613261
{
32623262
return \Closure::bind(function () use ($loader) {
3263-
$loader->prefixLengthsPsr4 = ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5::$prefixLengthsPsr4;
3264-
$loader->prefixDirsPsr4 = ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5::$prefixDirsPsr4;
3265-
$loader->classMap = ComposerStaticInitad3f4aa9404de6118d5476e974c3d1c5::$classMap;
3263+
$loader->prefixLengthsPsr4 = ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10::$prefixLengthsPsr4;
3264+
$loader->prefixDirsPsr4 = ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10::$prefixDirsPsr4;
3265+
$loader->classMap = ComposerStaticInit6826166f41bd7c9c1cfd80bf44288c10::$classMap;
32663266

32673267
}, null, ClassLoader::class);
32683268
}

vendor/composer/installed.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -625,17 +625,17 @@
625625
},
626626
{
627627
"name": "nette\/utils",
628-
"version": "v4.1.2",
629-
"version_normalized": "4.1.2.0",
628+
"version": "v4.1.3",
629+
"version_normalized": "4.1.3.0",
630630
"source": {
631631
"type": "git",
632632
"url": "https:\/\/github.com\/nette\/utils.git",
633-
"reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5"
633+
"reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe"
634634
},
635635
"dist": {
636636
"type": "zip",
637-
"url": "https:\/\/api.github.com\/repos\/nette\/utils\/zipball\/f76b5dc3d6c6d3043c8d937df2698515b99cbaf5",
638-
"reference": "f76b5dc3d6c6d3043c8d937df2698515b99cbaf5",
637+
"url": "https:\/\/api.github.com\/repos\/nette\/utils\/zipball\/bb3ea637e3d131d72acc033cfc2746ee893349fe",
638+
"reference": "bb3ea637e3d131d72acc033cfc2746ee893349fe",
639639
"shasum": ""
640640
},
641641
"require": {
@@ -647,8 +647,10 @@
647647
},
648648
"require-dev": {
649649
"jetbrains\/phpstorm-attributes": "^1.2",
650+
"nette\/phpstan-rules": "^1.0",
650651
"nette\/tester": "^2.5",
651-
"phpstan\/phpstan": "^2.0@stable",
652+
"phpstan\/extension-installer": "^1.4@stable",
653+
"phpstan\/phpstan": "^2.1@stable",
652654
"tracy\/tracy": "^2.9"
653655
},
654656
"suggest": {
@@ -659,7 +661,7 @@
659661
"ext-mbstring": "to use Strings::lower() etc...",
660662
"ext-tokenizer": "to use Nette\\Utils\\Reflection::getUseStatements()"
661663
},
662-
"time": "2026-02-03T17:21:09+00:00",
664+
"time": "2026-02-13T03:05:33+00:00",
663665
"type": "library",
664666
"extra": {
665667
"branch-alias": {
@@ -711,7 +713,7 @@
711713
],
712714
"support": {
713715
"issues": "https:\/\/github.com\/nette\/utils\/issues",
714-
"source": "https:\/\/github.com\/nette\/utils\/tree\/v4.1.2"
716+
"source": "https:\/\/github.com\/nette\/utils\/tree\/v4.1.3"
715717
},
716718
"install-path": "..\/nette\/utils"
717719
},
@@ -1757,12 +1759,12 @@
17571759
"source": {
17581760
"type": "git",
17591761
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
1760-
"reference": "db13b8fe0b57a5c292f8fe9696d2dcad0609dc65"
1762+
"reference": "b0da459893a4b68697879b6888d5ce858f0a5850"
17611763
},
17621764
"dist": {
17631765
"type": "zip",
1764-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/db13b8fe0b57a5c292f8fe9696d2dcad0609dc65",
1765-
"reference": "db13b8fe0b57a5c292f8fe9696d2dcad0609dc65",
1766+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/b0da459893a4b68697879b6888d5ce858f0a5850",
1767+
"reference": "b0da459893a4b68697879b6888d5ce858f0a5850",
17661768
"shasum": ""
17671769
},
17681770
"require": {
@@ -1786,7 +1788,7 @@
17861788
"tomasvotruba\/unused-public": "^2.2",
17871789
"tracy\/tracy": "^2.11"
17881790
},
1789-
"time": "2026-02-14T05:36:31+00:00",
1791+
"time": "2026-02-14T06:40:16+00:00",
17901792
"default-branch": true,
17911793
"type": "rector-extension",
17921794
"extra": {

0 commit comments

Comments
 (0)