Updated Rector to commit 29265cacf4b81261cb33885acaaa4edcb5885dd4

29265cacf4 Clean up tweak on packages_tests.yaml (#5202)
This commit is contained in:
Tomas Votruba 2023-10-25 15:40:25 +00:00
parent 2a350d7b34
commit 17928ec6ab
5 changed files with 10 additions and 10 deletions

View File

@ -1879,12 +1879,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "d7c37023bf6e6602aef7affc8dea25bc6157f5b4"
"reference": "fdf9e75fa1c18baa8ff100f642dc600c85f192dd"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/d7c37023bf6e6602aef7affc8dea25bc6157f5b4",
"reference": "d7c37023bf6e6602aef7affc8dea25bc6157f5b4",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/fdf9e75fa1c18baa8ff100f642dc600c85f192dd",
"reference": "fdf9e75fa1c18baa8ff100f642dc600c85f192dd",
"shasum": ""
},
"require": {
@ -1917,7 +1917,7 @@
"tomasvotruba\/unused-public": "^0.2",
"tracy\/tracy": "^2.10"
},
"time": "2023-10-25T14:53:54+00:00",
"time": "2023-10-25T15:34:03+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 d7c3702'));
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'));
private function __construct()
{
}

View File

@ -101,7 +101,7 @@ Make assertSame(200, `$response->getStatusCode())` in tests comparing response c
$response = $this->processResult();
- $this->assertSame(200, $response->getStatusCode());
+ $this->assertSame(200, $response->getStatusCode(), $response->getContents());
+ $this->assertSame(200, $response->getStatusCode(), $response->getContent());
}
}
```

View File

@ -52,7 +52,7 @@ class SomeClass extends TestCase
/** @var \Symfony\Component\HttpFoundation\Response $response */
$response = $this->processResult();
$this->assertSame(200, $response->getStatusCode(), $response->getContents());
$this->assertSame(200, $response->getStatusCode(), $response->getContent());
}
}
CODE_SAMPLE
@ -91,8 +91,8 @@ CODE_SAMPLE
if (!$responseExpr instanceof Expr) {
return null;
}
$getContentsMethodCall = new MethodCall($responseExpr, 'getContents');
$node->args[2] = new Arg($getContentsMethodCall);
$getContentMethodCall = new MethodCall($responseExpr, 'getContent');
$node->args[2] = new Arg($getContentMethodCall);
return $node;
}
/**