These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | /** |
||
4 | * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 |
||
5 | * @copyright Aimeos (aimeos.org), 2016 |
||
6 | */ |
||
7 | |||
8 | |||
9 | if( php_sapi_name() != 'cli' ) { |
||
10 | exit( 'Setup can only be started via command line for security reasons' ); |
||
11 | } |
||
12 | |||
13 | ini_set( 'display_errors', 1 ); |
||
14 | date_default_timezone_set( 'UTC' ); |
||
15 | |||
16 | |||
17 | try |
||
18 | { |
||
19 | require 'vendor' . DIRECTORY_SEPARATOR . 'autoload.php'; |
||
20 | |||
21 | \Aimeos\Slim\Command\Cache::run( $_SERVER['argv'] ); |
||
22 | } |
||
23 | catch( \Aimeos\Slim\Command\Exception $e ) |
||
24 | { |
||
25 | echo $e->getMessage() . "\n"; |
||
26 | echo \Aimeos\Slim\Command\Cache::usage(); |
||
27 | exit( 1 ); |
||
28 | } |
||
29 | catch( \Throwable $t ) |
||
0 ignored issues
–
show
|
|||
30 | { |
||
31 | echo "\n\nCaught PHP error"; |
||
32 | echo "\n\nMessage:\n"; |
||
33 | echo $t->getMessage(); |
||
34 | echo "\n\nStack trace:\n"; |
||
35 | echo $t->getTraceAsString(); |
||
36 | echo "\n\n"; |
||
37 | exit( 1 ); |
||
38 | } |
||
39 | catch( \Exception $e ) |
||
40 | { |
||
41 | echo "\n\nCaught exception"; |
||
42 | echo "\n\nMessage:\n"; |
||
43 | echo $e->getMessage(); |
||
44 | echo "\n\nStack trace:\n"; |
||
45 | echo $e->getTraceAsString(); |
||
46 | echo "\n\n"; |
||
47 | exit( 1 ); |
||
48 | } |
||
49 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.