Updated Rector to commit 03f627b38589a03c59108e71d66fb3c04bf0dacf

03f627b385 count
This commit is contained in:
Tomas Votruba 2022-11-12 10:21:30 +00:00
parent 311b8e7d20
commit 4464342ec0
5 changed files with 16 additions and 16 deletions

View File

@ -17,12 +17,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '3fd129ff50ca57f219130fe9665bd4951fac42bd';
public const PACKAGE_VERSION = '03f627b38589a03c59108e71d66fb3c04bf0dacf';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2022-11-12 10:52:27';
public const RELEASE_DATE = '2022-11-12 11:16:42';
/**
* @var int
*/

View File

@ -30,7 +30,7 @@ final class InitFilePathsResolver
private function hasDirectoryFileInfoPhpFiles(SplFileInfo $rootDirectoryFileInfo) : bool
{
// is directory with PHP files?
$phpFilesFinder = Finder::create()->files()->in($rootDirectoryFileInfo->getPathname())->name('*.php');
return \count($phpFilesFinder) !== 0;
$phpFilesCount = Finder::create()->files()->in($rootDirectoryFileInfo->getPathname())->name('*.php')->count();
return $phpFilesCount !== 0;
}
}

2
vendor/autoload.php vendored
View File

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

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit9162e0364e33900347672717fdceb230
class ComposerAutoloaderInit773885751bf01075e19ae7f2bd4a528c
{
private static $loader;
@ -22,19 +22,19 @@ class ComposerAutoloaderInit9162e0364e33900347672717fdceb230
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit9162e0364e33900347672717fdceb230', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit773885751bf01075e19ae7f2bd4a528c', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit9162e0364e33900347672717fdceb230', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit773885751bf01075e19ae7f2bd4a528c', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit9162e0364e33900347672717fdceb230::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit773885751bf01075e19ae7f2bd4a528c::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$includeFiles = \Composer\Autoload\ComposerStaticInit9162e0364e33900347672717fdceb230::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit773885751bf01075e19ae7f2bd4a528c::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire9162e0364e33900347672717fdceb230($fileIdentifier, $file);
composerRequire773885751bf01075e19ae7f2bd4a528c($fileIdentifier, $file);
}
return $loader;
@ -46,7 +46,7 @@ class ComposerAutoloaderInit9162e0364e33900347672717fdceb230
* @param string $file
* @return void
*/
function composerRequire9162e0364e33900347672717fdceb230($fileIdentifier, $file)
function composerRequire773885751bf01075e19ae7f2bd4a528c($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 ComposerStaticInit9162e0364e33900347672717fdceb230
class ComposerStaticInit773885751bf01075e19ae7f2bd4a528c
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -3053,9 +3053,9 @@ class ComposerStaticInit9162e0364e33900347672717fdceb230
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit9162e0364e33900347672717fdceb230::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit9162e0364e33900347672717fdceb230::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit9162e0364e33900347672717fdceb230::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit773885751bf01075e19ae7f2bd4a528c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit773885751bf01075e19ae7f2bd4a528c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit773885751bf01075e19ae7f2bd4a528c::$classMap;
}, null, ClassLoader::class);
}