Skip to content

Commit

Permalink
Quiet phpdocumentor/reflection on 8.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
donatj committed Nov 21, 2023
1 parent 66df7ad commit 1d4213f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions composer/bin/mddoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ $files = [
__DIR__ . '/../../../../autoload.php',
];

// phpdocumentor/reflection is noisy and doesn't look like it will be fixed
error_reporting(
error_reporting() & ~E_DEPRECATED
);

foreach( $files as $file ) {
if( file_exists($file) ) {
require $file;
Expand Down

0 comments on commit 1d4213f

Please sign in to comment.