-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdepcheck.php
29 lines (22 loc) · 910 Bytes
/
depcheck.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* StoreLocator Bundle for Contao Open Source CMS
*
* @author Benny Born <benny.born@numero2.de>
* @author Michael Bösherz <michael.boesherz@numero2.de>
* @license LGPL-3.0-or-later
* @copyright Copyright (c) 2024, numero2 - Agentur für digitales Marketing GbR
*/
use ShipMonk\ComposerDependencyAnalyser\Config\Configuration;
use ShipMonk\ComposerDependencyAnalyser\Config\ErrorType;
return (new Configuration())
->ignoreErrorsOnPackage('contao/manager-plugin', [ErrorType::DEV_DEPENDENCY_IN_PROD])
// ignore dependency as we want to install this, usage is checked
->ignoreErrorsOnPackage('geocoder-php/google-maps-provider', [ErrorType::UNUSED_DEPENDENCY])
// ignore classes these will be checked during runtime
// numero2/contao-tags
->ignoreUnknownClasses([
'numero2\TagsBundle\TagsBundle',
'numero2\TagsBundle\TagsRelModel',
])
;