mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-01 00:40:52 +00:00
Updated Rector to commit b18da7d458c2d240dd50682b31670e134f2b1ed3
b18da7d458
[CodeQuality] Skip on property and class const on CallableThisArrayToAnonymousFunctionRector (#5869)
This commit is contained in:
parent
5ca50de6b7
commit
af81b5db1b
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -1866,12 +1866,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "040014c3af8a300dadfc1d9a0f09043572dfd79b"
|
||||
"reference": "05297e1cae8b1eb0e8e0a481d329e54a8f826adb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/040014c3af8a300dadfc1d9a0f09043572dfd79b",
|
||||
"reference": "040014c3af8a300dadfc1d9a0f09043572dfd79b",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/05297e1cae8b1eb0e8e0a481d329e54a8f826adb",
|
||||
"reference": "05297e1cae8b1eb0e8e0a481d329e54a8f826adb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -1900,7 +1900,7 @@
|
|||
"tomasvotruba\/class-leak": "^0.2.13",
|
||||
"tracy\/tracy": "^2.10"
|
||||
},
|
||||
"time": "2024-04-29T12:43:48+00:00",
|
||||
"time": "2024-05-12T07:29:00+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"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
|
||||
{
|
||||
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 364e273'), '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 4228a73'), '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 d075c4f'), '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 040014c'));
|
||||
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 364e273'), '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 4228a73'), '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 d075c4f'), '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 05297e1'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ CODE_SAMPLE
|
|||
}
|
||||
// for client, the transitional dependency to browser-kit might be missing and cause fatal error on PHPStan reflection
|
||||
// in most cases that should be skipped, @changelog https://github.com/rectorphp/rector/issues/7135
|
||||
if ($this->reflectionProvider->hasClass('Symfony\\Component\\BrowserKit\\AbstractBrowser') && $this->isObjectType($node->var, new ObjectType('Symfony\\Component\\HttpKernel\\Client'))) {
|
||||
if ($this->reflectionProvider->hasClass('Symfony\\Component\\BrowserKit\\AbstractBrowser') && ($this->isObjectType($node->var, new ObjectType('Symfony\\Component\\HttpKernel\\Client')) || $this->isObjectType($node->var, new ObjectType('Symfony\\Bundle\\FrameworkBundle\\KernelBrowser')))) {
|
||||
return $this->refactorClientMethodCall($node);
|
||||
}
|
||||
if (!$this->isName($node->name, 'setMethod')) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user