Updated Rector to commit d57daa7529d035667ca2bf03b19d4b68c07d401d

d57daa7529 [TypeDeclaration] Direclty use ArrayDimFetch instance on ArrowFunction->expr on AddArrowFunctionParamArrayWhereDimFetchRector (#6819)
This commit is contained in:
Tomas Votruba 2025-04-06 01:46:14 +00:00
parent 059eb00d78
commit cf4201c721
4 changed files with 9 additions and 6 deletions

View File

@ -1687,12 +1687,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-doctrine.git",
"reference": "b3f42fd33571b1fb32ab6fbcbae883ed6c7fda0f"
"reference": "37b796c38798dbc1c7eb100bea02016d972abeca"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/b3f42fd33571b1fb32ab6fbcbae883ed6c7fda0f",
"reference": "b3f42fd33571b1fb32ab6fbcbae883ed6c7fda0f",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-doctrine\/zipball\/37b796c38798dbc1c7eb100bea02016d972abeca",
"reference": "37b796c38798dbc1c7eb100bea02016d972abeca",
"shasum": ""
},
"require": {
@ -1715,7 +1715,7 @@
"tomasvotruba\/class-leak": "^2.0",
"tracy\/tracy": "^2.10"
},
"time": "2025-03-31T11:36:15+00:00",
"time": "2025-04-06T01:43:15+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 b3f42fd'), '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 480f1cf'), '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 0da29d9'), '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 d446023'));
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 37b796c'), '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 480f1cf'), '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 0da29d9'), '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 d446023'));
private function __construct()
{
}

View File

@ -48,6 +48,9 @@ final class RepositoryClassResolver
} else {
$repositoryClass = $match['repositoryClass'];
}
if ($repositoryClass === null) {
return null;
}
if (!$this->reflectionProvider->hasClass($repositoryClass)) {
throw new ShouldNotHappenException(\sprintf('Repository class "%s" for entity "%s" does not exist', $repositoryClass, $entityClassName));
}