Passed
Push — master ( a263b7...6f8328 )
by Alain
02:24
created
src/TemplateInterface.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -22,21 +22,21 @@
 block discarded – undo
22 22
 interface TemplateInterface extends Renderable
23 23
 {
24 24
 
25
-    /**
26
-     * Get an array of Sections that are used by this template.
27
-     *
28
-     * @since 1.0.0
29
-     *
30
-     * @return array Sections that are used by this template.
31
-     */
32
-    public function getUsedSections();
25
+	/**
26
+	 * Get an array of Sections that are used by this template.
27
+	 *
28
+	 * @since 1.0.0
29
+	 *
30
+	 * @return array Sections that are used by this template.
31
+	 */
32
+	public function getUsedSections();
33 33
 
34
-    /**
35
-     * Get the name of the Template.
36
-     *
37
-     * @since 1.0.0
38
-     *
39
-     * @return string Name of the template.
40
-     */
41
-    public function getTemplateName();
34
+	/**
35
+	 * Get the name of the Template.
36
+	 *
37
+	 * @since 1.0.0
38
+	 *
39
+	 * @return string Name of the template.
40
+	 */
41
+	public function getTemplateName();
42 42
 }
43 43
\ No newline at end of file
Please login to merge, or discard this patch.
src/Validator/AbstractValidator.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * AbstractValidator
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * AbstractValidator
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail\Validator;
13 13
 
Please login to merge, or discard this patch.
src/Validator/HTMLValidator.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -22,17 +22,17 @@
 block discarded – undo
22 22
 class HTMLValidator extends AbstractValidator
23 23
 {
24 24
 
25
-    /**
26
-     * Validate the content for a given context.
27
-     *
28
-     * @since 1.0.0
29
-     *
30
-     * @param string $content Content to validate.
31
-     * @param array  $context Context in which to validate.
32
-     * @return string Validated content.
33
-     */
34
-    public function validate($content, array $context)
35
-    {
36
-        return $content;
37
-    }
25
+	/**
26
+	 * Validate the content for a given context.
27
+	 *
28
+	 * @since 1.0.0
29
+	 *
30
+	 * @param string $content Content to validate.
31
+	 * @param array  $context Context in which to validate.
32
+	 * @return string Validated content.
33
+	 */
34
+	public function validate($content, array $context)
35
+	{
36
+		return $content;
37
+	}
38 38
 }
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
src/Validator/TextValidator.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * TextValidator
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * TextValidator
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail\Validator;
13 13
 
@@ -22,17 +22,17 @@  discard block
 block discarded – undo
22 22
 class TextValidator extends AbstractValidator
23 23
 {
24 24
 
25
-    /**
26
-     * Validate the content for a given context.
27
-     *
28
-     * @since 1.0.0
29
-     *
30
-     * @param string $content Content to validate.
31
-     * @param array  $context Context in which to validate.
32
-     * @return string Validated content.
33
-     */
34
-    public function validate($content, array $context)
35
-    {
36
-        return $content;
37
-    }
25
+	/**
26
+	 * Validate the content for a given context.
27
+	 *
28
+	 * @since 1.0.0
29
+	 *
30
+	 * @param string $content Content to validate.
31
+	 * @param array  $context Context in which to validate.
32
+	 * @return string Validated content.
33
+	 */
34
+	public function validate($content, array $context)
35
+	{
36
+		return $content;
37
+	}
38 38
 }
39 39
\ No newline at end of file
Please login to merge, or discard this patch.
src/ValidatorInterface.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * ValidatorInterface
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * ValidatorInterface
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail;
13 13
 
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
 interface ValidatorInterface
23 23
 {
24 24
 
25
-    /**
26
-     * Validate the content for a given context.
27
-     *
28
-     * @since 1.0.0
29
-     *
30
-     * @param string $content Content to validate.
31
-     * @param array  $context Context in which to validate.
32
-     * @return string Validated content.
33
-     */
34
-    public function validate($content, array $context);
25
+	/**
26
+	 * Validate the content for a given context.
27
+	 *
28
+	 * @since 1.0.0
29
+	 *
30
+	 * @param string $content Content to validate.
31
+	 * @param array  $context Context in which to validate.
32
+	 * @return string Validated content.
33
+	 */
34
+	public function validate($content, array $context);
35 35
 }
36 36
\ No newline at end of file
Please login to merge, or discard this patch.
src/View/AbstractView.php 1 patch
Indentation   +37 added lines, -37 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * AbstractView
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * AbstractView
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail\View;
13 13
 
@@ -25,35 +25,35 @@  discard block
 block discarded – undo
25 25
 abstract class AbstractView implements ViewInterface
26 26
 {
27 27
 
28
-    /**
29
-     * Configuration Settings.
30
-     *
31
-     * @since 1.0.0
32
-     *
33
-     * @var ConfigInterface
34
-     */
35
-    protected $config;
28
+	/**
29
+	 * Configuration Settings.
30
+	 *
31
+	 * @since 1.0.0
32
+	 *
33
+	 * @var ConfigInterface
34
+	 */
35
+	protected $config;
36 36
 
37
-    /**
38
-     * Location of the view data.
39
-     *
40
-     * @since 1.0.0
41
-     *
42
-     * @var   1.0.0
43
-     */
44
-    protected $viewLocation;
37
+	/**
38
+	 * Location of the view data.
39
+	 *
40
+	 * @since 1.0.0
41
+	 *
42
+	 * @var   1.0.0
43
+	 */
44
+	protected $viewLocation;
45 45
 
46
-    /**
47
-     * Instantiate a View object.
48
-     *
49
-     * @since 1.0.0
50
-     *
51
-     * @param ConfigInterface $config       Configuration settings.
52
-     * @param string          $viewLocation Location of the View to render.
53
-     */
54
-    public function __construct($config, $viewLocation)
55
-    {
56
-        $this->config       = $config;
57
-        $this->viewLocation = $viewLocation;
58
-    }
46
+	/**
47
+	 * Instantiate a View object.
48
+	 *
49
+	 * @since 1.0.0
50
+	 *
51
+	 * @param ConfigInterface $config       Configuration settings.
52
+	 * @param string          $viewLocation Location of the View to render.
53
+	 */
54
+	public function __construct($config, $viewLocation)
55
+	{
56
+		$this->config       = $config;
57
+		$this->viewLocation = $viewLocation;
58
+	}
59 59
 }
60 60
\ No newline at end of file
Please login to merge, or discard this patch.
src/ViewInterface.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * ViewInterface
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * ViewInterface
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail;
13 13
 
Please login to merge, or discard this patch.
views/sections/html/GenericSection.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 namespace BrightNucleus\ChainMail;
13 13
 
14 14
 if ( ! $content) {
15
-    return;
15
+	return;
16 16
 }
17 17
 ?>
18 18
 <div class="<?php echo $context['css_class']; ?>"><?php echo $content; ?></div>
Please login to merge, or discard this patch.
views/sections/text/GenericSection.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * GenericSection Text View
4
- *
5
- * @package   brightnucleus/chainmail
6
- * @author    Alain Schlesser <[email protected]>
7
- * @license   GPL-2.0+
8
- * @link      http://www.brightnucleus.com/
9
- * @copyright 2016 Alain Schlesser, Bright Nucleus
10
- */
3
+	 * GenericSection Text View
4
+	 *
5
+	 * @package   brightnucleus/chainmail
6
+	 * @author    Alain Schlesser <[email protected]>
7
+	 * @license   GPL-2.0+
8
+	 * @link      http://www.brightnucleus.com/
9
+	 * @copyright 2016 Alain Schlesser, Bright Nucleus
10
+	 */
11 11
 
12 12
 namespace BrightNucleus\ChainMail;
13 13
 
Please login to merge, or discard this patch.