Issues (30)

config/laravel-bitpay.php (1 issue)

Labels
Severity
1
<?php
2
3
return [
4
    /*
5
     * This is the full path and name for the private key.
6
     * The default value is /tmp/laravel-bitpay.pri
7
     */
8
    'private_key' => env('BITPAY_PRIVATE_KEY_PATH', '/tmp/laravel-bitpay.pri'),
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

8
    'private_key' => /** @scrutinizer ignore-call */ env('BITPAY_PRIVATE_KEY_PATH', '/tmp/laravel-bitpay.pri'),
Loading history...
9
10
    /*
11
     * This is the full path and name for the public key.
12
     * The default value is /tmp/laravel-bitpay.pub
13
     */
14
    'public_key' => env('BITPAY_PUBLIC_KEY_PATH', '/tmp/laravel-bitpay.pub'),
15
16
    /*
17
     * Specifies using the Live Bitcoin network or
18
     * Test Bitcoin network: livenet or testnet.
19
     *
20
     * The default is livenet
21
     */
22
    'network' => env('BITPAY_NETWORK', 'livenet'),
23
24
    /*
25
     * The key_storage option allows you to specify a class for persisting and retrieving keys.
26
     *
27
     * By default this uses the Bitpay\Storage\EncryptedFilesystemStorage class.
28
     */
29
    'key_storage' => \BitPayKeyUtils\Storage\EncryptedFilesystemStorage::class,
30
31
    /*
32
     * This is the password used to encrypt and decrypt keys on the filesystem.
33
     */
34
    'key_storage_password' => env('BITPAY_KEY_STORAGE_PASSWORD', 'RandomPasswordForEncryption'),
35
36
    /*
37
     * BitPay Token
38
     */
39
    'token' => env('BITPAY_TOKEN', ''),
40
];
41