-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdepcheck.php
37 lines (30 loc) · 1.02 KB
/
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
30
31
32
33
34
35
36
37
<?php
/**
* Tags Bundle for Contao Open Source CMS
*
* @author Benny Born <[email protected]>
* @author Michael Bösherz <[email protected]>
* @license LGPL-3.0-or-later
* @copyright Copyright (c) 2021, 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 classes these will be checked during runtime
// contao/calendar-bundle
->ignoreUnknownClasses([
'Contao\CalendarBundle\ContaoCalendarBundle',
'Contao\CalendarEventsModel',
'Contao\CalendarModel',
'Contao\ModuleEventlist',
])
// contao/news-bundle
->ignoreUnknownClasses([
'Contao\ModuleNews',
'Contao\ModuleNewsList',
'Contao\NewsArchiveModel',
'Contao\NewsBundle\ContaoNewsBundle',
'Contao\NewsModel',
])
;