config.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * This configuration will be read and overlaid on top of the
  4. * default configuration. Command line arguments will be applied
  5. * after this file is read.
  6. */
  7. return [
  8. // A list of directories that should be parsed for class and
  9. // method information. After excluding the directories
  10. // defined in exclude_analysis_directory_list, the remaining
  11. // files will be statically analyzed for errors.
  12. //
  13. // Thus, both first-party and third-party code being used by
  14. // your application should be included in this list.
  15. 'directory_list' => [
  16. 'src/',
  17. 'vendor/dnoegel/php-xdg-base-dir/src/',
  18. 'vendor/hoa/console/',
  19. 'vendor/nikic/php-parser/lib/',
  20. 'vendor/symfony/console/',
  21. 'vendor/symfony/var-dumper/',
  22. ],
  23. // A directory list that defines files that will be excluded
  24. // from static analysis, but whose class and method
  25. // information should be included.
  26. //
  27. // Generally, you'll want to include the directories for
  28. // third-party code (such as "vendor/") in this list.
  29. //
  30. // n.b.: If you'd like to parse but not analyze 3rd
  31. // party code, directories containing that code
  32. // should be added to both the `directory_list`
  33. // and `exclude_analysis_directory_list` arrays.
  34. "exclude_analysis_directory_list" => [
  35. 'vendor/'
  36. ],
  37. ];