Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class SaltsGenerate extends Command |
||
11 | { |
||
12 | protected $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_[]{}<>~`+=,.;:/?|'; |
||
13 | |||
14 | protected $keys = [ |
||
15 | 'AUTH_KEY', |
||
16 | 'SECURE_AUTH_KEY', |
||
17 | 'LOGGED_IN_KEY', |
||
18 | 'NONCE_KEY', |
||
19 | 'AUTH_SALT', |
||
20 | 'SECURE_AUTH_SALT', |
||
21 | 'LOGGED_IN_SALT', |
||
22 | 'NONCE_SALT', |
||
23 | ]; |
||
24 | |||
25 | protected $signature = 'salts:generate'; |
||
26 | |||
27 | protected $description = 'Generates Wordpress Salts and writes them to .env'; |
||
28 | |||
29 | public function __construct() |
||
32 | } |
||
33 | |||
34 | public function handle() |
||
40 | } |
||
41 | |||
42 | public function generateSalt($length = 64) |
||
50 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths