Skip to content

Commit

Permalink
Updated Rector to commit 7ee89b326702a0b51e3165fc478615834de50fe1
Browse files Browse the repository at this point in the history
rectorphp/rector-src@7ee89b3 [BetterPhpDocParser] Remove double array_values() call on same variable (#4371)
  • Loading branch information
TomasVotruba committed Jun 28, 2023
1 parent bbcd259 commit a890ca9
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 23 deletions.
1 change: 0 additions & 1 deletion packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ public function getTagsByName(string $name) : array
$tags = \array_filter($tags, static function (PhpDocTagNode $phpDocTagNode) use($name) : bool {
return $phpDocTagNode->name === $name;
});
$tags = \array_values($tags);
return \array_values($tags);
}
public function getParamType(string $name) : Type
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 = '6947eb7c4cf8cefe0e7a4cb95bbae23ab64362bd';
public const PACKAGE_VERSION = '7ee89b326702a0b51e3165fc478615834de50fe1';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-06-28 03:22:05';
public const RELEASE_DATE = '2023-06-28 23:11:18';
/**
* @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 ComposerAutoloaderInite7dd856a68ca53c3b92f1068f8078756::getLoader();
return ComposerAutoloaderInit9f6c5876faf703862369649ae70309a3::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 ComposerAutoloaderInite7dd856a68ca53c3b92f1068f8078756
class ComposerAutoloaderInit9f6c5876faf703862369649ae70309a3
{
private static $loader;

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

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

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

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

$filesToLoad = \Composer\Autoload\ComposerStaticInite7dd856a68ca53c3b92f1068f8078756::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInit9f6c5876faf703862369649ae70309a3::$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 ComposerStaticInite7dd856a68ca53c3b92f1068f8078756
class ComposerStaticInit9f6c5876faf703862369649ae70309a3
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
Expand Down Expand Up @@ -3098,9 +3098,9 @@ class ComposerStaticInite7dd856a68ca53c3b92f1068f8078756
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInite7dd856a68ca53c3b92f1068f8078756::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInite7dd856a68ca53c3b92f1068f8078756::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInite7dd856a68ca53c3b92f1068f8078756::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit9f6c5876faf703862369649ae70309a3::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit9f6c5876faf703862369649ae70309a3::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit9f6c5876faf703862369649ae70309a3::$classMap;

}, null, ClassLoader::class);
}
Expand Down
16 changes: 8 additions & 8 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,8 @@
},
{
"name": "illuminate\/container",
"version": "v10.14.0",
"version_normalized": "10.14.0.0",
"version": "v10.14.1",
"version_normalized": "10.14.1.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/container.git",
Expand Down Expand Up @@ -558,25 +558,25 @@
},
{
"name": "illuminate\/contracts",
"version": "v10.14.0",
"version_normalized": "10.14.0.0",
"version": "v10.14.1",
"version_normalized": "10.14.1.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/illuminate\/contracts.git",
"reference": "93605a5fc27cead6746d84796725c7c0d7d51d62"
"reference": "ec47d1aa1a1b1a679d8553836b417343881b8215"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/illuminate\/contracts\/zipball\/93605a5fc27cead6746d84796725c7c0d7d51d62",
"reference": "93605a5fc27cead6746d84796725c7c0d7d51d62",
"url": "https:\/\/api.github.com\/repos\/illuminate\/contracts\/zipball\/ec47d1aa1a1b1a679d8553836b417343881b8215",
"reference": "ec47d1aa1a1b1a679d8553836b417343881b8215",
"shasum": ""
},
"require": {
"php": "^8.1",
"psr\/container": "^1.1.1|^2.0.1",
"psr\/simple-cache": "^1.0|^2.0|^3.0"
},
"time": "2023-06-06T15:23:52+00:00",
"time": "2023-06-27T14:35:49+00:00",
"type": "library",
"extra": {
"branch-alias": {
Expand Down
2 changes: 1 addition & 1 deletion vendor/composer/installed.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/illuminate/contracts/Events/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function subscribe($subscriber);
*
* @param string|object $event
* @param mixed $payload
* @return array|null
* @return mixed
*/
public function until($event, $payload = []);
/**
Expand Down

0 comments on commit a890ca9

Please sign in to comment.