Passed
Push — main ( 38eccc...fbb26c )
by Osvaldo
05:52
created
src/pdodatabase/ejecutar/EjecutarConsultaConDatos.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
         try
30 30
         {
31 31
             $query->execute();
32
-        }
33
-        catch(PDOException $e)
32
+        } catch(PDOException $e)
34 33
         {
35 34
             throw new Exception("Error en la consulta");
36 35
         }
Please login to merge, or discard this patch.
src/pdodatabase/ejecutar/EjecutarConsultaSinDatos.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
         try
30 30
         {
31 31
             $query->execute();
32
-        }
33
-        catch(PDOException $e)
32
+        } catch(PDOException $e)
34 33
         {
35 34
             throw new Exception("Error en la consulta");
36 35
         }
Please login to merge, or discard this patch.
src/pdodatabase/conexion/ConexionBaseDeDatos.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,7 @@
 block discarded – undo
21 21
 		{
22 22
 			$this->_pdo = new PDO('mysql:host='.$HostBaseDeDatos->hostBaseDeDatos().';dbname='.$BaseDeDatos->baseDeDatos().';chartset=utf8mb4',$UsuarioBaseDeDatos->usuarioBaseDeDatos(),$ContrasenaBaseDeDatos->contrasenaBaseDeDatos());
23 23
 			$this->_pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
24
-		}
25
-		catch(PDOException)
24
+		} catch(PDOException)
26 25
 		{
27 26
 			throw new ConexionABaseDeDatosException("Error al conectar con base de datos");
28 27
 		}
Please login to merge, or discard this patch.
src/pdodatabase/elementos/NombreColumnaJoin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         {
34 34
             $this->_tabla1 = $array[0];
35 35
             $this->_tabla2 = $array[0];
36
-        }
37
-        else
36
+        } else
38 37
         {
39 38
             $this->_tabla1 = $array[0];
40 39
             $this->_tabla2 = $array[1];
Please login to merge, or discard this patch.