You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3 KiB

3 years ago
  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/hoa/console/',
  18. 'vendor/nikic/php-parser/lib/',
  19. 'vendor/symfony/console/',
  20. 'vendor/symfony/var-dumper/',
  21. ],
  22. // A directory list that defines files that will be excluded
  23. // from static analysis, but whose class and method
  24. // information should be included.
  25. //
  26. // Generally, you'll want to include the directories for
  27. // third-party code (such as "vendor/") in this list.
  28. //
  29. // n.b.: If you'd like to parse but not analyze 3rd
  30. // party code, directories containing that code
  31. // should be added to both the `directory_list`
  32. // and `exclude_analysis_directory_list` arrays.
  33. "exclude_analysis_directory_list" => [
  34. 'vendor/'
  35. ],
  36. ];