Skip to content

Commit

Permalink
Update composer-dependency-analyser (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal authored Nov 18, 2024
1 parent e9c6726 commit 2350b29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;

$config = new Configuration();

return $config->ignoreErrorsOnExtensionsAndPaths(
['ext-mbstring'],
[__DIR__ . '/src/Runtime/Exception/MappingFailedException.php'], // optional usages guarded with extension_loaded
[ErrorType::SHADOW_DEPENDENCY]
);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"phpstan/phpstan-phpunit": "^2.0.0",
"phpstan/phpstan-strict-rules": "^2.0.0",
"phpunit/phpunit": "^10.5",
"shipmonk/composer-dependency-analyser": "^1.7",
"shipmonk/composer-dependency-analyser": "^1.8.1",
"shipmonk/name-collision-detector": "^2.1.1",
"shipmonk/phpstan-rules": "^4.0.0",
"slevomat/coding-standard": "^8.15.0"
Expand Down

0 comments on commit 2350b29

Please sign in to comment.