Issues (33)

config/apigateway.php (2 issues)

1
<?php
2
3
return [
4
5
    'response_type' => env('APIGATEWAY_RESPONSE_TYPE', 'collection'),
0 ignored issues
show
The function env was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

5
    'response_type' => /** @scrutinizer ignore-call */ env('APIGATEWAY_RESPONSE_TYPE', 'collection'),
Loading history...
6
    'secret_id'     => env('APIGATEWAY_SECRET_ID', ''),
7
    'secret_key'    => env('APIGATEWAY_SECRET_KEY', ''),
8
    'region'        => env('APIGATEWAY_REGION', ''),
9
    'log'           => [
10
        'file'  => env('APIGATEWAY_LOG_FILE', storage_path('logs/apigateway.log')),
0 ignored issues
show
The function storage_path was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

10
        'file'  => env('APIGATEWAY_LOG_FILE', /** @scrutinizer ignore-call */ storage_path('logs/apigateway.log')),
Loading history...
11
        'level' => env('APIGATEWAY_LOG_LEVEL', 'debug'),
12
    ],
13
    'source'        => env('APIGATEWAY_SOURCE', ''),
14
    'fingerprint'   => env('APIGATEWAY_FINGERPRINT', false),
15
16
    // Guzzle Request Options
17
    // See: http://docs.guzzlephp.org/en/stable/request-options.html
18
    'http'          => [
19
        'http_errors'     => env('APIGATEWAY_HTTP_ERRORS', false),
20
        'expect'          => env('APIGATEWAY_HTTP_EXPECT', false),
21
        'decode_content'  => env('APIGATEWAY_HTTP_DECODE_CONTENT', true),
22
        'connect_timeout' => env('APIGATEWAY_HTTP_CONNECT_TIMEOUT', 0),
23
        'timeout'         => env('APIGATEWAY_HTTP_TIMEOUT', 5),
24
    ],
25
26
];
27