Skip to content

Commit

Permalink
Update FetchingDeprecatedConstRuleTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and ondrejmirtes committed Mar 13, 2024
1 parent 437ac71 commit ff4f00f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Rules/Deprecations/FetchingDeprecatedConstRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ public function testFetchingDeprecatedConst(): void

if (PHP_VERSION_ID >= 70300) {
$expectedErrors[] = [
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
5,
];
$expectedErrors[] = [
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
6,
];
$expectedErrors[] = [
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
7,
];
$expectedErrors[] = [
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
8,
];
$expectedErrors[] = [
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_SCHEME_REQUIRED is deprecated.',
37,
];
$expectedErrors[] = [
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated since PHP 7.3.',
'Use of constant FILTER_FLAG_HOST_REQUIRED is deprecated.',
38,
];
}
Expand Down

0 comments on commit ff4f00f

Please sign in to comment.