Skip to content

Commit

Permalink
Updated Rector to commit 4179a87aac262d7f38daf79f8a2f530808d1cf8e
Browse files Browse the repository at this point in the history
rectorphp/rector-src@4179a87 [Caching] Fix dependent files not yet exists on ChangedFilesDetector::cacheFileWithDependencies() (#3736)
  • Loading branch information
TomasVotruba committed May 5, 2023
1 parent e0ddc70 commit 5eeea88
Show file tree
Hide file tree
Showing 12 changed files with 106 additions and 58 deletions.
3 changes: 3 additions & 0 deletions packages/Caching/Detector/ChangedFilesDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public function cacheFileWithDependencies(string $filePath) : void
}
$hash = $this->hashFile($filePath);
$this->cache->save($filePathCacheKey, CacheKey::FILE_HASH_KEY, $hash);
if (!isset($this->dependentFiles[$filePathCacheKey])) {
return;
}
$this->cache->save($filePathCacheKey . '_files', CacheKey::DEPENDENT_FILES_KEY, $this->dependentFiles[$filePathCacheKey]);
}
public function addCachableFile(string $filePath) : void
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'd9374ddfa6c8a1ae41c1ac271d102980c6eba8f5';
public const PACKAGE_VERSION = '4179a87aac262d7f38daf79f8a2f530808d1cf8e';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-05-05 16:30:49';
public const RELEASE_DATE = '2023-05-05 10:20:56';
/**
* @var int
*/
Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

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

return ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46::getLoader();
return ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0::getLoader();
10 changes: 5 additions & 5 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46
class ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0
{
private static $loader;

Expand All @@ -22,17 +22,17 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInitbef4244bb4d4752bdd0b9553b348ae46', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit30d6c9723dff2773b134e8f7c058f8b0', 'loadClassLoader'));

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

$loader->setClassMapAuthoritative(true);
$loader->register(true);

$filesToLoad = \Composer\Autoload\ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46
class ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -3125,9 +3125,9 @@ class ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitbef4244bb4d4752bdd0b9553b348ae46::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit30d6c9723dff2773b134e8f7c058f8b0::$classMap;

}, null, ClassLoader::class);
}
Expand Down
30 changes: 12 additions & 18 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1388,36 +1388,34 @@
},
{
"name": "react\/event-loop",
"version": "v1.3.0",
"version_normalized": "1.3.0.0",
"version": "v1.4.0",
"version_normalized": "1.4.0.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/reactphp\/event-loop.git",
"reference": "187fb56f46d424afb6ec4ad089269c72eec2e137"
"reference": "6e7e587714fff7a83dcc7025aee42ab3b265ae05"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/reactphp\/event-loop\/zipball\/187fb56f46d424afb6ec4ad089269c72eec2e137",
"reference": "187fb56f46d424afb6ec4ad089269c72eec2e137",
"url": "https:\/\/api.github.com\/repos\/reactphp\/event-loop\/zipball\/6e7e587714fff7a83dcc7025aee42ab3b265ae05",
"reference": "6e7e587714fff7a83dcc7025aee42ab3b265ae05",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit\/phpunit": "^9.3 || ^5.7 || ^4.8.35"
"phpunit\/phpunit": "^9.6 || ^5.7 || ^4.8.36"
},
"suggest": {
"ext-event": "~1.0 for ExtEventLoop",
"ext-pcntl": "For signal handling support when using the StreamSelectLoop",
"ext-uv": "* for ExtUvLoop"
"ext-pcntl": "For signal handling support when using the StreamSelectLoop"
},
"time": "2022-03-17T11:10:22+00:00",
"time": "2023-05-05T10:11:24+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
"psr-4": {
"RectorPrefix202305\\React\\EventLoop\\": "src"
"RectorPrefix202305\\React\\EventLoop\\": "src\/"
}
},
"notification-url": "https:\/\/packagist.org\/downloads\/",
Expand Down Expand Up @@ -1453,16 +1451,12 @@
],
"support": {
"issues": "https:\/\/github.com\/reactphp\/event-loop\/issues",
"source": "https:\/\/github.com\/reactphp\/event-loop\/tree\/v1.3.0"
"source": "https:\/\/github.com\/reactphp\/event-loop\/tree\/v1.4.0"
},
"funding": [
{
"url": "https:\/\/github.com\/WyriHaximus",
"type": "github"
},
{
"url": "https:\/\/github.com\/clue",
"type": "github"
"url": "https:\/\/opencollective.com\/reactphp",
"type": "open_collective"
}
],
"install-path": "..\/react\/event-loop"
Expand Down
Loading

0 comments on commit 5eeea88

Please sign in to comment.