Skip to content

Commit 5eeea88

Browse files
committed
Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e
rectorphp/rector-src@4179a87 [Caching] Fix dependent files not yet exists on ChangedFilesDetector::cacheFileWithDependencies() (#3736)
1 parent e0ddc70 commit 5eeea88

12 files changed

+106
-58
lines changed

packages/Caching/Detector/ChangedFilesDetector.php

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function cacheFileWithDependencies(string $filePath) : void
5252
}
5353
$hash = $this->hashFile($filePath);
5454
$this->cache->save($filePathCacheKey, CacheKey::FILE_HASH_KEY, $hash);
55+
if (!isset($this->dependentFiles[$filePathCacheKey])) {
56+
return;
57+
}
5558
$this->cache->save($filePathCacheKey . '_files', CacheKey::DEPENDENT_FILES_KEY, $this->dependentFiles[$filePathCacheKey]);
5659
}
5760
public function addCachableFile(string $filePath) : void

src/Application/VersionResolver.php

+2-2
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 = 'd9374ddfa6c8a1ae41c1ac271d102980c6eba8f5';
22+
public const PACKAGE_VERSION = '4179a87aac262d7f38daf79f8a2f530808d1cf8e';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2023-05-05 16:30:49';
27+
public const RELEASE_DATE = '2023-05-05 10:20:56';
2828
/**
2929
* @var int
3030
*/

vendor/autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46::getLoader();
25+
return ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0::getLoader();

vendor/composer/autoload_real.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46
5+
class ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0
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('ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46', 'loadClassLoader'), true, true);
25+
spl_autoload_register(array('ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0', 'loadClassLoader'), true, true);
2626
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
27-
spl_autoload_unregister(array('ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46', 'loadClassLoader'));
27+
spl_autoload_unregister(array('ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0', 'loadClassLoader'));
2828

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

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

35-
$filesToLoad = \Composer\Autoload\ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$files;
35+
$filesToLoad = \Composer\Autoload\ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$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

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46
7+
class ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0
88
{
99
public static $files = array (
1010
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@@ -3125,9 +3125,9 @@ class ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46
31253125
public static function getInitializer(ClassLoader $loader)
31263126
{
31273127
return \Closure::bind(function () use ($loader) {
3128-
$loader->prefixLengthsPsr4 = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$prefixLengthsPsr4;
3129-
$loader->prefixDirsPsr4 = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$prefixDirsPsr4;
3130-
$loader->classMap = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$classMap;
3128+
$loader->prefixLengthsPsr4 = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$prefixLengthsPsr4;
3129+
$loader->prefixDirsPsr4 = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$prefixDirsPsr4;
3130+
$loader->classMap = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$classMap;
31313131

31323132
}, null, ClassLoader::class);
31333133
}

vendor/composer/installed.json

+12-18
Original file line numberDiff line numberDiff line change
@@ -1388,36 +1388,34 @@
13881388
},
13891389
{
13901390
"name": "react\/event-loop",
1391-
"version": "v1.3.0",
1392-
"version_normalized": "1.3.0.0",
1391+
"version": "v1.4.0",
1392+
"version_normalized": "1.4.0.0",
13931393
"source": {
13941394
"type": "git",
13951395
"url": "https:\/\/github.com\/reactphp\/event-loop.git",
1396-
"reference": "187fb56f46d424afb6ec4ad089269c72eec2e137"
1396+
"reference": "6e7e587714fff7a83dcc7025aee42ab3b265ae05"
13971397
},
13981398
"dist": {
13991399
"type": "zip",
1400-
"url": "https:\/\/api.github.com\/repos\/reactphp\/event-loop\/zipball\/187fb56f46d424afb6ec4ad089269c72eec2e137",
1401-
"reference": "187fb56f46d424afb6ec4ad089269c72eec2e137",
1400+
"url": "https:\/\/api.github.com\/repos\/reactphp\/event-loop\/zipball\/6e7e587714fff7a83dcc7025aee42ab3b265ae05",
1401+
"reference": "6e7e587714fff7a83dcc7025aee42ab3b265ae05",
14021402
"shasum": ""
14031403
},
14041404
"require": {
14051405
"php": ">=5.3.0"
14061406
},
14071407
"require-dev": {
1408-
"phpunit\/phpunit": "^9.3 || ^5.7 || ^4.8.35"
1408+
"phpunit\/phpunit": "^9.6 || ^5.7 || ^4.8.36"
14091409
},
14101410
"suggest": {
1411-
"ext-event": "~1.0 for ExtEventLoop",
1412-
"ext-pcntl": "For signal handling support when using the StreamSelectLoop",
1413-
"ext-uv": "* for ExtUvLoop"
1411+
"ext-pcntl": "For signal handling support when using the StreamSelectLoop"
14141412
},
1415-
"time": "2022-03-17T11:10:22+00:00",
1413+
"time": "2023-05-05T10:11:24+00:00",
14161414
"type": "library",
14171415
"installation-source": "dist",
14181416
"autoload": {
14191417
"psr-4": {
1420-
"RectorPrefix202305\\React\\EventLoop\\": "src"
1418+
"RectorPrefix202305\\React\\EventLoop\\": "src\/"
14211419
}
14221420
},
14231421
"notification-url": "https:\/\/packagist.org\/downloads\/",
@@ -1453,16 +1451,12 @@
14531451
],
14541452
"support": {
14551453
"issues": "https:\/\/github.com\/reactphp\/event-loop\/issues",
1456-
"source": "https:\/\/github.com\/reactphp\/event-loop\/tree\/v1.3.0"
1454+
"source": "https:\/\/github.com\/reactphp\/event-loop\/tree\/v1.4.0"
14571455
},
14581456
"funding": [
14591457
{
1460-
"url": "https:\/\/github.com\/WyriHaximus",
1461-
"type": "github"
1462-
},
1463-
{
1464-
"url": "https:\/\/github.com\/clue",
1465-
"type": "github"
1458+
"url": "https:\/\/opencollective.com\/reactphp",
1459+
"type": "open_collective"
14661460
}
14671461
],
14681462
"install-path": "..\/react\/event-loop"

0 commit comments

Comments
 (0)