mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-13 03:27:45 +02:00
style(ecs): add easy-coding-standard to enforce coding style rules for php
- update .devcontainer settings: remove auto-formatting for php + set intelephense as default formatter - remove prettier php plugin as it lacks php 8 support - add captain hook action for checking style pre-commit - fix style with ecs on all files except views
This commit is contained in:
parent
fb3593f828
commit
aa1612342e
230 changed files with 3420 additions and 5884 deletions
|
|
@ -7,8 +7,8 @@ use CodeIgniter\Config\BaseConfig;
|
|||
/**
|
||||
* Encryption configuration.
|
||||
*
|
||||
* These are the settings used for encryption, if you don't pass a parameter
|
||||
* array to the encrypter for creation/initialization.
|
||||
* These are the settings used for encryption, if you don't pass a parameter array to the encrypter for
|
||||
* creation/initialization.
|
||||
*/
|
||||
class Encryption extends BaseConfig
|
||||
{
|
||||
|
|
@ -20,7 +20,6 @@ class Encryption extends BaseConfig
|
|||
* If you use the Encryption class you must set an encryption key (seed).
|
||||
* You need to ensure it is long enough for the cipher and mode you plan to use.
|
||||
* See the user guide for more info.
|
||||
*
|
||||
*/
|
||||
public string $key = '';
|
||||
|
||||
|
|
@ -34,7 +33,6 @@ class Encryption extends BaseConfig
|
|||
* Available drivers:
|
||||
* - OpenSSL
|
||||
* - Sodium
|
||||
*
|
||||
*/
|
||||
public string $driver = 'OpenSSL';
|
||||
|
||||
|
|
@ -47,7 +45,6 @@ class Encryption extends BaseConfig
|
|||
* before it is encrypted. This value should be greater than zero.
|
||||
*
|
||||
* See the user guide for more information on padding.
|
||||
*
|
||||
*/
|
||||
public int $blockSize = 16;
|
||||
|
||||
|
|
@ -57,7 +54,6 @@ class Encryption extends BaseConfig
|
|||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* HMAC digest to use, e.g. 'SHA512' or 'SHA256'. Default value is 'SHA512'.
|
||||
*
|
||||
*/
|
||||
public string $digest = 'SHA512';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue