From 2350b294870dd259f631036a78dd76e95e82983a Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Mon, 18 Nov 2024 15:56:25 +0100 Subject: [PATCH] Update composer-dependency-analyser (#74) --- composer-dependency-analyser.php | 12 ++++++++++++ composer.json | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 composer-dependency-analyser.php 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"