Skip to content

Commit 0ad6acc

Browse files
authored
Composer Dependency Analyser: update to analyse ext-* (#960)
1 parent d4f1e77 commit 0ad6acc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer-dependency-analyser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
->addPathToScan(__DIR__.'/src', false)
1111
->addPathToScan(__DIR__.'/tests', true)
1212
->ignoreErrorsOnPackage('google/cloud-firestore', [ErrorType::DEV_DEPENDENCY_IN_PROD])
13+
->ignoreErrorsOnExtensionAndPath('ext-curl', 'src/Firebase/Messaging/RequestFactory.php', [ErrorType::SHADOW_DEPENDENCY]) // guarded with extension_loaded
1314
;

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"ext-filter": "*",
2929
"ext-json": "*",
3030
"ext-mbstring": "*",
31-
"ext-openssl": "*",
3231
"beste/clock": "^3.0",
3332
"beste/in-memory-cache": "^1.0",
3433
"beste/json": "^1.2.1",
@@ -58,7 +57,7 @@
5857
"phpstan/phpstan-phpunit": "^1.4.0",
5958
"phpunit/phpunit": "^10.5.38",
6059
"rector/rector": "^1.2.10",
61-
"shipmonk/composer-dependency-analyser": "^1.7.0",
60+
"shipmonk/composer-dependency-analyser": "^1.8.1",
6261
"symfony/var-dumper": "^6.4.14 || ^7.0.7",
6362
"vlucas/phpdotenv": "^5.6.1"
6463
},

0 commit comments

Comments
 (0)