PHP Classes

File: tests/scanner_test_config_reported_custom.php

Recommend this page to a friend!
  Classes of Insolita   Unused PHP Composer Packages Scanner   tests/scanner_test_config_reported_custom.php   Download  
File: tests/scanner_test_config_reported_custom.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Unused PHP Composer Packages Scanner
Detect packages in a composer project that unused
Author: By
Last change:
Date: 4 years ago
Size: 406 bytes
 

Contents

Class file image Download
<?php
$projectPath
= __DIR__;
return [
   
'composerJsonPath' => $projectPath . '/stub_composer.json',
   
'vendorPath' => $projectPath . '/../vendor/',
   
'scanDirectories' => [$projectPath . '/stubs/'],
   
'requireDev' => false,
   
'reportPath'=>$projectPath.'/reports/',
   
'reportFormatter'=>function(array $report){
         return
print_r($report, true);
    },
   
'reportExtension' => 'txt'
];