diff --git a/composer-dependency-analyser.php b/composer-dependency-analyser.php new file mode 100644 index 0000000..ad2147a --- /dev/null +++ b/composer-dependency-analyser.php @@ -0,0 +1,12 @@ +ignoreErrorsOnExtensionsAndPaths( + ['ext-mbstring'], + [__DIR__ . '/src/Runtime/Exception/MappingFailedException.php'], // optional usages guarded with extension_loaded + [ErrorType::SHADOW_DEPENDENCY] +); diff --git a/composer.json b/composer.json index 552b1fb..ab2c5f3 100644 --- a/composer.json +++ b/composer.json @@ -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"