Passed
Push — main ( 4a928f...e791fa )
by Osvaldo
01:42
created
index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 declare(strict_types=1);
3
-require_once __DIR__ . '/vendor/autoload.php';
3
+require_once __DIR__.'/vendor/autoload.php';
4 4
 
5 5
 use src\Factory;
6 6
 
Please login to merge, or discard this patch.
tests/PeticionTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,10 +8,10 @@  discard block
 block discarded – undo
8 8
 use src\Parametros;
9 9
 use src\Peticion;
10 10
 
11
-define('CONTROLADOR_POR_DEFECTO','Controlador');
12
-define('CONTROLADOR_DIR','controladores/');
11
+define('CONTROLADOR_POR_DEFECTO', 'Controlador');
12
+define('CONTROLADOR_DIR', 'controladores/');
13 13
 define('CONTROLADOR_NAMESPACE', 'controladores\\');
14
-define('METODO_POR_DEFECTO','index');
14
+define('METODO_POR_DEFECTO', 'index');
15 15
 
16 16
 class PeticionTest extends TestCase
17 17
 {
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $this->e = new Enlace(['Controlador']);
21 21
         $this->c = new Controlador($this->e);
22
-        $this->m = new Metodo($this->e,$this->c);
23
-        $this->p = new Parametros($this->e,$this->m);
22
+        $this->m = new Metodo($this->e, $this->c);
23
+        $this->p = new Parametros($this->e, $this->m);
24 24
     }
25 25
 
26 26
     //Peticion
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $this->e = new Enlace(['Iniciosssssssss']);
37 37
         $this->c = new Controlador($this->e);
38
-        $this->m = new Metodo($this->e,$this->c);
39
-        $this->p = new Parametros($this->e,$this->m);
38
+        $this->m = new Metodo($this->e, $this->c);
39
+        $this->p = new Parametros($this->e, $this->m);
40 40
         $p = new Peticion($this->c, $this->m, $this->p);
41 41
         $this->assertSame('Controlador', $p->controlador());
42 42
     }
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     {
60 60
         $e = new Enlace([]);
61 61
         $this->assertIsArray($e->enlace());
62
-        $e = new Enlace(['hola','hola2']);
62
+        $e = new Enlace(['hola', 'hola2']);
63 63
         $this->assertIsArray($e->enlace());
64 64
     }
65 65
 
Please login to merge, or discard this patch.