config.neon 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. parameters:
  2. level: 0
  3. excludes_analyse:
  4. - 'tests/Composer/Test/Fixtures'
  5. - 'tests/Composer/Test/Autoload/Fixtures'
  6. - 'tests/Composer/Test/Plugin/Fixtures'
  7. ignoreErrors:
  8. # unused parameters
  9. - '~^Constructor of class Composer\\Repository\\VcsRepository has an unused parameter \$dispatcher\.$~'
  10. - '~^Constructor of class Composer\\Repository\\PearRepository has an unused parameter \$dispatcher\.$~'
  11. - '~^Constructor of class Composer\\Util\\Http\\CurlDownloader has an unused parameter \$disableTls\.$~'
  12. - '~^Constructor of class Composer\\Util\\Http\\CurlDownloader has an unused parameter \$options\.$~'
  13. - '~^Constructor of class Composer\\Repository\\PearRepository has an unused parameter \$config\.$~'
  14. # unused uses
  15. - '~^Anonymous function has an unused use \$io\.$~'
  16. - '~^Anonymous function has an unused use \$cache\.$~'
  17. - '~^Anonymous function has an unused use \$path\.$~'
  18. # ion cube is not installed
  19. - '~^Function ioncube_loader_\w+ not found\.$~'
  20. # rar is not installed
  21. - '~^Call to static method open\(\) on an unknown class RarArchive\.$~'
  22. # imagick is not installed
  23. - '~^Instantiated class Imagick not found\.$~'
  24. # variables from global scope
  25. - '~^Undefined variable: \$vendorDir$~'
  26. - '~^Undefined variable: \$baseDir$~'
  27. # variable defined in eval
  28. - '~^Undefined variable: \$res$~'
  29. # always checked whether the class exists
  30. - '~^Instantiated class Symfony\\Component\\Console\\Terminal not found\.$~'
  31. - '~^Class Symfony\\Component\\Console\\Input\\StreamableInputInterface not found\.$~'
  32. - '~^Call to an undefined static method Symfony\\Component\\Process\\Process::fromShellCommandline\(\).$~'
  33. # parent call in test mocks
  34. - '~^Composer\\Test\\Mock\\HttpDownloaderMock::__construct\(\) does not call parent constructor from Composer\\Util\\HttpDownloader\.$~'
  35. - '~^Composer\\Test\\Mock\\InstallationManagerMock::__construct\(\) does not call parent constructor from Composer\\Installer\\InstallationManager\.$~'