Passed
Push — main ( 9ea2b8...dcf509 )
by Sammy
07:07
created
tests/LeMarchandTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,13 +10,13 @@
 block discarded – undo
10 10
 
11 11
 class LeMarchandTest extends TestCase
12 12
 {
13
-   public function testEmptyConstructor()
14
-   {
13
+    public function testEmptyConstructor()
14
+    {
15 15
         $res = new LeMarchand([]);
16 16
         $this->assertInstanceOf(LeMarchand::class, $res);
17 17
         $this->assertInstanceOf(ContainerInterface::class, $res);
18 18
 
19 19
         $this->assertFalse($res->has('test'));
20
-   }
20
+    }
21 21
 
22 22
 }
23 23
\ No newline at end of file
Please login to merge, or discard this patch.
tests/data_settings.php 2 patches
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@  discard block
 block discarded – undo
6 6
 
7 7
 $settings = array(
8 8
   'app' => [
9
-		'name' => 'Cinergie',
10
-		'production_host' => 'cinergie.be',
9
+    'name' => 'Cinergie',
10
+    'production_host' => 'cinergie.be',
11 11
     'session_start_options' => ['session_name' => 'krafto-cinergie'],
12 12
     'CSP_nonce' => $nonce,
13 13
     'headers' => [
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
         "font-src 'self' 'nonce-{$nonce}' data: https://cdn.jsdelivr.net;",
23 23
       ]
24 24
     ]
25
-	],
25
+  ],
26 26
 
27 27
   'locale' => [
28 28
     'json_path' => DOCUMENT_ROOT.'/cache/locale/user_interface_{LANGUAGE}.json',
@@ -30,19 +30,19 @@  discard block
 block discarded – undo
30 30
     'fallback_lang' => 'fra'
31 31
   ],
32 32
 
33
-	'default' => array(
34
-		'language' => 'fra', // can't be iso 693-3 because of common.inc putenv('LANG='.$settings['default']['language']); & setlocale(LC_ALL, $settings['default']['language']);
35
-		'timezone' => 'Europe/Brussels',
36
-		'charset' => 'UTF-8',
37
-		'max_idle_time' => 24*3600, // handles session expiration after some idle time (in seconds)
38
-	),
39
-	'filter' => array(
40
-		// 'search_term' => '',
41
-		// 'page' => 1,
42
-		// 'time_window_start' => '-1 months',
43
-		// 'time_window_stop' => '+1 month',
44
-		// 'results_per_page' => '16',
45
-	),
33
+  'default' => array(
34
+    'language' => 'fra', // can't be iso 693-3 because of common.inc putenv('LANG='.$settings['default']['language']); & setlocale(LC_ALL, $settings['default']['language']);
35
+    'timezone' => 'Europe/Brussels',
36
+    'charset' => 'UTF-8',
37
+    'max_idle_time' => 24*3600, // handles session expiration after some idle time (in seconds)
38
+  ),
39
+  'filter' => array(
40
+    // 'search_term' => '',
41
+    // 'page' => 1,
42
+    // 'time_window_start' => '-1 months',
43
+    // 'time_window_stop' => '+1 month',
44
+    // 'results_per_page' => '16',
45
+  ),
46 46
 
47 47
   // 'env' => require_once('env.php'),
48 48
   // 'api' => require_once('api.php')
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
 		'language' => 'fra', // can't be iso 693-3 because of common.inc putenv('LANG='.$settings['default']['language']); & setlocale(LC_ALL, $settings['default']['language']);
35 35
 		'timezone' => 'Europe/Brussels',
36 36
 		'charset' => 'UTF-8',
37
-		'max_idle_time' => 24*3600, // handles session expiration after some idle time (in seconds)
37
+		'max_idle_time' => 24 * 3600, // handles session expiration after some idle time (in seconds)
38 38
 	),
39 39
 	'filter' => array(
40 40
 		// 'search_term' => '',
Please login to merge, or discard this patch.