-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Analyse even php extension dependencies (
ext-*
) (#118)
- Loading branch information
Showing
22 changed files
with
760 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<?php declare(strict_types = 1); | ||
|
||
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration; | ||
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType; | ||
|
||
return (new Configuration()) | ||
->addPathToScan(__FILE__, true) | ||
->addPathToScan(__DIR__ . '/bin', false) | ||
->addPathToExclude(__DIR__ . '/tests/data'); | ||
->addPathToExclude(__DIR__ . '/tests/data') | ||
->ignoreErrorsOnExtensionsAndPaths( | ||
['ext-dom', 'ext-libxml'], | ||
[__DIR__ . '/src/Result/JunitFormatter.php'], // optional usages guarded with extension_loaded() | ||
[ErrorType::DEV_DEPENDENCY_IN_PROD] | ||
); |
Oops, something went wrong.