config.php 1.3 KB

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