mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit d62be327173447695dea93ff52d67d087d9fb9d4
d62be32717
[DX] Accept Y/y for confirmation of init config (#5616)
This commit is contained in:
parent
64ecb6b387
commit
51ddee6f5c
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '82d1e1b0c8b80d7a2f30aa4b0fa988a683427db9';
|
public const PACKAGE_VERSION = 'd62be327173447695dea93ff52d67d087d9fb9d4';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2024-02-13 21:45:07';
|
public const RELEASE_DATE = '2024-02-14 09:07:27';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -44,16 +44,16 @@ final class DoctrineAnnotationDecorator implements PhpDocNodeDecoratorInterface
|
||||||
* @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer
|
* @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer
|
||||||
*/
|
*/
|
||||||
private $attributeMirrorer;
|
private $attributeMirrorer;
|
||||||
/**
|
|
||||||
* Special short annotations, that are resolved as FQN by Doctrine annotation parser
|
|
||||||
* @var string[]
|
|
||||||
*/
|
|
||||||
private const ALLOWED_SHORT_ANNOTATIONS = ['Target'];
|
|
||||||
/**
|
/**
|
||||||
* @see https://regex101.com/r/bGp2V0/2
|
* @see https://regex101.com/r/bGp2V0/2
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const LONG_ANNOTATION_REGEX = '#@\\\\(?<class_name>.*?)(?<annotation_content>\\(.*?\\)|,|\\r?\\n|$)#';
|
public const LONG_ANNOTATION_REGEX = '#@\\\\(?<class_name>.*?)(?<annotation_content>\\(.*?\\)|,|\\r?\\n|$)#';
|
||||||
|
/**
|
||||||
|
* Special short annotations, that are resolved as FQN by Doctrine annotation parser
|
||||||
|
* @var string[]
|
||||||
|
*/
|
||||||
|
private const ALLOWED_SHORT_ANNOTATIONS = ['Target'];
|
||||||
/**
|
/**
|
||||||
* @see https://regex101.com/r/xWaLOz/1
|
* @see https://regex101.com/r/xWaLOz/1
|
||||||
* @var string
|
* @var string
|
||||||
|
|
|
@ -50,7 +50,8 @@ final class ConfigInitializer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$response = $this->symfonyStyle->ask('No "rector.php" config found. Should we generate it for you?', 'yes');
|
$response = $this->symfonyStyle->ask('No "rector.php" config found. Should we generate it for you?', 'yes');
|
||||||
if ($response !== 'yes') {
|
// be tolerant about input
|
||||||
|
if (!\in_array($response, ['yes', 'YES', 'y', 'Y'], \true)) {
|
||||||
// okay, nothing we can do
|
// okay, nothing we can do
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
18
vendor/composer/installed.json
vendored
18
vendor/composer/installed.json
vendored
|
@ -504,8 +504,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "illuminate\/container",
|
"name": "illuminate\/container",
|
||||||
"version": "v10.43.0",
|
"version": "v10.44.0",
|
||||||
"version_normalized": "10.43.0.0",
|
"version_normalized": "10.44.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https:\/\/github.com\/illuminate\/container.git",
|
"url": "https:\/\/github.com\/illuminate\/container.git",
|
||||||
|
@ -561,8 +561,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "illuminate\/contracts",
|
"name": "illuminate\/contracts",
|
||||||
"version": "v10.43.0",
|
"version": "v10.44.0",
|
||||||
"version_normalized": "10.43.0.0",
|
"version_normalized": "10.44.0.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https:\/\/github.com\/illuminate\/contracts.git",
|
"url": "https:\/\/github.com\/illuminate\/contracts.git",
|
||||||
|
@ -1679,12 +1679,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
|
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
|
||||||
"reference": "5adacdc712df484155a4b28968fcc5f54cdb77c8"
|
"reference": "e9c0f7e5e05569e7349f7402e4e95a8345de0b8c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/5adacdc712df484155a4b28968fcc5f54cdb77c8",
|
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/e9c0f7e5e05569e7349f7402e4e95a8345de0b8c",
|
||||||
"reference": "5adacdc712df484155a4b28968fcc5f54cdb77c8",
|
"reference": "e9c0f7e5e05569e7349f7402e4e95a8345de0b8c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1698,7 +1698,7 @@
|
||||||
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
||||||
"phpunit\/phpunit": "^10.5",
|
"phpunit\/phpunit": "^10.5",
|
||||||
"rector\/rector-generator": "^0.7.10",
|
"rector\/rector-generator": "^0.7.10",
|
||||||
"rector\/rector-src": "dev-tv-nested-attribute",
|
"rector\/rector-src": "dev-main",
|
||||||
"symplify\/easy-coding-standard": "^12.1",
|
"symplify\/easy-coding-standard": "^12.1",
|
||||||
"symplify\/phpstan-extensions": "^11.4",
|
"symplify\/phpstan-extensions": "^11.4",
|
||||||
"symplify\/phpstan-rules": "^11.4",
|
"symplify\/phpstan-rules": "^11.4",
|
||||||
|
@ -1708,7 +1708,7 @@
|
||||||
"tomasvotruba\/unused-public": "^0.3",
|
"tomasvotruba\/unused-public": "^0.3",
|
||||||
"tracy\/tracy": "^2.10"
|
"tracy\/tracy": "^2.10"
|
||||||
},
|
},
|
||||||
"time": "2024-02-13T14:37:54+00:00",
|
"time": "2024-02-13T14:46:52+00:00",
|
||||||
"default-branch": true,
|
"default-branch": true,
|
||||||
"type": "rector-extension",
|
"type": "rector-extension",
|
||||||
"extra": {
|
"extra": {
|
||||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
||||||
*/
|
*/
|
||||||
final class GeneratedConfig
|
final class GeneratedConfig
|
||||||
{
|
{
|
||||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main 5adacdc'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 8d1aab2'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main cdbe390'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 59edb62'));
|
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main e9c0f7e'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 8d1aab2'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main cdbe390'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 59edb62'));
|
||||||
private function __construct()
|
private function __construct()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
2
vendor/rector/rector-doctrine/composer.json
vendored
2
vendor/rector/rector-doctrine/composer.json
vendored
|
@ -13,7 +13,7 @@
|
||||||
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
"phpstan\/phpstan-webmozart-assert": "^1.2",
|
||||||
"phpstan\/phpstan": "^1.10.57",
|
"phpstan\/phpstan": "^1.10.57",
|
||||||
"phpunit\/phpunit": "^10.5",
|
"phpunit\/phpunit": "^10.5",
|
||||||
"rector\/rector-src": "dev-tv-nested-attribute",
|
"rector\/rector-src": "dev-main",
|
||||||
"symplify\/phpstan-rules": "^11.4",
|
"symplify\/phpstan-rules": "^11.4",
|
||||||
"symplify\/phpstan-extensions": "^11.4",
|
"symplify\/phpstan-extensions": "^11.4",
|
||||||
"symplify\/easy-coding-standard": "^12.1",
|
"symplify\/easy-coding-standard": "^12.1",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user