Skip to content

Commit

Permalink
Fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Sep 23, 2024
1 parent cd705e5 commit 0dac595
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
<?php

use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;

return (new Configuration())
->addPathToExclude(__DIR__ . '/tests')
->ignoreErrorsOnPackage('swiftmailer/swiftmailer', [ErrorType::SHADOW_DEPENDENCY])
->ignoreErrorsOnPackage('symfony/mime', [ErrorType::SHADOW_DEPENDENCY])
->ignoreErrorsOnPackage('symfony/twig-bridge', [ErrorType::SHADOW_DEPENDENCY])
->ignoreUnknownClasses([
Symfony\Component\Mailer\Event\MessageEvent::class,
Symfony\Component\Mailer\Event\SentMessageEvent::class,
Symfony\Component\Mailer\MailerInterface::class,
])
;
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"symfony/config": "^5.4 || ^6.4 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.4 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.4 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0"
"symfony/http-kernel": "^5.4 || ^6.4 || ^7.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"api-platform/core": "^2.7.16",
Expand Down

0 comments on commit 0dac595

Please sign in to comment.