Updated Rector to commit 6ca7133846

6ca7133846 [Scoped] Update PHPStan requirement scoped (#1092)
This commit is contained in:
Tomas Votruba 2021-10-28 14:43:59 +00:00
parent 50c5ae4a6c
commit 8218243242
11 changed files with 45 additions and 39 deletions

View File

@ -26,7 +26,7 @@ jobs:
-
name: 'Along PHPStan'
install: composer require phpstan/phpstan:^0.12.99 --dev --ansi
install: composer require phpstan/phpstan:^1.0 --dev --ansi
name: "PHP ${{ matrix.php_version }}"
@ -47,6 +47,9 @@ jobs:
- run: |
# run
yes | composer init --name some/prj
composer config minimum-stability dev
composer config prefer-stable true
composer require rector/rector:dev-main --dev --ansi
${{ matrix.commands.install }}
working-directory: standalone

View File

@ -16,7 +16,10 @@ jobs:
actions:
-
name: 'Rector Prefixed'
run: composer require rector/rector:dev-main --dev
run: |
composer config minimum-stability dev
composer config prefer-stable true
composer require rector/rector:dev-main --dev
steps:
# see https://github.com/rectorphp/rector-prefixed-rule-test

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '1e398bbcd4a01f250c81283c556e8f7f53af6ee8';
public const PACKAGE_VERSION = '6ca7133846ad749a01ac1475e4fd0d60d57ce1a1';
/**
* @var string
*/
public const RELEASE_DATE = '2021-10-28 19:18:05';
public const RELEASE_DATE = '2021-10-28 14:29:28';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20211028\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215::getLoader();
return ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215
class ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire32b32bad83dd785d4fcb78ae0cc2e215($fileIdentifier, $file);
composerRequire904d5b6b520ee7aff6c61316279f2fac($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire32b32bad83dd785d4fcb78ae0cc2e215($fileIdentifier, $file)
function composerRequire904d5b6b520ee7aff6c61316279f2fac($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215
class ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3894,9 +3894,9 @@ class ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit32b32bad83dd785d4fcb78ae0cc2e215::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit904d5b6b520ee7aff6c61316279f2fac::$classMap;
}, null, ClassLoader::class);
}

View File

@ -833,12 +833,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/phpstan\/phpstan.git",
"reference": "57f294a4fbd63ae01b3426741b6c4cfd9538bf48"
"reference": "2d111cfc39d5c228c8cdfa4717f8d5f0d85dabcd"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/57f294a4fbd63ae01b3426741b6c4cfd9538bf48",
"reference": "57f294a4fbd63ae01b3426741b6c4cfd9538bf48",
"url": "https:\/\/api.github.com\/repos\/phpstan\/phpstan\/zipball\/2d111cfc39d5c228c8cdfa4717f8d5f0d85dabcd",
"reference": "2d111cfc39d5c228c8cdfa4717f8d5f0d85dabcd",
"shasum": ""
},
"require": {
@ -847,7 +847,7 @@
"conflict": {
"phpstan\/phpstan-shim": "*"
},
"time": "2021-10-27T16:36:44+00:00",
"time": "2021-10-28T12:24:12+00:00",
"default-branch": true,
"bin": [
"phpstan",

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmF4fkQACgkQzxoQjQ56
5yBvmA/7ByHuNmyru2WRg5C+XYann47zRS96qjbOQkdPSPyeOYvg6IwhhriAnXA3
dQYqrdVUOrUK4jDjeRiicraNOWeHcQBOMYciroewwa/lH1uzMwTYhrrfi5t5LqYl
xi25bT6wUHBT6WVY6XJvhgOQvm3oP0O/OKuKaZKZvpCe5dTmc6Nfv24SotJsjtk6
+Ss0TQ2o23zfts1UdVStz4jPuc8+2mY/89448s5avaOthuCzr6qZvrhWjwhkQsMk
G1QzuGo97L7SDf62W7HenpT+LbfyCHCVDXopZDt2FW8owDEns/JxHXNx5mbvqzgH
m4xrNznhmMe1xc1cIauFA6wCdDJBu6GX3VM3uylvT2RPLq/jTE1R8OHONxtxvqSY
0odeIqvTw2I543pRszzBi+M5AqnEc/DKCMLiQaSHR5O7GHYRtYOTCSBX+RtxUuNA
YQTZy/7sBF8TPLzUU9gps/nxuRCcQtJMSG4vOmbnbJw2IKxZ0Csw8vEHft8a6m/x
G1+uuIhgZI0Wir8AH1/GZzWWxVSB5ayddmM78zO7NrQ7IyKKPC5aKUKhNqxr1MOq
C1saMZZ86J1K+fSvtaJ5i6oLzUro6caJnWEYop3EK6W2pk3o4Fcqgg7e5/KH/Ys5
ITKJ6+2dEo+iPNbVUEhlS6vLNBdVpn3KhHPmlLs8Y+4zyIDBdYg=
=W3gA
iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmF6lmsACgkQzxoQjQ56
5yCFhQ//Qkd1H9vbvRYNzvf88bpgr28ad2MyyiHmHaCXjgXapLTUWe2c/sO19+1+
uKBjLJFwnpNOVWomIZR67JDgc2kpFEs8nobmx2X8De0v5ZPTrH91emB5GQj+fCcd
2iZypWwXiIa4RZ2fvmVKY0i+wKImfczPgxgt2B+9sSrWmesaHu0d5V9whuPgOXYN
WF9uKShMHwxREA1eCh6F6Rmv6STSAsltgoB2tIt9ktEcvs7FTR84/W0mMImoNEG+
oFO0UswnGLAmTV2NhcwqLXzzscCJK93fcMxPzklmJx5z+tnQ9Yf9jI5lnEkqN81e
IHHkIX/lnhEA4i4nAsG4OE0n3Kf2Z5STWy6aR8Su6LUSBmVEAndhXGduSnPSx5C2
6Q0nhgxp7d8svJWAKfrwT8pK4QE7MSQFXqyzKIu7wXaxOoPd30Dm2XicRStuceXy
FWiah6+PcxjHW3nrdvOLubOtrXEhBunUGG7vjmzZW+EupxV1KzgyU35pjHXujZ0i
kFg9fgIVt/Uh6OOfZ2lPq6AF9+e5jkQ0hNhsfHthinbd2PiJ2mzJvRMbvhkXEH55
KkEyyq+JdxKO4H4CcjLYSP7p2hgLSSq4YmDX3oh5WBTlHBhZ7jL0EgAj/zBgzB3z
XUZ3SYPVGBEciGeT7llBQciM0MKjSXdQKn7ZQCR3OmWyCylDYGE=
=1B3j
-----END PGP SIGNATURE-----

View File

@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20211028\AutoloadIncluder');
}
if (!class_exists('ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215', false) && !interface_exists('ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215', false) && !trait_exists('ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215', false)) {
spl_autoload_call('RectorPrefix20211028\ComposerAutoloaderInit32b32bad83dd785d4fcb78ae0cc2e215');
if (!class_exists('ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac', false) && !interface_exists('ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac', false) && !trait_exists('ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac', false)) {
spl_autoload_call('RectorPrefix20211028\ComposerAutoloaderInit904d5b6b520ee7aff6c61316279f2fac');
}
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
spl_autoload_call('RectorPrefix20211028\Helmich\TypoScriptParser\Parser\AST\Statement');
@ -3306,9 +3306,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20211028\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire32b32bad83dd785d4fcb78ae0cc2e215')) {
function composerRequire32b32bad83dd785d4fcb78ae0cc2e215() {
return \RectorPrefix20211028\composerRequire32b32bad83dd785d4fcb78ae0cc2e215(...func_get_args());
if (!function_exists('composerRequire904d5b6b520ee7aff6c61316279f2fac')) {
function composerRequire904d5b6b520ee7aff6c61316279f2fac() {
return \RectorPrefix20211028\composerRequire904d5b6b520ee7aff6c61316279f2fac(...func_get_args());
}
}
if (!function_exists('parseArgs')) {