Completed
Push — master ( aed6a5...a11b80 )
by Olivier
03:10
created
lib/PatronEngine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 	/**
24 24
 	 * @inheritdoc
25 25
 	 */
26
-	public function render($template_pathname, $thisArg, array $variables, array $options = [])
26
+	public function render($template_pathname, $thisArg, array $variables, array $options = [ ])
27 27
 	{
28 28
 		$template = file_get_contents($template_pathname);
29 29
 		$patron = \Patron\get_patron();
Please login to merge, or discard this patch.
config/hooks.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Patron\RenderSupport;
4 4
 
5
-$hooks = Hooks::class . '::';
5
+$hooks = Hooks::class.'::';
6 6
 
7 7
 return [
8 8
 
9 9
 	'patron.markups' => [
10 10
 
11
-		'render' => [ $hooks . 'markup_render', [
11
+		'render' => [ $hooks.'markup_render', [
12 12
 
13 13
 			'select' => [ 'expression' => true ]
14 14
 
Please login to merge, or discard this patch.
config/event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use ICanBoogie;
6 6
 
7
-$hooks = Hooks::class . '::';
7
+$hooks = Hooks::class.'::';
8 8
 
9 9
 return [
10 10
 
11
-	ICanBoogie\Render\EngineCollection::class . '::alter' => $hooks . 'on_alter_engine_collection'
11
+	ICanBoogie\Render\EngineCollection::class.'::alter' => $hooks.'on_alter_engine_collection'
12 12
 
13 13
 ];
Please login to merge, or discard this patch.
lib/Hooks.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 	 */
29 29
 	static public function on_alter_engine_collection(EngineCollection\AlterEvent $event, EngineCollection $target)
30 30
 	{
31
-		$target['.patron'] = __NAMESPACE__ . '\PatronEngine';
31
+		$target[ '.patron' ] = __NAMESPACE__.'\PatronEngine';
32 32
 	}
33 33
 
34 34
 	/*
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
 
38 38
 	static public function markup_render(array $args, $engine, $template)
39 39
 	{
40
-		$thisArg = $args['select'];
41
-		unset($args['select']);
40
+		$thisArg = $args[ 'select' ];
41
+		unset($args[ 'select' ]);
42 42
 
43 43
 		if (is_array($thisArg))
44 44
 		{
Please login to merge, or discard this patch.