Skip to content

Commit ff4f00f

Browse files
staabmondrejmirtes
authored andcommitted
Update FetchingDeprecatedConstRuleTest.php
1 parent 437ac71 commit ff4f00f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Rules/Deprecations/FetchingDeprecatedConstRuleTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,27 @@ public function testFetchingDeprecatedConst(): void
3131

3232
if (PHP_VERSION_ID >= 70300) {
3333
$expectedErrors[] = [
34-
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
34+
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
3535
5,
3636
];
3737
$expectedErrors[] = [
38-
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
38+
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
3939
6,
4040
];
4141
$expectedErrors[] = [
42-
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
42+
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
4343
7,
4444
];
4545
$expectedErrors[] = [
46-
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
46+
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
4747
8,
4848
];
4949
$expectedErrors[] = [
50-
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
50+
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
5151
37,
5252
];
5353
$expectedErrors[] = [
54-
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
54+
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
5555
38,
5656
];
5757
}

0 commit comments

Comments
 (0)