apply StyleCI recommendations

This commit is contained in:
El RIDO 2022-10-23 13:13:12 +02:00
parent 0a949d3903
commit 2776033997
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
2 changed files with 2 additions and 2 deletions

View File

@ -295,7 +295,7 @@ class JsonApiTest extends PHPUnit_Framework_TestCase
public function testShortenViaYourlsFailure() public function testShortenViaYourlsFailure()
{ {
$_SERVER['REQUEST_URI'] = '/path/shortenviayourls?link=https%3A%2F%2Fexample.com%2Fpath%2F%3Ffoo%23bar'; $_SERVER['REQUEST_URI'] = '/path/shortenviayourls?link=https%3A%2F%2Fexample.com%2Fpath%2F%3Ffoo%23bar';
$_GET['link'] = 'https://example.com/path/?foo#bar'; $_GET['link'] = 'https://example.com/path/?foo#bar';
ob_start(); ob_start();
new Controller; new Controller;
$content = ob_get_contents(); $content = ob_get_contents();