Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 22, 2024
1 parent 4b3406e commit d73acef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build/deprecated-8.4.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
parameters:
ignoreErrors:
-
message: '#^Use of constant E_STRICT is deprecated\.$#'
identifier: constant.deprecated
count: 1
path: ../src/Analyser/FileAnalyser.php
4 changes: 4 additions & 0 deletions build/ignore-by-php-version.neon.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
$includes[] = __DIR__ . '/datetime-php-83.neon';
}

if (PHP_VERSION_ID >= 80400) {
$includes[] = __DIR__ . '/deprecated-8.4.neon';
}

$config = [];
$config['includes'] = $includes;

Expand Down

0 comments on commit d73acef

Please sign in to comment.