Laravel Pint fixes
Some checks failed
PHP Unit / PHPUnit test suite (pull_request) Has been cancelled
Laravel Pint / Laravel Pint (pull_request) Has been cancelled

This commit is contained in:
Jonny Barnes 2025-04-06 17:25:06 +01:00
parent 7a58287b34
commit 126bb29ae2
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
50 changed files with 299 additions and 299 deletions

View file

@ -11,7 +11,7 @@ use Tests\TestCase;
class HelpersTest extends TestCase
{
#[Test]
public function normalizeUrlIsIdempotent(): void
public function normalize_url_is_idempotent(): void
{
$input = 'http://example.org:80/index.php?foo=bar&baz=1';
$this->assertEquals(normalize_url(normalize_url($input)), normalize_url($input));
@ -19,13 +19,13 @@ class HelpersTest extends TestCase
#[Test]
#[DataProvider('urlProvider')]
public function normalizeUrlOnDataProvider(string $input, string $output): void
public function normalize_url_on_data_provider(string $input, string $output): void
{
$this->assertEquals($output, normalize_url($input));
}
#[Test]
public function prettyPrintJson(): void
public function pretty_print_json(): void
{
// phpcs:disable Generic.Files.LineLength.TooLong
$json = <<<'JSON'