Drop support for PHP 8.2

This commit is contained in:
Alejandro Celaya
2024-12-02 09:13:20 +01:00
parent bfaab6c494
commit 58de998596
110 changed files with 232 additions and 224 deletions

View File

@@ -13,7 +13,7 @@ use Shlinkio\Shlink\TestUtils\ApiTest\ApiTestCase;
class OrphanVisitsTest extends ApiTestCase
{
private const INVALID_SHORT_URL = [
private const array INVALID_SHORT_URL = [
'referer' => 'https://s.test/foo',
'date' => '2020-03-01T00:00:00+00:00',
'userAgent' => 'cf-facebook',
@@ -23,7 +23,7 @@ class OrphanVisitsTest extends ApiTestCase
'type' => 'invalid_short_url',
'redirectUrl' => null,
];
private const REGULAR_NOT_FOUND = [
private const array REGULAR_NOT_FOUND = [
'referer' => 'https://s.test/foo/bar',
'date' => '2020-02-01T00:00:00+00:00',
'userAgent' => 'shlink-tests-agent',
@@ -33,7 +33,7 @@ class OrphanVisitsTest extends ApiTestCase
'type' => 'regular_404',
'redirectUrl' => null,
];
private const BASE_URL = [
private const array BASE_URL = [
'referer' => 'https://s.test',
'date' => '2020-01-01T00:00:00+00:00',
'userAgent' => 'shlink-tests-agent',