diff options
| author | 2024-08-01 20:31:40 +0200 | |
|---|---|---|
| committer | 2024-08-01 20:31:40 +0200 | |
| commit | d2247221bbf23a8fe19f66ea4ad7d0a59ffaa5b4 (patch) | |
| tree | f5174c1b1d174cd41dca20f350e1297894e1c6fa /lib/Minz/Error.php | |
| parent | b2c8cb74562b2f7cb290abd61ff1b6f35475f23a (diff) | |
Minor update whitespace PHPCS rules (#6666)
* Minor update whitespace PHPCS rules
To simplify our configuration, apply more rules, and be clearer about what is added or removed compared with PSR12.
Does not change our current conventions, but just a bit more consistent.
* Forgotten *.phtml
* Sort exclusion patterns + add a few for Extensions repo
* Relaxed some rules
Diffstat (limited to 'lib/Minz/Error.php')
| -rw-r--r-- | lib/Minz/Error.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Error.php b/lib/Minz/Error.php index e5a2cc794..74a71de0a 100644 --- a/lib/Minz/Error.php +++ b/lib/Minz/Error.php @@ -10,7 +10,7 @@ declare(strict_types=1); * The Minz_Error class logs and raises framework errors */ class Minz_Error { - public function __construct() { } + public function __construct() {} /** * Permet de lancer une erreur @@ -76,7 +76,7 @@ class Minz_Error { return array_merge($error, $warning, $notice); case 'production': default: - return $error; + return $error; } } } |
