Completed
Pull Request — master (#2)
by René
05:32 queued 03:10
created
src/Common/Exception/Exception.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -10,22 +10,22 @@
 block discarded – undo
10 10
 class Exception extends \Exception
11 11
 {
12 12
 
13
-    /**
14
-     * @var string
15
-     */
16
-    protected $template = '';
13
+	/**
14
+	 * @var string
15
+	 */
16
+	protected $template = '';
17 17
 
18
-    /**
19
-     * @param string          $message
20
-     * @param int             $code
21
-     * @param null|\Exception $previous
22
-     */
23
-    public function __construct($message, $code = 0, \Exception $previous = null)
24
-    {
25
-        if (is_array($message)) {
26
-            $message = vsprintf($this->template, $message);
27
-        }
18
+	/**
19
+	 * @param string          $message
20
+	 * @param int             $code
21
+	 * @param null|\Exception $previous
22
+	 */
23
+	public function __construct($message, $code = 0, \Exception $previous = null)
24
+	{
25
+		if (is_array($message)) {
26
+			$message = vsprintf($this->template, $message);
27
+		}
28 28
 
29
-        parent::__construct($message, $code, $previous);
30
-    }
29
+		parent::__construct($message, $code, $previous);
30
+	}
31 31
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@  discard block
 block discarded – undo
7 7
  *
8 8
  * @package Zortje\MVC\Common\Exception
9 9
  */
10
-class Exception extends \Exception
11
-{
10
+class Exception extends \Exception {
12 11
 
13 12
     /**
14 13
      * @var string
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
      * @param int             $code
21 20
      * @param null|\Exception $previous
22 21
      */
23
-    public function __construct($message, $code = 0, \Exception $previous = null)
24
-    {
22
+    public function __construct($message, $code = 0, \Exception $previous = null) {
25 23
         if (is_array($message)) {
26 24
             $message = vsprintf($this->template, $message);
27 25
         }
Please login to merge, or discard this patch.
src/Controller/Exception/ControllerActionNonexistentException.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 class ControllerActionNonexistentException extends Exception
13 13
 {
14 14
 
15
-    /**
16
-     * {@inheritdoc}
17
-     */
18
-    protected $template = 'Controller %s action %s is nonexistent';
15
+	/**
16
+	 * {@inheritdoc}
17
+	 */
18
+	protected $template = 'Controller %s action %s is nonexistent';
19 19
 
20
-    /**
21
-     * {@inheritdoc}
22
-     */
23
-    public function __construct($message)
24
-    {
25
-        parent::__construct($message);
26
-    }
20
+	/**
21
+	 * {@inheritdoc}
22
+	 */
23
+	public function __construct($message)
24
+	{
25
+		parent::__construct($message);
26
+	}
27 27
 
28 28
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @package Zortje\MVC\Controller\Exception
11 11
  */
12
-class ControllerActionNonexistentException extends Exception
13
-{
12
+class ControllerActionNonexistentException extends Exception {
14 13
 
15 14
     /**
16 15
      * {@inheritdoc}
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
     /**
21 20
      * {@inheritdoc}
22 21
      */
23
-    public function __construct($message)
24
-    {
22
+    public function __construct($message) {
25 23
         parent::__construct($message);
26 24
     }
27 25
 
Please login to merge, or discard this patch.
Exception/ControllerActionPrivateInsufficientAuthenticationException.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 class ControllerActionPrivateInsufficientAuthenticationException extends Exception
13 13
 {
14 14
 
15
-    /**
16
-     * {@inheritdoc}
17
-     */
18
-    protected $template = 'Controller %s private action %s requires authentication';
15
+	/**
16
+	 * {@inheritdoc}
17
+	 */
18
+	protected $template = 'Controller %s private action %s requires authentication';
19 19
 
20
-    /**
21
-     * {@inheritdoc}
22
-     */
23
-    public function __construct($message)
24
-    {
25
-        parent::__construct($message);
26
-    }
20
+	/**
21
+	 * {@inheritdoc}
22
+	 */
23
+	public function __construct($message)
24
+	{
25
+		parent::__construct($message);
26
+	}
27 27
 
28 28
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @package Zortje\MVC\Controller\Exception
11 11
  */
12
-class ControllerActionPrivateInsufficientAuthenticationException extends Exception
13
-{
12
+class ControllerActionPrivateInsufficientAuthenticationException extends Exception {
14 13
 
15 14
     /**
16 15
      * {@inheritdoc}
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
     /**
21 20
      * {@inheritdoc}
22 21
      */
23
-    public function __construct($message)
24
-    {
22
+    public function __construct($message) {
25 23
         parent::__construct($message);
26 24
     }
27 25
 
Please login to merge, or discard this patch.
Exception/ControllerActionProtectedInsufficientAuthenticationException.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 class ControllerActionProtectedInsufficientAuthenticationException extends Exception
13 13
 {
14 14
 
15
-    /**
16
-     * {@inheritdoc}
17
-     */
18
-    protected $template = 'Controller %s protected action %s requires authentication';
15
+	/**
16
+	 * {@inheritdoc}
17
+	 */
18
+	protected $template = 'Controller %s protected action %s requires authentication';
19 19
 
20
-    /**
21
-     * {@inheritdoc}
22
-     */
23
-    public function __construct($message)
24
-    {
25
-        parent::__construct($message);
26
-    }
20
+	/**
21
+	 * {@inheritdoc}
22
+	 */
23
+	public function __construct($message)
24
+	{
25
+		parent::__construct($message);
26
+	}
27 27
 
28 28
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @package Zortje\MVC\Controller\Exception
11 11
  */
12
-class ControllerActionProtectedInsufficientAuthenticationException extends Exception
13
-{
12
+class ControllerActionProtectedInsufficientAuthenticationException extends Exception {
14 13
 
15 14
     /**
16 15
      * {@inheritdoc}
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
     /**
21 20
      * {@inheritdoc}
22 21
      */
23
-    public function __construct($message)
24
-    {
22
+    public function __construct($message) {
25 23
         parent::__construct($message);
26 24
     }
27 25
 
Please login to merge, or discard this patch.
src/Controller/Exception/ControllerInvalidSuperclassException.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 class ControllerInvalidSuperclassException extends Exception
13 13
 {
14 14
 
15
-    /**
16
-     * {@inheritdoc}
17
-     */
18
-    protected $template = 'Controller %s is not a subclass of Controller';
15
+	/**
16
+	 * {@inheritdoc}
17
+	 */
18
+	protected $template = 'Controller %s is not a subclass of Controller';
19 19
 
20
-    /**
21
-     * {@inheritdoc}
22
-     */
23
-    public function __construct($message)
24
-    {
25
-        parent::__construct($message);
26
-    }
20
+	/**
21
+	 * {@inheritdoc}
22
+	 */
23
+	public function __construct($message)
24
+	{
25
+		parent::__construct($message);
26
+	}
27 27
 
28 28
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @package Zortje\MVC\Controller\Exception
11 11
  */
12
-class ControllerInvalidSuperclassException extends Exception
13
-{
12
+class ControllerInvalidSuperclassException extends Exception {
14 13
 
15 14
     /**
16 15
      * {@inheritdoc}
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
     /**
21 20
      * {@inheritdoc}
22 21
      */
23
-    public function __construct($message)
24
-    {
22
+    public function __construct($message) {
25 23
         parent::__construct($message);
26 24
     }
27 25
 
Please login to merge, or discard this patch.
src/Controller/Exception/ControllerNonexistentException.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -12,17 +12,17 @@
 block discarded – undo
12 12
 class ControllerNonexistentException extends Exception
13 13
 {
14 14
 
15
-    /**
16
-     * {@inheritdoc}
17
-     */
18
-    protected $template = 'Controller %s is nonexistent';
15
+	/**
16
+	 * {@inheritdoc}
17
+	 */
18
+	protected $template = 'Controller %s is nonexistent';
19 19
 
20
-    /**
21
-     * {@inheritdoc}
22
-     */
23
-    public function __construct($message)
24
-    {
25
-        parent::__construct($message);
26
-    }
20
+	/**
21
+	 * {@inheritdoc}
22
+	 */
23
+	public function __construct($message)
24
+	{
25
+		parent::__construct($message);
26
+	}
27 27
 
28 28
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,8 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @package Zortje\MVC\Controller\Exception
11 11
  */
12
-class ControllerNonexistentException extends Exception
13
-{
12
+class ControllerNonexistentException extends Exception {
14 13
 
15 14
     /**
16 15
      * {@inheritdoc}
@@ -20,8 +19,7 @@  discard block
 block discarded – undo
20 19
     /**
21 20
      * {@inheritdoc}
22 21
      */
23
-    public function __construct($message)
24
-    {
22
+    public function __construct($message) {
25 23
         parent::__construct($message);
26 24
     }
27 25
 
Please login to merge, or discard this patch.