-
Notifications
You must be signed in to change notification settings - Fork 1
/
.unused.php
41 lines (37 loc) · 925 Bytes
/
.unused.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
41
<?php
$projectPath = __DIR__ . '/';
$scanDirectories = [
$projectPath . '/src/',
];
$scanFiles = [
$projectPath.'/config/bundles.php'
];
$excludeDirectories = [
'Svelte',
];
return [
/**
* Required params
**/
'composerJsonPath' => $projectPath . '/composer.json',
'vendorPath' => $projectPath . '/vendor/',
'scanDirectories' => $scanDirectories,
/**
* Optional params
**/
'skipPackages' => [
'symfony/flex',// Composer plugin
'symfony/security-bundle',
'twig/intl-extra',// Templating
'symfony/yaml',
'nyholm/psr7',// Service provider
'php-http/curl-client',// Service provider
'predis/predis',// Service provider
'symfony/dotenv',
'symfony/form'
],
'excludeDirectories' => $excludeDirectories,
'scanFiles' => $scanFiles,
'extensions' => ['*.php'],
'requireDev' => false
];