mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-07 11:50:51 +00:00
Updated Rector to commit 29265cacf4b81261cb33885acaaa4edcb5885dd4
29265cacf4
Clean up tweak on packages_tests.yaml (#5202)
This commit is contained in:
parent
2a350d7b34
commit
17928ec6ab
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -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": {
|
||||
|
|
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 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()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user