Skip to content

Commit

Permalink
Drop debugging statements and fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Aug 25, 2020
1 parent c788fd2 commit 9bd7ce2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Restarter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ protected function restart($command)
{
assert(null !== $this->tmpIni);
$contents = file_get_contents($this->tmpIni);
$contents = preg_replace('/^auto_prepend_file="' . preg_quote(__DIR__ . '/prepend.php', '/') . '"/m', '', $contents, -1, $count);
var_dump($count);
$contents = preg_replace(
'/^auto_prepend_file="' . preg_quote(__DIR__ . '/prepend.php', '/') . '"/m',
'',
$contents
);
file_put_contents($this->tmpIni, $contents);
parent::restart($command);
}
Expand Down

0 comments on commit 9bd7ce2

Please sign in to comment.