-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdepcheck.php
40 lines (34 loc) · 1.12 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
38
39
40
<?php
/**
* Contao Marketing Suite Bundle for Contao Open Source CMS
*
* @author Benny Born <[email protected]>
* @author Michael Bösherz <[email protected]>
* @license Commercial
* @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 classes these will be checked during runtime
// contao/calendar-bundle
->ignoreUnknownClasses([
'Contao\CalendarBundle\ContaoCalendarBundle',
'Contao\Events',
'Contao\CalendarEventsModel',
'Contao\CalendarModel',
])
// contao/news-bundle
->ignoreUnknownClasses([
'Contao\NewsBundle\ContaoNewsBundle',
'Contao\News',
'Contao\NewsArchiveModel',
'Contao\NewsModel',
])
// jeremykendall/php-domain-parser
->ignoreUnknownClasses([
'Pdp\Parser',
'Pdp\PublicSuffixListManager',
])
;