Skip to content

Commit 41acb2f

Browse files
committed
Suppress deprecated warnings
Noodlehaus\AbstractConfig is currently not compatible with its interfaces because it does not declare their return types. In order to get a working version of php-semver-checker without warnings we will suppress those warnings until we can replace the hassankhan/config with a different one that is also compatible with PHP 8+.
1 parent 19f2cbf commit 41acb2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/PHPSemVerChecker/Console/Application.php

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class Application extends SymfonyApplication
2323
public function __construct()
2424
{
2525
parent::__construct('PHP Semantic Versioning Checker by Tom Rochette', self::VERSION);
26+
27+
// Suppress deprecated warnings
28+
error_reporting(E_ALL ^E_DEPRECATED);
2629
}
2730

2831
/**

0 commit comments

Comments
 (0)