mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 05:18:18 +01:00
Updated Rector to commit 3c50a47e30e962033f72376b47be8a8ca65dbde5
3c50a47e30
Bump to PHPStan 1.12.4 and fix test (#6318)
This commit is contained in:
parent
721d766ecd
commit
169f83fb56
@ -8,7 +8,7 @@
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.2|^8.0",
|
||||
"phpstan/phpstan": "^1.12.2"
|
||||
"phpstan/phpstan": "^1.12.4"
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '59958fe63445a7253156b10d6887279c26d65d33';
|
||||
public const PACKAGE_VERSION = '3c50a47e30e962033f72376b47be8a8ca65dbde5';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-09-19 07:30:49';
|
||||
public const RELEASE_DATE = '2024-09-20 08:58:55';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -25,6 +25,6 @@ final class ParametersAcceptorSelectorVariantsWrapper
|
||||
if ($node->isFirstClassCallable()) {
|
||||
return ParametersAcceptorSelector::selectSingle($variants);
|
||||
}
|
||||
return \count($variants) > 1 ? ParametersAcceptorSelector::selectFromArgs($scope, $node->getArgs(), $variants) : ParametersAcceptorSelector::selectSingle($variants);
|
||||
return ParametersAcceptorSelector::selectFromArgs($scope, $node->getArgs(), $variants);
|
||||
}
|
||||
}
|
||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997::getLoader();
|
||||
return ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771::getLoader();
|
||||
|
10
vendor/composer/autoload_real.php
vendored
10
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997
|
||||
class ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,17 +22,17 @@ class ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997::$files;
|
||||
$filesToLoad = \Composer\Autoload\ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771::$files;
|
||||
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997
|
||||
class ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
@ -2796,9 +2796,9 @@ class ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit65c2619d2af9277b0b1c0a96c9a54997::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb7f7ba4346a5afcc49f848aa6217e771::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
18
vendor/composer/installed.json
vendored
18
vendor/composer/installed.json
vendored
@ -151,27 +151,27 @@
|
||||
},
|
||||
{
|
||||
"name": "composer\/semver",
|
||||
"version": "3.4.2",
|
||||
"version_normalized": "3.4.2.0",
|
||||
"version": "3.4.3",
|
||||
"version_normalized": "3.4.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/composer\/semver.git",
|
||||
"reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6"
|
||||
"reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/composer\/semver\/zipball\/c51258e759afdb17f1fd1fe83bc12baaef6309d6",
|
||||
"reference": "c51258e759afdb17f1fd1fe83bc12baaef6309d6",
|
||||
"url": "https:\/\/api.github.com\/repos\/composer\/semver\/zipball\/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
|
||||
"reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": "^5.3.2 || ^7.0 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan\/phpstan": "^1.4",
|
||||
"symfony\/phpunit-bridge": "^4.2 || ^5"
|
||||
"phpstan\/phpstan": "^1.11",
|
||||
"symfony\/phpunit-bridge": "^3 || ^7"
|
||||
},
|
||||
"time": "2024-07-12T11:35:52+00:00",
|
||||
"time": "2024-09-19T14:15:21+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
@ -215,7 +215,7 @@
|
||||
"support": {
|
||||
"irc": "ircs:\/\/irc.libera.chat:6697\/composer",
|
||||
"issues": "https:\/\/github.com\/composer\/semver\/issues",
|
||||
"source": "https:\/\/github.com\/composer\/semver\/tree\/3.4.2"
|
||||
"source": "https:\/\/github.com\/composer\/semver\/tree\/3.4.3"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
5
vendor/composer/semver/CHANGELOG.md
vendored
5
vendor/composer/semver/CHANGELOG.md
vendored
@ -3,6 +3,10 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### [3.4.3] 2024-09-19
|
||||
|
||||
* Fixed some type annotations
|
||||
|
||||
### [3.4.2] 2024-07-12
|
||||
|
||||
* Fixed PHP 5.3 syntax error
|
||||
@ -187,6 +191,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- Namespace: `Composer\Test\Package\LinkConstraint` -> `Composer\Test\Semver\Constraint`
|
||||
* Changed: code style using php-cs-fixer.
|
||||
|
||||
[3.4.3]: https://github.com/composer/semver/compare/3.4.2...3.4.3
|
||||
[3.4.2]: https://github.com/composer/semver/compare/3.4.1...3.4.2
|
||||
[3.4.1]: https://github.com/composer/semver/compare/3.4.0...3.4.1
|
||||
[3.4.0]: https://github.com/composer/semver/compare/3.3.2...3.4.0
|
||||
|
4
vendor/composer/semver/composer.json
vendored
4
vendor/composer/semver/composer.json
vendored
@ -34,8 +34,8 @@
|
||||
"php": "^5.3.2 || ^7.0 || ^8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony\/phpunit-bridge": "^4.2 || ^5",
|
||||
"phpstan\/phpstan": "^1.4"
|
||||
"symfony\/phpunit-bridge": "^3 || ^7",
|
||||
"phpstan\/phpstan": "^1.11"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -51,7 +51,7 @@ class CompilingMatcher
|
||||
* @phpstan-param Constraint::OP_* $operator
|
||||
* @param string $version
|
||||
*
|
||||
* @return mixed
|
||||
* @return bool
|
||||
*/
|
||||
public static function match(ConstraintInterface $constraint, $operator, $version)
|
||||
{
|
||||
|
2
vendor/scoper-autoload.php
vendored
2
vendor/scoper-autoload.php
vendored
@ -30,7 +30,7 @@ if (!function_exists('humbug_phpscoper_expose_class')) {
|
||||
}
|
||||
}
|
||||
humbug_phpscoper_expose_class('AutoloadIncluder', 'RectorPrefix202409\AutoloadIncluder');
|
||||
humbug_phpscoper_expose_class('ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997', 'RectorPrefix202409\ComposerAutoloaderInit65c2619d2af9277b0b1c0a96c9a54997');
|
||||
humbug_phpscoper_expose_class('ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771', 'RectorPrefix202409\ComposerAutoloaderInitb7f7ba4346a5afcc49f848aa6217e771');
|
||||
humbug_phpscoper_expose_class('Product', 'RectorPrefix202409\Product');
|
||||
|
||||
// Function aliases. For more information see:
|
||||
|
Loading…
x
Reference in New Issue
Block a user