Updated Rector to commit ab78d14e35aa95519a7fbb2472ef7a7e087e1397

ab78d14e35  [PHPStan] Clean up PHPStan ignore errrors  (#5492)
This commit is contained in:
Tomas Votruba 2024-01-23 10:53:22 +00:00
parent e4d714cf5f
commit 3437ca57ce
7 changed files with 12 additions and 10 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'f7caedf1b61070322bfb44bb266fbf26f8c993d3';
public const PACKAGE_VERSION = 'ab78d14e35aa95519a7fbb2472ef7a7e087e1397';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-01-23 10:38:52';
public const RELEASE_DATE = '2024-01-23 10:51:08';
/**
* @var int
*/

View File

@ -86,6 +86,8 @@ final class InlineCodeParser
return $this->parseCode($content);
}
/**
* @api downgrade
*
* @return Stmt[]
*/
public function parseFile(string $fileName) : array

View File

@ -1742,12 +1742,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
"reference": "51ff6e7ce54c3d6419e3c88fac4a1a9e5d445b24"
"reference": "44d177b2c25bbe3435262f2a45c8d4d1fa247265"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/51ff6e7ce54c3d6419e3c88fac4a1a9e5d445b24",
"reference": "51ff6e7ce54c3d6419e3c88fac4a1a9e5d445b24",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/44d177b2c25bbe3435262f2a45c8d4d1fa247265",
"reference": "44d177b2c25bbe3435262f2a45c8d4d1fa247265",
"shasum": ""
},
"require": {
@ -1769,7 +1769,7 @@
"tomasvotruba\/class-leak": "^0.2",
"tracy\/tracy": "^2.10"
},
"time": "2024-01-02T01:36:36+00:00",
"time": "2024-01-23T10:44:34+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
*/
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 b419ce7'), '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 51ff6e7'), '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 f091938'), '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 9772f7a'));
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 b419ce7'), '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 44d177b'), '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 f091938'), '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 9772f7a'));
private function __construct()
{
}

View File

@ -136,7 +136,7 @@ CODE_SAMPLE
if ($this->cachedClosure instanceof Closure) {
return clone $this->cachedClosure;
}
$stmts = $this->inlineCodeParser->parse(__DIR__ . '/../../snippet/isatty_closure.php.inc');
$stmts = $this->inlineCodeParser->parseFile(__DIR__ . '/../../snippet/isatty_closure.php.inc');
/** @var Expression $expression */
$expression = $stmts[0];
$expr = $expression->expr;

View File

@ -111,7 +111,7 @@ CODE_SAMPLE
if ($this->cachedClosure instanceof Closure) {
return clone $this->cachedClosure;
}
$stmts = $this->inlineCodeParser->parse(__DIR__ . '/../../snippet/array_is_list_closure.php.inc');
$stmts = $this->inlineCodeParser->parseFile(__DIR__ . '/../../snippet/array_is_list_closure.php.inc');
/** @var Expression $expression */
$expression = $stmts[0];
$expr = $expression->expr;