Passed
Branch master (8ccbd6)
by Florent
02:29
created
public/index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 // Check if vendor folder exist
3 3
 if(file_exists(__DIR__ . '/../vendor')) {
4
-  (require __DIR__ . '/../src/start.php')->run();
4
+    (require __DIR__ . '/../src/start.php')->run();
5 5
 } else {
6 6
 ?>
7 7
 <!DOCTYPE html>
Please login to merge, or discard this patch.
src/Controllers/PagesController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -114,13 +114,13 @@
 block discarded – undo
114 114
 /**
115 115
      * Administration delete page function
116 116
      *
117
-     * called to delete fpage and return to administration Pages section
118
-     *
119
-     * @param object $request
120
-     * @param object $response
121
-     * @param array $args
122
-     *
123
-     * @return object $response
117
+ * called to delete fpage and return to administration Pages section
118
+ *
119
+ * @param object $request
120
+ * @param object $response
121
+ * @param array $args
122
+ *
123
+ * @return object $response
124 124
      */
125 125
     public function adminDelPage(Request $request, Response $response, array $args): Response
126 126
     {
Please login to merge, or discard this patch.
public/install.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -3,20 +3,20 @@
 block discarded – undo
3 3
 define('EXTRACT_DIRECTORY', "../composer");
4 4
 
5 5
 if(file_exists(ROOT.'vendor')) {
6
-  return header('Location: /');
6
+    return header('Location: /');
7 7
 }
8 8
 
9 9
 if (file_exists(EXTRACT_DIRECTORY.'/vendor/autoload.php') === true) {
10
-  echo "Extracted autoload already exists. Skipping phar extraction as presumably it's already extracted.";
10
+    echo "Extracted autoload already exists. Skipping phar extraction as presumably it's already extracted.";
11 11
 }
12 12
 else{
13
-  $composerPhar = ROOT.'composer.phar';
14
-  if (!file_exists($composerPhar)) {
13
+    $composerPhar = ROOT.'composer.phar';
14
+    if (!file_exists($composerPhar)) {
15 15
     $composer = file_get_contents('https://getcomposer.org/download/latest-stable/composer.phar');
16 16
     file_put_contents($composerPhar, $composer);
17
-  }
18
-  $composerExtract = new Phar($composerPhar);
19
-  $composerExtract->extractTo(EXTRACT_DIRECTORY);
17
+    }
18
+    $composerExtract = new Phar($composerPhar);
19
+    $composerExtract->extractTo(EXTRACT_DIRECTORY);
20 20
 }
21 21
 
22 22
 require_once (EXTRACT_DIRECTORY.'/vendor/autoload.php');
Please login to merge, or discard this patch.