config.neon 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. - '~^Anonymous function has an unused use \$fileName\.$~'
  19. # ion cube is not installed
  20. - '~^Function ioncube_loader_\w+ not found\.$~'
  21. # rar is not installed
  22. - '~^Call to static method open\(\) on an unknown class RarArchive\.$~'
  23. # imagick is not installed
  24. - '~^Instantiated class Imagick not found\.$~'
  25. # variables from global scope
  26. - '~^Undefined variable: \$vendorDir$~'
  27. - '~^Undefined variable: \$baseDir$~'
  28. # variable defined in eval
  29. - '~^Undefined variable: \$res$~'
  30. # always checked whether the class exists
  31. - '~^Instantiated class Symfony\\Component\\Console\\Terminal not found\.$~'
  32. - '~^Class Symfony\\Component\\Console\\Input\\StreamableInputInterface not found\.$~'
  33. - '~^Call to an undefined static method Symfony\\Component\\Process\\Process::fromShellCommandline\(\).$~'
  34. # parent call in test mocks
  35. - '~^Composer\\Test\\Mock\\HttpDownloaderMock::__construct\(\) does not call parent constructor from Composer\\Util\\HttpDownloader\.$~'
  36. - '~^Composer\\Test\\Mock\\InstallationManagerMock::__construct\(\) does not call parent constructor from Composer\\Installer\\InstallationManager\.$~'