-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace Composer Require Checker with more capable Composer Dependenc…
…y Analyser
- Loading branch information
1 parent
ec4e32e
commit 8d8c6e5
Showing
4 changed files
with
36 additions
and
11 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types = 1); | ||
|
||
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration; | ||
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType; | ||
|
||
$config = new Configuration(); | ||
|
||
$config = $config->enableAnalysisOfUnusedDevDependencies(); | ||
$config = $config->addPathToScan(__DIR__, true); | ||
|
||
// tools | ||
$config = $config->ignoreErrorsOnPackages([ | ||
'consistence/coding-standard', | ||
'phing/phing', | ||
'php-parallel-lint/php-console-highlighter', | ||
'php-parallel-lint/php-parallel-lint', | ||
], [ErrorType::UNUSED_DEPENDENCY]); | ||
|
||
return $config; |
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