Updated Rector to commit adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1

adfc65ab95 [Core] Use is_dir() instead of ! is_file() on FileAndDirectoryFilter::filterDirectories() (#3451)
This commit is contained in:
Tomas Votruba 2023-03-04 08:52:18 +00:00
parent 3280541fc8
commit b3c8106e73
5 changed files with 13 additions and 13 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '9af763f23d4f12db2b18f0aa23afe08b082cb5f0';
public const PACKAGE_VERSION = 'adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-03-04 08:47:29';
public const RELEASE_DATE = '2023-03-04 08:47:54';
/**
* @var int
*/

View File

@ -15,7 +15,7 @@ final class FileAndDirectoryFilter
public function filterDirectories(array $filesAndDirectories) : array
{
$directories = \array_filter($filesAndDirectories, static function (string $path) : bool {
return !\is_file($path);
return \is_dir($path);
});
return \array_values($directories);
}

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a::getLoader();
return ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a
class ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a
class ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3134,9 +3134,9 @@ class ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d::$classMap;
}, null, ClassLoader::class);
}