Skip to content

Commit

Permalink
Try to fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Oct 3, 2024
1 parent 3903952 commit 70616c0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions composer-dependency-analyser.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
<?php

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

return (new Configuration())
->addPathToExclude(__DIR__ . '/tests')
->ignoreUnknownClasses([
Deployer\Deployer::class,
Deployer\Task\Context::class,
])
->ignoreUnknownFunctions([
'Deployer\after',
'Deployer\before',
'Deployer\get',
'Deployer\run',
'Deployer\set',
'Deployer\task',
'Deployer\upload',
])
->ignoreErrorsOnPackage('deployer/deployer', [ErrorType::UNUSED_DEPENDENCY])
;
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"php": ">=8.1",
"deployer/deployer": "^7.4",
"setono/cron-builder": "^1.0@alpha",
"symfony/console": "^5.4 || ^6.4 || ^7.0",
"symfony/finder": "^5.4 || ^6.4 || ^7.0",
"webmozart/assert": "^1.10"
},
Expand Down

0 comments on commit 70616c0

Please sign in to comment.