Completed
Push — master ( ebff66...d47983 )
by Markus
06:38 queued 02:43
created
vendor/anax/mvc/webroot/test/navigation-bar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  */
6 6
 
7 7
 // Get environment & autoloader.
8
-require __DIR__.'/../config.php';
8
+require __DIR__ . '/../config.php';
9 9
 
10 10
 
11 11
 // Create services and inject into the app. 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
 
17 17
 // Create the home route
18
-$app->router->add('*', function () use ($app) {
18
+$app->router->add('*', function() use ($app) {
19 19
 
20 20
     $app->theme->setTitle("Testing navigation bar");
21 21
     $app->views->add('default/page', [
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     // Create the navbar as a view
27 27
     $app->theme->addStylesheet('css/navbar.css');
28 28
     $app->views->addCallback(
29
-        function () use ($app) {
29
+        function() use ($app) {
30 30
             return $app->navbar->create();
31 31
         },
32 32
         [],
Please login to merge, or discard this patch.
vendor/anax/mvc/webroot/404.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
  *
5 5
  */
6 6
 // Get environment & autoloader.
7
-require __DIR__.'/config_with_app.php';
7
+require __DIR__ . '/config_with_app.php';
8 8
 
9 9
 
10 10
 
11 11
 // Home route
12
-$app->router->add('', function () use ($app) {
12
+$app->router->add('', function() use ($app) {
13 13
     throw new \Anax\Exception\NotFoundException();
14 14
 });
15 15
 
Please login to merge, or discard this patch.
vendor/anax/mvc/webroot/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
  *
11 11
  */
12 12
 define('ANAX_INSTALL_PATH', realpath(__DIR__ . '/../') . '/');
13
-define('ANAX_APP_PATH',     ANAX_INSTALL_PATH . 'app/');
13
+define('ANAX_APP_PATH', ANAX_INSTALL_PATH . 'app/');
14 14
 
15 15
 
16 16
 
Please login to merge, or discard this patch.
vendor/anax/mvc/webroot/hello_view.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 // Get environment & autoloader and the $app-object.
8
-require __DIR__.'/config_with_app.php'; 
8
+require __DIR__ . '/config_with_app.php'; 
9 9
 
10 10
 // Set the title of the page
11 11
 $app->theme->setVariable('title', "Hello World Pagecontroller");
Please login to merge, or discard this patch.
vendor/anax/mvc/webroot/slideshow.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
 
12 12
 // Add extra assets to make the plugin work.
13 13
 $app->theme->addStylesheet('css/slideshow.css')
14
-           ->addJavaScript('js/slideshow.js');
14
+            ->addJavaScript('js/slideshow.js');
15 15
 
16 16
 
17 17
 
18 18
 // Prepare the page content
19 19
 $app->theme->setVariable('title', "Slideshow to show off how JavaScript works in Anax")
20
-           ->setVariable('main', "
20
+            ->setVariable('main', "
21 21
     <h1>A slideshow with JavaScript</h1>
22 22
     <p>This is a sample pagecontroller to show off how JavaScript works with Anax.</p>
23 23
     <div id='slideshow' class='slideshow' data-host='' data-path='img/me/' data-images='[\"me-1.jpg\", \"me-2.jpg\", \"me-4.jpg\", \"me-6.jpg\"]'>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 // Get environment & autoloader.
8
-include(__DIR__.'/config_pagecontroller.php'); 
8
+include(__DIR__ . '/config_pagecontroller.php'); 
9 9
 
10 10
 
11 11
 
Please login to merge, or discard this patch.
vendor/anax/mvc/webroot/dice_app.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
  */
6 6
 
7 7
 // Get environment & autoloader.
8
-require __DIR__.'/config_with_app.php'; 
8
+require __DIR__ . '/config_with_app.php'; 
9 9
 
10 10
 
11 11
 
Please login to merge, or discard this patch.