| @@ -52,11 +52,10 @@ | ||
| 52 | 52 | $this->disable_error_reporting(); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | private function disable_error_reporting() { |
| 56 | - // disable error reporting during reset | |
| 57 | - $this->reporting = error_reporting(); //phpcs:ignore | |
| 58 | - error_reporting( 0 ); //phpcs:ignore | |
| 56 | + $this->reporting = error_reporting(); | |
| 57 | + error_reporting( 0 ); | |
| 59 | 58 | } |
| 60 | 59 | |
| 61 | 60 | private function sanitize_input( $string = '' ) { |
| 62 | 61 | if ( ! empty ( $string ) ) { |
| @@ -97,9 +96,9 @@ | ||
| 97 | 96 | } |
| 98 | 97 | } |
| 99 | 98 | |
| 100 | 99 | private function handle_after_reset() { |
| 101 | - error_reporting( $this->reporting ); //phpcs:ignore | |
| 100 | + error_reporting( $this->reporting ); | |
| 102 | 101 | } |
| 103 | 102 | } |
| 104 | 103 | |
| 105 | 104 | WP_CLI::add_command( 'reset', 'DB_Reset_Command' ); |