Issues (25)

config/database-encryption.php (1 issue)

1
<?php
2
/**
3
 * src/config/database-encryption.php.
4
 *
5
 * @author      Austin Heap <[email protected]>
6
 * @version     v0.2.1
7
 */
8
9
return [
10
11
    /*
12
     * Enable database encryption.
13
     *
14
     * Default: false
15
     *
16
     * @var null|bool
17
     */
18
    'enabled'            => env('DB_ENCRYPTION_ENABLED', false),
19
20
    /*
21
     * Prefix used in attribute header.
22
     *
23
     * Default: __LARAVEL-DATABASE-ENCRYPTED-%VERSION%__
24
     *
25
     * @var null|string
26
     */
27
    'prefix'             => env('DB_ENCRYPTION_PREFIX', '__LARAVEL-DATABASE-ENCRYPTED-%VERSION%__'),
28
29
    /*
30
     * Enable header versioning.
31
     *
32
     * Default: true
33
     *
34
     * @var null|bool
35
     */
36
    'versioning'         => env('DB_ENCRYPTION_VERSIONING', true),
37
38
    /*
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
39
     * Control characters used by header.
40
     *
41
     * Default: [
42
     *     'header' => [
43
     *         'start'      => 1, // or: chr(1)
44
     *         'stop'       => 4, // or: chr(4)
45
     *     ],
46
     *     'prefix' => [
47
     *         'start'      => 2, // or: chr(2)
48
     *         'stop'       => 3, // or: chr(3)
49
     *     ],
50
     *     'field'   => [
51
     *         'start'      => 30, // or: chr(30)
52
     *         'delimiter'  => 25, // or: chr(25)
53
     *         'stop'       => 23, // or: chr(23)
54
     *     ],
55
     * ]
56
     *
57
     * @var null|array
58
     */
59
    'control_characters' => null,
60
61
];
62