Skip to content

Commit

Permalink
Updated Rector to commit adfc65ab9500d1a6066bcb05944dd9c5e7c4c7d1
Browse files Browse the repository at this point in the history
rectorphp/rector-src@adfc65a [Core] Use is_dir() instead of ! is_file() on FileAndDirectoryFilter::filterDirectories() (#3451)
  • Loading branch information
TomasVotruba committed Mar 4, 2023
1 parent 3280541 commit b3c8106
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
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 = '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
*/
Expand Down
2 changes: 1 addition & 1 deletion src/FileSystem/FileAndDirectoryFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
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 ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a::getLoader();
return ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d::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 ComposerAutoloaderInit7cecf9165bfaf37b01b5c5b71d11b34a
class ComposerAutoloaderInit3b9712e59f8d604b285d4a7d7f89129d
{
private static $loader;

Expand All @@ -22,17 +22,17 @@ public static function getLoader()
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;
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 ComposerStaticInit7cecf9165bfaf37b01b5c5b71d11b34a
class ComposerStaticInit3b9712e59f8d604b285d4a7d7f89129d
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit b3c8106

Please sign in to comment.