Skip to content

Commit

Permalink
Merge pull request #423 from afragen/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Feb 14, 2024
2 parents 17a85ac + 80963c6 commit 61558d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Checker/Checks/Abstract_PHP_CodeSniffer_Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final public function run( Check_Result $result ) {
}

// Backup the original command line arguments.
$orig_cmd_args = $_SERVER['argv'];
$orig_cmd_args = $_SERVER['argv'] ?? '';

// Create the default arguments for PHPCS.
$defaults = $this->get_argv_defaults( $result );
Expand Down

0 comments on commit 61558d5

Please sign in to comment.