Updated Rector to commit be0cc77862bef98727e1e3881620c5416841801f

be0cc77862 CountArrayToEmptyArrayComparisonRector: don't trust phpdoc (#5203)
This commit is contained in:
Tomas Votruba 2023-10-26 12:26:07 +00:00
parent ae4c0b72cb
commit 8d1b2d924e
6 changed files with 10 additions and 9 deletions

View File

@ -88,7 +88,7 @@ CODE_SAMPLE
}
private function isArray(Expr $expr) : bool
{
return $this->getType($expr)->isArray()->yes();
return $this->nodeTypeResolver->getNativeType($expr)->isArray()->yes();
}
/**
* @param \PhpParser\Node\Expr\BinaryOp\Identical|\PhpParser\Node\Expr\BinaryOp\NotIdentical $binaryOp

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '72cdbd0613318b797455deba64ebe6358d58af42';
public const PACKAGE_VERSION = 'be0cc77862bef98727e1e3881620c5416841801f';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-10-26 14:07:55';
public const RELEASE_DATE = '2023-10-26 19:22:18';
/**
* @var int
*/

View File

@ -1808,12 +1808,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-phpunit.git",
"reference": "7a0a6dbc09658a097897f0365fc0e04bc7299714"
"reference": "d21464571e3d2e7e6caddfc6636d47dc7b21d82a"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/7a0a6dbc09658a097897f0365fc0e04bc7299714",
"reference": "7a0a6dbc09658a097897f0365fc0e04bc7299714",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-phpunit\/zipball\/d21464571e3d2e7e6caddfc6636d47dc7b21d82a",
"reference": "d21464571e3d2e7e6caddfc6636d47dc7b21d82a",
"shasum": ""
},
"require": {
@ -1843,7 +1843,7 @@
"tomasvotruba\/unused-public": "^0.3",
"tracy\/tracy": "^2.10"
},
"time": "2023-10-18T18:34:53+00:00",
"time": "2023-10-26T11:26:56+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 9de7d58'), '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 2d20783'), '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 7a0a6db'), '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 fdf9e75'));
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 9de7d58'), '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 2d20783'), '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 d214645'), '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 fdf9e75'));
private function __construct()
{
}

View File

@ -50,6 +50,7 @@
"phpstan": "vendor\/bin\/phpstan analyse --ansi --error-format symplify",
"check-cs": "vendor\/bin\/ecs check --ansi",
"fix-cs": "vendor\/bin\/ecs check --fix --ansi",
"rector": "vendor\/bin\/rector process --ansi",
"docs": "vendor\/bin\/rule-doc-generator generate src rules --output-file docs\/rector_rules_overview.md --ansi"
},
"extra": {