original_string: protected function fileIsInExcludedPath($file)
      {
          $excludedPaths = [
              '/vendor/laravel/framework/src/Illuminate/Database',
              '/vendor/laravel/framework/src/Illuminate/Events',
              '/vendor/barryvdh/laravel-debugbar',
          ];
  
          $normalizedPath = str_replace('\\', '/', $file);
  
          foreach ($excludedPaths as $excludedPath) {
              if (strpos($normalizedPath, $excludedPath) !== false) {
                  return true;
              }
          }
  
          return false;
      }
code: protected function fileIsInExcludedPath($file)
      {
          $excludedPaths = [
              '/vendor/laravel/framework/src/Illuminate/Database',
              '/vendor/laravel/framework/src/Illuminate/Events',
              '/vendor/barryvdh/laravel-debugbar',
          ];
  
          $normalizedPath = str_replace('\\', '/', $file);
  
          foreach ($excludedPaths as $excludedPath) {
              if (strpos($normalizedPath, $excludedPath) !== false) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: protected function fileIsInExcludedPath ( $ file ) { $ excludedPaths = [ '/vendor/laravel/framework/src/Illuminate/Database' , '/vendor/laravel/framework/src/Illuminate/Events' , '/vendor/barryvdh/laravel-debugbar' , ] ; $ normalizedPath = str_replace ( '\\' , '/' , $ file ) ; foreach ( $ excludedPaths as $ excludedPath ) { if ( strpos ( $ normalizedPath , $ excludedPath ) !== false ) { return true ; } } return false ; }
docstring: Check if the given file is to be excluded from analysis
  
  @param string $file
  @return bool
docstring_tokens: Check if the given file is to be excluded from analysis