Upgrade Composer dependency analyser

This commit is contained in:
Yassine Guedidi 2024-08-17 20:05:51 +02:00
parent 6893d6b2cc
commit b11785e022
3 changed files with 16 additions and 27 deletions

View file

@ -15,22 +15,16 @@ return $config
->addPathToScan(__DIR__ . '/fixtures', true) ->addPathToScan(__DIR__ . '/fixtures', true)
->addPathToScan(__DIR__ . '/tests', true) ->addPathToScan(__DIR__ . '/tests', true)
->ignoreErrorsOnPackages([ ->ignoreErrorsOnPackages([
'babdev/pagerfanta-bundle',
'doctrine/common', 'doctrine/common',
'doctrine/doctrine-migrations-bundle',
'egulias/email-validator', 'egulias/email-validator',
'ergebnis/composer-normalize', 'ergebnis/composer-normalize',
'friendsofphp/php-cs-fixer', 'friendsofphp/php-cs-fixer',
'friendsofsymfony/jsrouting-bundle',
'friendsoftwig/twigcs', 'friendsoftwig/twigcs',
'incenteev/composer-parameter-handler', 'incenteev/composer-parameter-handler',
'jms/serializer-bundle',
'laminas/laminas-code', 'laminas/laminas-code',
'lcobucci/jwt', 'lcobucci/jwt',
'mgargano/simplehtmldom', 'mgargano/simplehtmldom',
'mnapoli/piwik-twig-extension', 'mnapoli/piwik-twig-extension',
'nelmio/api-doc-bundle',
'nelmio/cors-bundle',
'ocramius/proxy-manager', 'ocramius/proxy-manager',
'pagerfanta/twig', 'pagerfanta/twig',
'php-http/client-common', 'php-http/client-common',
@ -45,35 +39,22 @@ return $config
'psr/http-factory', 'psr/http-factory',
'psr/http-message', 'psr/http-message',
'rulerz-php/doctrine-orm', 'rulerz-php/doctrine-orm',
'scheb/2fa-bundle',
'scheb/2fa-qr-code', 'scheb/2fa-qr-code',
'scheb/2fa-trusted-device', 'scheb/2fa-trusted-device',
'sentry/sentry-symfony',
'shipmonk/composer-dependency-analyser', 'shipmonk/composer-dependency-analyser',
'stof/doctrine-extensions-bundle',
'symfony/asset', 'symfony/asset',
'symfony/browser-kit', 'symfony/browser-kit',
'symfony/css-selector', 'symfony/css-selector',
'symfony/debug-bundle',
'symfony/doctrine-bridge', 'symfony/doctrine-bridge',
'symfony/google-mailer', 'symfony/google-mailer',
'symfony/intl', 'symfony/intl',
'symfony/maker-bundle',
'symfony/monolog-bundle',
'symfony/phpunit-bridge', 'symfony/phpunit-bridge',
'symfony/polyfill-php80', 'symfony/polyfill-php80',
'symfony/polyfill-php81', 'symfony/polyfill-php81',
'symfony/proxy-manager-bridge', 'symfony/proxy-manager-bridge',
'symfony/security-bundle',
'symfony/templating', 'symfony/templating',
'symfony/twig-bundle',
'symfony/var-dumper', 'symfony/var-dumper',
'symfony/web-profiler-bundle',
'symfony/web-server-bundle',
'twig/extra-bundle',
'twig/string-extra', 'twig/string-extra',
'wallabag/rulerz-bundle',
'willdurand/hateoas-bundle',
], [ErrorType::UNUSED_DEPENDENCY]) ], [ErrorType::UNUSED_DEPENDENCY])
->ignoreErrorsOnPackages([ ->ignoreErrorsOnPackages([
'guzzlehttp/streams', 'guzzlehttp/streams',
@ -81,4 +62,12 @@ return $config
'symfony/filesystem', 'symfony/filesystem',
'symfony/http-client', 'symfony/http-client',
], [ErrorType::PROD_DEPENDENCY_ONLY_IN_DEV]) ], [ErrorType::PROD_DEPENDENCY_ONLY_IN_DEV])
->ignoreErrorsOnPackages([
'dama/doctrine-test-bundle',
'doctrine/doctrine-fixtures-bundle',
'symfony/debug-bundle',
'symfony/maker-bundle',
'symfony/web-profiler-bundle',
'symfony/web-server-bundle',
], [ErrorType::DEV_DEPENDENCY_IN_PROD])
; ;

View file

@ -179,7 +179,7 @@
"phpstan/phpstan-phpunit": "^1.3.16", "phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-symfony": "^1.3.7", "phpstan/phpstan-symfony": "^1.3.7",
"phpunit/phpunit": "^9.6.17", "phpunit/phpunit": "^9.6.17",
"shipmonk/composer-dependency-analyser": "~1.5.0", "shipmonk/composer-dependency-analyser": "^1.7",
"symfony/browser-kit": "^5.4.35", "symfony/browser-kit": "^5.4.35",
"symfony/css-selector": "^5.4.35", "symfony/css-selector": "^5.4.35",
"symfony/debug-bundle": "^5.4.35", "symfony/debug-bundle": "^5.4.35",

14
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "41a679553ce512cb618f3666e243720c", "content-hash": "297cb0379aefd938d0e19e2a8671d7b9",
"packages": [ "packages": [
{ {
"name": "babdev/pagerfanta-bundle", "name": "babdev/pagerfanta-bundle",
@ -19429,16 +19429,16 @@
}, },
{ {
"name": "shipmonk/composer-dependency-analyser", "name": "shipmonk/composer-dependency-analyser",
"version": "1.5.3", "version": "1.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/shipmonk-rnd/composer-dependency-analyser.git", "url": "https://github.com/shipmonk-rnd/composer-dependency-analyser.git",
"reference": "00b5023bcc0c9c4f34c9246b3faf5b780e144622" "reference": "bca862b2830a453734aee048eb0cdab82e5c9da3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/shipmonk-rnd/composer-dependency-analyser/zipball/00b5023bcc0c9c4f34c9246b3faf5b780e144622", "url": "https://api.github.com/repos/shipmonk-rnd/composer-dependency-analyser/zipball/bca862b2830a453734aee048eb0cdab82e5c9da3",
"reference": "00b5023bcc0c9c4f34c9246b3faf5b780e144622", "reference": "bca862b2830a453734aee048eb0cdab82e5c9da3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -19489,9 +19489,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/shipmonk-rnd/composer-dependency-analyser/issues", "issues": "https://github.com/shipmonk-rnd/composer-dependency-analyser/issues",
"source": "https://github.com/shipmonk-rnd/composer-dependency-analyser/tree/1.5.3" "source": "https://github.com/shipmonk-rnd/composer-dependency-analyser/tree/1.7.0"
}, },
"time": "2024-04-22T13:28:23+00:00" "time": "2024-08-08T08:12:32+00:00"
}, },
{ {
"name": "symfony/browser-kit", "name": "symfony/browser-kit",