original_string: private function addVendorFiles(Phar $phar)
      {
          $vendorPath = __DIR__.'/../../vendor/';
  
          $requiredDependencies = [
              realpath($vendorPath.'symfony/'),
              realpath($vendorPath.'doctrine/'),
              realpath($vendorPath.'guzzlehttp'),
              realpath($vendorPath.'psr'),
          ];
  
          $finder = new Finder();
          $finder
              ->files()
              ->ignoreVCS(true)
              ->name('*.php')
              ->exclude(['Tests', 'tests'])
              ->in($requiredDependencies);
  
          foreach ($finder as $file) {
              $this->addFile($phar, $file);
          }
  
          return $this;
      }
code: private function addVendorFiles(Phar $phar)
      {
          $vendorPath = __DIR__.'/../../vendor/';
  
          $requiredDependencies = [
              realpath($vendorPath.'symfony/'),
              realpath($vendorPath.'doctrine/'),
              realpath($vendorPath.'guzzlehttp'),
              realpath($vendorPath.'psr'),
          ];
  
          $finder = new Finder();
          $finder
              ->files()
              ->ignoreVCS(true)
              ->name('*.php')
              ->exclude(['Tests', 'tests'])
              ->in($requiredDependencies);
  
          foreach ($finder as $file) {
              $this->addFile($phar, $file);
          }
  
          return $this;
      }
code_tokens: private function addVendorFiles ( Phar $ phar ) { $ vendorPath = __DIR__ . '/../../vendor/' ; $ requiredDependencies = [ realpath ( $ vendorPath . 'symfony/' ) , realpath ( $ vendorPath . 'doctrine/' ) , realpath ( $ vendorPath . 'guzzlehttp' ) , realpath ( $ vendorPath . 'psr' ) , ] ; $ finder = new Finder ( ) ; $ finder -> files ( ) -> ignoreVCS ( true ) -> name ( '*.php' ) -> exclude ( [ 'Tests' , 'tests' ] ) -> in ( $ requiredDependencies ) ; foreach ( $ finder as $ file ) { $ this -> addFile ( $ phar , $ file ) ; } return $ this ; }
docstring: Add vendor files
  
  @param Phar $phar Phar instance
  
  @return Compiler self Object
docstring_tokens: Add vendor files