Skip to content

Commit

Permalink
Updated Rector to commit e8dd953f10a7afc3610d5185c6b42216e6d9e050
Browse files Browse the repository at this point in the history
rectorphp/rector-src@e8dd953 [Php80] Don't add null as default to variadic parameter (#3270)
  • Loading branch information
TomasVotruba committed Jan 9, 2023
1 parent 71448aa commit 7fa05c4
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ private function processAddNullDefaultParam(ClassMethod $classMethod, array $cur
if ($currentClassMethodParam->default instanceof Expr) {
continue;
}
if ($currentClassMethodParam->variadic) {
continue;
}
$currentClassMethodParams[$key]->default = $this->nodeFactory->createNull();
$hasChanged = \true;
}
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 = 'aafb99246d40b436486c90eaad7e45f21a823075';
public const PACKAGE_VERSION = 'e8dd953f10a7afc3610d5185c6b42216e6d9e050';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-01-08 17:19:20';
public const RELEASE_DATE = '2023-01-09 12:13:11';
/**
* @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 ComposerAutoloaderInitdb6a9b7d3726e15231c235ed7e15c665::getLoader();
return ComposerAutoloaderInit88a1b7cbd571096bfb5221767aa5a8ef::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 ComposerAutoloaderInitdb6a9b7d3726e15231c235ed7e15c665
class ComposerAutoloaderInit88a1b7cbd571096bfb5221767aa5a8ef
{
private static $loader;

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

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

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

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

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

}, null, ClassLoader::class);
}
Expand Down
14 changes: 7 additions & 7 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -797,17 +797,17 @@
},
{
"name": "phpstan\/phpstan",
"version": "1.9.7",
"version_normalized": "1.9.7.0",
"version": "1.9.8",
"version_normalized": "1.9.8.0",
"source": {
"type": "git",
"url": "https:\/\/github.com\/phpstan\/phpstan.git",
"reference": "0501435cd342eac7664bd62155b1ef907fc60b6f"
"reference": "45411d15bf85a33b4a8ee9b75a6e82998c9adb97"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/0501435cd342eac7664bd62155b1ef907fc60b6f",
"reference": "0501435cd342eac7664bd62155b1ef907fc60b6f",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/45411d15bf85a33b4a8ee9b75a6e82998c9adb97",
"reference": "45411d15bf85a33b4a8ee9b75a6e82998c9adb97",
"shasum": ""
},
"require": {
Expand All @@ -816,7 +816,7 @@
"conflict": {
"phpstan\/phpstan-shim": "*"
},
"time": "2023-01-04T21:59:57+00:00",
"time": "2023-01-08T21:26:18+00:00",
"bin": [
"phpstan",
"phpstan.phar"
Expand All @@ -839,7 +839,7 @@
],
"support": {
"issues": "https:\/\/github.com\/phpstan\/phpstan\/issues",
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.9.7"
"source": "https:\/\/github.com\/phpstan\/phpstan\/tree\/1.9.8"
},
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion vendor/composer/installed.php

Large diffs are not rendered by default.

Binary file modified vendor/phpstan/phpstan/phpstan.phar
Binary file not shown.
26 changes: 13 additions & 13 deletions vendor/phpstan/phpstan/phpstan.phar.asc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmO19s0ACgkQzxoQjQ56
5yDXPw/8DxXstXMedax+qQeCoJ4BY/7hmYqDHQ5t4OC/ogN7JqrOQKymzQHW6pfb
NI5Hj2RtaZL3VKB+bJnRGwuL155g259We3DU2AHJ+wnyLiDQsxccDPPzvIwp3Wf4
3KmFsx/A9E/uUwR/3JLbUdQTbZsL4bRfeGx9ZF6FSmB+IO3znNdA6MYLwkBKVwSb
oMum9ihi778ZWJvTCRfadSJ0UwY602FyTnV3e/pO3H5StpdwRBvUVc9SdCFHQnGS
wN8S5doEziRxYkK8zrVFf6tctPaAri8K6Xky7GBOFNWzvwBJjy3gcBiLtNa+R+B1
K/HNsWS+8s3secT8jMilawRZ2CBe9aixkMS97BuHHTGHWBx8Efhiusw5ZaoMGSTu
1Q+/UmL0Hp7xuKXSPiEZH2dn7f9opWmSG5j2bh5oPIH1Owzd/tfiWpeK24r2z8fR
HzeEsKF2/53spwi6t2Ttr7a5kz5//61zlgtfmwct0jFJVzbamEgu9oWfZeueEZUm
GaOFyfnYs1H7fkaqH12VSKVsfbL4fxw26nLwxSUSHqFdN1jQ68w54sIM87gJcFgm
tnjQa7+WUIW4ajXsDE2ggdGFJAUxWCY5neDuQJ8d92EivAGqrRpI4f65YzuFk5s5
Kx8FayBJKXzmWpNRVotceOokFQ97MVEXKDClO5FUeG+nNaYqJjU=
=E7qg
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmO7NOkACgkQzxoQjQ56
5yBIKA//bGSgqtTfUJ+eDn8TLulrjSbZg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