aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/ExtensionException.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-02-28 12:26:24 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-28 12:26:24 +0100
commit947e918f05d70d5dce4efa4ef403e593581c3fa9 (patch)
treee66ef1ffe8a6cc0ffbea1bff1791588f72879637 /lib/Minz/ExtensionException.php
parentbf2718cada964fba66d8497592abcb73cb9520ba (diff)
Travis: Enforce phpcs line length + whitespace (#3488)
* Update Travis line length * Also check whitespace in CSS files * Fix line length ext.php * More syntax, string templates * Fix exclude-pattern * Test JS files as well
Diffstat (limited to 'lib/Minz/ExtensionException.php')
-rw-r--r--lib/Minz/ExtensionException.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Minz/ExtensionException.php b/lib/Minz/ExtensionException.php
index 647f1a9b9..ab4c5c419 100644
--- a/lib/Minz/ExtensionException.php
+++ b/lib/Minz/ExtensionException.php
@@ -3,11 +3,9 @@
class Minz_ExtensionException extends Minz_Exception {
public function __construct ($message, $extension_name = false, $code = self::ERROR) {
if ($extension_name) {
- $message = 'An error occured in `' . $extension_name
- . '` extension with the message: ' . $message;
+ $message = 'An error occured in `' . $extension_name . '` extension with the message: ' . $message;
} else {
- $message = 'An error occured in an unnamed '
- . 'extension with the message: ' . $message;
+ $message = 'An error occured in an unnamed extension with the message: ' . $message;
}
parent::__construct($message, $code);