Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Commit

Permalink
Removing a number of debugging statements that snuck into commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mobius5150 committed Apr 22, 2014
1 parent 84f866b commit a82c6b3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion vip-scanner/analyzers/CustomResourceAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public function analyze( $files ) {
$filepath = $file->get_filepath();
if ( !array_key_exists( $filepath, $file_metas ) ) {
// This is not a file we can handle
var_dump( "Not scanning file: {$file->get_filepath()}: " . $file_metas[$filepath]->get_file()->get_filepath());
continue;
}

Expand Down
5 changes: 0 additions & 5 deletions vip-scanner/analyzers/PHPAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ public function add_renderers( $file, &$renderer, $path = '', $hierarchy = null

foreach ( $hierarchy as $level => $hierarchy_children ) {
$code_elements = $file->get_code_elements( $level, $path );
if ( $file->get_filepath() == '/srv/www/wp-content/themes/twentyfourteen/inc/featured_.php' ) {
var_dump( $file->get_filename() );
var_dump( $level );
$code_elements;
}
if ( empty( $code_elements ) ) {
$this->add_renderers( $file, $renderer, $path, $hierarchy_children );

Expand Down
1 change: 0 additions & 1 deletion vip-scanner/vip-scanner-async.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ private function insert_cache_post( $review, $path, $results, $error_counts ) {
$id = wp_insert_post( $post_args );

if ( is_wp_error( $id ) ) {
var_dump( $id );
return $id;
}

Expand Down

0 comments on commit a82c6b3

Please sign in to comment.