mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Drop support for PHP 8.2
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user