From 0ad6accc9864efb33d7aee3baed1fc5bc71b625a Mon Sep 17 00:00:00 2001 From: Jan Nedbal Date: Mon, 18 Nov 2024 23:16:00 +0100 Subject: [PATCH] Composer Dependency Analyser: update to analyse `ext-*` (#960) --- composer-dependency-analyser.php | 1 + composer.json | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer-dependency-analyser.php b/composer-dependency-analyser.php index a4b1aba0..92183a28 100644 --- a/composer-dependency-analyser.php +++ b/composer-dependency-analyser.php @@ -10,4 +10,5 @@ ->addPathToScan(__DIR__.'/src', false) ->addPathToScan(__DIR__.'/tests', true) ->ignoreErrorsOnPackage('google/cloud-firestore', [ErrorType::DEV_DEPENDENCY_IN_PROD]) + ->ignoreErrorsOnExtensionAndPath('ext-curl', 'src/Firebase/Messaging/RequestFactory.php', [ErrorType::SHADOW_DEPENDENCY]) // guarded with extension_loaded ; diff --git a/composer.json b/composer.json index 46cd1582..86954221 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,6 @@ "ext-filter": "*", "ext-json": "*", "ext-mbstring": "*", - "ext-openssl": "*", "beste/clock": "^3.0", "beste/in-memory-cache": "^1.0", "beste/json": "^1.2.1", @@ -58,7 +57,7 @@ "phpstan/phpstan-phpunit": "^1.4.0", "phpunit/phpunit": "^10.5.38", "rector/rector": "^1.2.10", - "shipmonk/composer-dependency-analyser": "^1.7.0", + "shipmonk/composer-dependency-analyser": "^1.8.1", "symfony/var-dumper": "^6.4.14 || ^7.0.7", "vlucas/phpdotenv": "^5.6.1" },