Update unused PHP file.
This commit is contained in:
parent
9d0d98edcc
commit
2a49145764
|
@ -1,4 +1,12 @@
|
|||
<?php
|
||||
/*
|
||||
* Install unused checker with:
|
||||
* composer global require insolita/unused-scanner
|
||||
*
|
||||
* Invoke with:
|
||||
* php ~/.composer/vendor/bin/unused_scanner util/unused.php
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set $projectPath = getcwd(); if your put it under project root
|
||||
**/
|
||||
|
@ -12,9 +20,8 @@ $projectPath = dirname(__DIR__);
|
|||
**/
|
||||
$scanDirectories = [
|
||||
$projectPath . '/config/',
|
||||
$projectPath . '/bootstrap/',
|
||||
$projectPath . '/src/',
|
||||
$projectPath . '/resources/templates',
|
||||
$projectPath . '/templates',
|
||||
];
|
||||
|
||||
$scanFiles = [
|
||||
|
|
Loading…
Reference in New Issue