Drupal investigation

config.php 1.6KB

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