Skip to content

Commit

Permalink
Add new debug
Browse files Browse the repository at this point in the history
  • Loading branch information
umutphp committed Jun 13, 2021
1 parent 9784ebc commit 4605c4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public function check(Settings $settings = null, Output $output = null)
$returnP = $this->checkPlugins($this->settings, $output);
$returnT = $this->checkThemes($this->settings, $output);

var_dump($returnW);
var_dump($returnP);
var_dump($returnT);

if (!empty($this->lastApiError)) {
$output->writeNewLine();
$output->writeLine('ERROR: ' . $this->lastApiError);
Expand Down
3 changes: 0 additions & 3 deletions wp-vulnerability-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ function showOptions() {
$check = new WPVulnerabilityCheck\Manager($settings);
$status = $check->check();

echo "Success" . PHP_EOL;
var_dump($status);

die($status ? SUCCESS : WITH_ERRORS);
} catch (\Exception $e) {
fwrite(STDERR, $e->getMessage() . PHP_EOL);
Expand Down

0 comments on commit 4605c4f

Please sign in to comment.