code: public function scan()
      {
          $files = $this->extensionsFile($this->files);
  
          foreach ($files as $file) {
              $content = file_get_contents($file);
  
              if (str_contains($file, '.php') && !str_contains($file,
                      $this->exceptionsValid) && !$this->checkForValidPhp($content)
              ) {
                  $this->notValid[] = $file;
              }
  
              if (str_contains($content, $this->signatures)) {
                  $this->dangerFiles[] = $file;
                  /*([
                      'path' => $file,
                      //'meta' => $meta,
                      'date' => date('d.m.Y',$meta['mtime']),
                      'size' => $meta['size'],
                  ];
                  */
              }
          }
  
          return $this;
      }
docs: Scans for possible dangerous problems.
  
  @return Defender