GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( e01879...7e1050 )
by Calima
08:53
created
mvc/modelos/usuarioModelo.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         
22 22
     }
23 23
     
24
-     public function seleccionUsuario($email, $clave){
24
+        public function seleccionUsuario($email, $clave){
25 25
         //echo DB_HOST;
26 26
         
27 27
         //$datosQuery="select usuario, email, nivel from usuarios where usuario = :usuario";
Please login to merge, or discard this patch.
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -2,47 +2,47 @@
 block discarded – undo
2 2
 class usuarioModelo extends Sistema\Nucleo\CFModelo
3 3
 {
4 4
     
5
-    function ValidarUsuario($email,$password){          //  Consulta Mysql para buscar en la tabla Usuario aquellos usuarios que coincidan con el mail y password ingresados en pantalla de login
6
-        $query = $this->db->where('Usuario',$email);  //  La consulta se efectúa mediante Active Record. Una manera alternativa, y en lenguaje más sencillo, de generar las consultas Sql.
7
-        $query = $this->db->where('Password',$password);
5
+    function ValidarUsuario($email, $password) {          //  Consulta Mysql para buscar en la tabla Usuario aquellos usuarios que coincidan con el mail y password ingresados en pantalla de login
6
+        $query = $this->db->where('Usuario', $email); //  La consulta se efectúa mediante Active Record. Una manera alternativa, y en lenguaje más sencillo, de generar las consultas Sql.
7
+        $query = $this->db->where('Password', $password);
8 8
         $query = $this->db->get('Usuarios');
9
-        return $query->row();    //  Devolvemos al controlador la fila que coincide con la búsqueda. (FALSE en caso que no existir coincidencias)
9
+        return $query->row(); //  Devolvemos al controlador la fila que coincide con la búsqueda. (FALSE en caso que no existir coincidencias)
10 10
     }
11 11
     
12
-    public function insertarUsuario($id_usuario, $nombre,  $email, $clave){
12
+    public function insertarUsuario($id_usuario, $nombre, $email, $clave) {
13 13
         
14
-        $post=$this->_bd->consulta('INSERT INTO comentarios (id_usuario, nombre, email, clave) VALUES (:id_usuario, :nombre, :email, :clave)');
15
-        $post=$this->_bd->enlace(':id_usuario', $id_usuariio);
16
-        $post=$this->_bd->enlace(':nombre',$nombre);
17
-        $post=$this->_bd->enlace(':email', $email);
18
-        $post=$this->_bd->enlace(':clave', $clave);
19
-        $post=$this->_bd->ejecucion();
20
-        return $post=$this->_bd->resultset();
14
+        $post = $this->_bd->consulta('INSERT INTO comentarios (id_usuario, nombre, email, clave) VALUES (:id_usuario, :nombre, :email, :clave)');
15
+        $post = $this->_bd->enlace(':id_usuario', $id_usuariio);
16
+        $post = $this->_bd->enlace(':nombre', $nombre);
17
+        $post = $this->_bd->enlace(':email', $email);
18
+        $post = $this->_bd->enlace(':clave', $clave);
19
+        $post = $this->_bd->ejecucion();
20
+        return $post = $this->_bd->resultset();
21 21
         
22 22
     }
23 23
     
24
-     public function seleccionUsuario($email, $clave){
24
+     public function seleccionUsuario($email, $clave) {
25 25
         //echo DB_HOST;
26 26
         
27 27
         //$datosQuery="select usuario, email, nivel from usuarios where usuario = :usuario";
28
-        $gsent=$this->_bd->consulta('select nombre, email, nivel from usuarios where email = :email and clave = :clave');
29
-        $gsent=$this->_bd->enlace(':email', $email);
30
-        $gsent=$this->_bd->enlace(':clave', $clave);
28
+        $gsent = $this->_bd->consulta('select nombre, email, nivel from usuarios where email = :email and clave = :clave');
29
+        $gsent = $this->_bd->enlace(':email', $email);
30
+        $gsent = $this->_bd->enlace(':clave', $clave);
31 31
         //$gsent=$this->_bd->ejecucion();
32
-        $row = $gsent=$this->_bd->single();
32
+        $row = $gsent = $this->_bd->single();
33 33
         return  $row;
34 34
        
35 35
     }  
36 36
     
37
-    public function insertarRegistro($nombre,  $email, $nivel, $clave){
37
+    public function insertarRegistro($nombre, $email, $nivel, $clave) {
38 38
         
39
-        $post=$this->_bd->consulta('INSERT INTO usuarios (nombre, email, nivel, clave) VALUES (:nombre, :email, :nivel, :clave)');
39
+        $post = $this->_bd->consulta('INSERT INTO usuarios (nombre, email, nivel, clave) VALUES (:nombre, :email, :nivel, :clave)');
40 40
         
41
-        $post=$this->_bd->enlace(':nombre',$nombre);
42
-        $post=$this->_bd->enlace(':email', $email);
43
-        $post=$this->_bd->enlace(':nivel', $nivel);
44
-        $post=$this->_bd->enlace(':clave', $clave);
45
-        $post=$this->_bd->ejecucion();
41
+        $post = $this->_bd->enlace(':nombre', $nombre);
42
+        $post = $this->_bd->enlace(':email', $email);
43
+        $post = $this->_bd->enlace(':nivel', $nivel);
44
+        $post = $this->_bd->enlace(':clave', $clave);
45
+        $post = $this->_bd->ejecucion();
46 46
         //return $post=$this->_bd->contarFilas();
47 47
         
48 48
     }
Please login to merge, or discard this patch.
mvc/vistas/adicionales/encabezado.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 </script>
21 21
 <!-- End Google Analytics -->
22 22
 
23
-    <title><?php if(isset($this->titulo)) echo $this->titulo; ?></title>
23
+    <title><?php if (isset($this->titulo)) echo $this->titulo; ?></title>
24 24
 
25 25
     
26 26
     
Please login to merge, or discard this patch.
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,10 @@
 block discarded – undo
20 20
 </script>
21 21
 <!-- End Google Analytics -->
22 22
 
23
-    <title><?php if(isset($this->titulo)) echo $this->titulo; ?></title>
23
+    <title><?php if(isset($this->titulo)) {
24
+    echo $this->titulo;
25
+}
26
+?></title>
24 27
 
25 28
     
26 29
     
Please login to merge, or discard this patch.
mvc/vistas/adicionales/pie_de_pagina.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
  <!-- Site footer -->
2 2
       
3 3
  
4
-            <div class="footer fixedCf"> <?php echo CF_AP_CREDITOS;  ?> --- Theme Inspinia </div>
4
+            <div class="footer fixedCf"> <?php echo CF_AP_CREDITOS; ?> --- Theme Inspinia </div>
5 5
             
6 6
       
7 7
       
Please login to merge, or discard this patch.
sistema/librerias/ORMbasico/Database.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -4,49 +4,49 @@
 block discarded – undo
4 4
  
5 5
 class MySqlProvider extends DatabaseProvider
6 6
 {
7
-    public function connect($host, $user, $pass, $dbname){
7
+    public function connect($host, $user, $pass, $dbname) {
8 8
         $this->resource = new mysqli($host, $user, $pass, $dbname);
9 9
  
10
-        if ($this->resource->connect_errno){ // Connection fails
10
+        if ($this->resource->connect_errno) { // Connection fails
11 11
             error_log($this->resource->connect_error);
12 12
         }
13 13
  
14 14
         return $this->resource;
15 15
     }
16
-    public function disconnect(){
16
+    public function disconnect() {
17 17
         return $this->resource->close();
18 18
     }
19
-    public function getErrorNo(){
19
+    public function getErrorNo() {
20 20
         return $this->resource->errno;
21 21
     }
22
-    public function getError(){
22
+    public function getError() {
23 23
         return $this->resource->error;
24 24
     }
25
-    public function query($q){
25
+    public function query($q) {
26 26
         return $this->resource->query($q);
27 27
     }
28
-    public function numRows($resource){
28
+    public function numRows($resource) {
29 29
         $num_rows = 0;
30 30
  
31
-        if ($resource){
31
+        if ($resource) {
32 32
             $num_rows = $resource->num_rows;
33 33
         }
34 34
  
35 35
         return $num_rows;
36 36
     }
37
-    public function fetchArray($result){
37
+    public function fetchArray($result) {
38 38
         return $result->fetch_assoc();
39 39
     }
40
-    public function isConnected(){
40
+    public function isConnected() {
41 41
         return !is_null($this->resource);
42 42
     }
43
-    public function escape($var){
43
+    public function escape($var) {
44 44
         return $this->resource->real_escape_string($var);
45 45
     }
46
-    public function getInsertedID(){
46
+    public function getInsertedID() {
47 47
         return $this->resource->insert_id;
48 48
     }
49
-    public function changeDB ($database){
49
+    public function changeDB($database) {
50 50
         return $this->resource->select_db($database);
51 51
     }
52 52
     public function setCharset($charset) {
Please login to merge, or discard this patch.
sistema/librerias/ORMbasico/DatabaseProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 {
4 4
     protected $resource;
5 5
     public abstract function connect($host, $user, $pass, $dbname);
6
-    public abstract function disconnect ();
6
+    public abstract function disconnect();
7 7
     public abstract function getErrorNo();
8 8
     public abstract function getError();
9 9
     public abstract function query($q);
Please login to merge, or discard this patch.
sistema/librerias/ORMbasico/MySqlProvider.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -4,49 +4,49 @@
 block discarded – undo
4 4
  
5 5
 class MySqlProvider extends DatabaseProvider
6 6
 {
7
-    public function connect($host, $user, $pass, $dbname){
7
+    public function connect($host, $user, $pass, $dbname) {
8 8
         $this->resource = new mysqli($host, $user, $pass, $dbname);
9 9
  
10
-        if ($this->resource->connect_errno){ // Connection fails
10
+        if ($this->resource->connect_errno) { // Connection fails
11 11
             error_log($this->resource->connect_error);
12 12
         }
13 13
  
14 14
         return $this->resource;
15 15
     }
16
-    public function disconnect(){
16
+    public function disconnect() {
17 17
         return $this->resource->close();
18 18
     }
19
-    public function getErrorNo(){
19
+    public function getErrorNo() {
20 20
         return $this->resource->errno;
21 21
     }
22
-    public function getError(){
22
+    public function getError() {
23 23
         return $this->resource->error;
24 24
     }
25
-    public function query($q){
25
+    public function query($q) {
26 26
         return $this->resource->query($q);
27 27
     }
28
-    public function numRows($resource){
28
+    public function numRows($resource) {
29 29
         $num_rows = 0;
30 30
  
31
-        if ($resource){
31
+        if ($resource) {
32 32
             $num_rows = $resource->num_rows;
33 33
         }
34 34
  
35 35
         return $num_rows;
36 36
     }
37
-    public function fetchArray($result){
37
+    public function fetchArray($result) {
38 38
         return $result->fetch_assoc();
39 39
     }
40
-    public function isConnected(){
40
+    public function isConnected() {
41 41
         return !is_null($this->resource);
42 42
     }
43
-    public function escape($var){
43
+    public function escape($var) {
44 44
         return $this->resource->real_escape_string($var);
45 45
     }
46
-    public function getInsertedID(){
46
+    public function getInsertedID() {
47 47
         return $this->resource->insert_id;
48 48
     }
49
-    public function changeDB ($database){
49
+    public function changeDB($database) {
50 50
         return $this->resource->select_db($database);
51 51
     }
52 52
     public function setCharset($charset) {
Please login to merge, or discard this patch.
vendor/symfony/console/Symfony/Component/Console/Command/Command.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -530,7 +530,7 @@
 block discarded – undo
530 530
         );
531 531
         $replacements = array(
532 532
             $name,
533
-            $_SERVER['PHP_SELF'].' '.$name,
533
+            $_SERVER['PHP_SELF'] . ' ' . $name,
534 534
         );
535 535
 
536 536
         return str_replace($placeholders, $replacements, $this->getHelp());
Please login to merge, or discard this patch.
symfony/console/Symfony/Component/Console/Descriptor/JsonDescriptor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,8 +115,8 @@
 block discarded – undo
115 115
     private function getInputOptionData(InputOption $option)
116 116
     {
117 117
         return array(
118
-            'name' => '--'.$option->getName(),
119
-            'shortcut' => $option->getShortcut() ? '-'.implode('|-', explode('|', $option->getShortcut())) : '',
118
+            'name' => '--' . $option->getName(),
119
+            'shortcut' => $option->getShortcut() ? '-' . implode('|-', explode('|', $option->getShortcut())) : '',
120 120
             'accept_value' => $option->acceptValue(),
121 121
             'is_value_required' => $option->isValueRequired(),
122 122
             'is_multiple' => $option->isArray(),
Please login to merge, or discard this patch.
symfony/console/Symfony/Component/Console/Descriptor/MarkdownDescriptor.php 1 patch
Spacing   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@  discard block
 block discarded – undo
32 32
     protected function describeInputArgument(InputArgument $argument, array $options = array())
33 33
     {
34 34
         $this->write(
35
-            '**'.$argument->getName().':**'."\n\n"
36
-            .'* Name: '.($argument->getName() ?: '<none>')."\n"
37
-            .'* Is required: '.($argument->isRequired() ? 'yes' : 'no')."\n"
38
-            .'* Is array: '.($argument->isArray() ? 'yes' : 'no')."\n"
39
-            .'* Description: '.($argument->getDescription() ?: '<none>')."\n"
40
-            .'* Default: `'.str_replace("\n", '', var_export($argument->getDefault(), true)).'`'
35
+            '**' . $argument->getName() . ':**' . "\n\n"
36
+            .'* Name: ' . ($argument->getName() ?: '<none>') . "\n"
37
+            .'* Is required: ' . ($argument->isRequired() ? 'yes' : 'no') . "\n"
38
+            .'* Is array: ' . ($argument->isArray() ? 'yes' : 'no') . "\n"
39
+            .'* Description: ' . ($argument->getDescription() ?: '<none>') . "\n"
40
+            .'* Default: `' . str_replace("\n", '', var_export($argument->getDefault(), true)) . '`'
41 41
         );
42 42
     }
43 43
 
@@ -47,14 +47,14 @@  discard block
 block discarded – undo
47 47
     protected function describeInputOption(InputOption $option, array $options = array())
48 48
     {
49 49
         $this->write(
50
-            '**'.$option->getName().':**'."\n\n"
51
-            .'* Name: `--'.$option->getName().'`'."\n"
52
-            .'* Shortcut: '.($option->getShortcut() ? '`-'.implode('|-', explode('|', $option->getShortcut())).'`' : '<none>')."\n"
53
-            .'* Accept value: '.($option->acceptValue() ? 'yes' : 'no')."\n"
54
-            .'* Is value required: '.($option->isValueRequired() ? 'yes' : 'no')."\n"
55
-            .'* Is multiple: '.($option->isArray() ? 'yes' : 'no')."\n"
56
-            .'* Description: '.($option->getDescription() ?: '<none>')."\n"
57
-            .'* Default: `'.str_replace("\n", '', var_export($option->getDefault(), true)).'`'
50
+            '**' . $option->getName() . ':**' . "\n\n"
51
+            .'* Name: `--' . $option->getName() . '`' . "\n"
52
+            .'* Shortcut: ' . ($option->getShortcut() ? '`-' . implode('|-', explode('|', $option->getShortcut())) . '`' : '<none>') . "\n"
53
+            .'* Accept value: ' . ($option->acceptValue() ? 'yes' : 'no') . "\n"
54
+            .'* Is value required: ' . ($option->isValueRequired() ? 'yes' : 'no') . "\n"
55
+            .'* Is multiple: ' . ($option->isArray() ? 'yes' : 'no') . "\n"
56
+            .'* Description: ' . ($option->getDescription() ?: '<none>') . "\n"
57
+            .'* Default: `' . str_replace("\n", '', var_export($option->getDefault(), true)) . '`'
58 58
         );
59 59
     }
60 60
 
@@ -93,11 +93,11 @@  discard block
 block discarded – undo
93 93
         $command->mergeApplicationDefinition(false);
94 94
 
95 95
         $this->write(
96
-            $command->getName()."\n"
97
-            .str_repeat('-', strlen($command->getName()))."\n\n"
98
-            .'* Description: '.($command->getDescription() ?: '<none>')."\n"
99
-            .'* Usage: `'.$command->getSynopsis().'`'."\n"
100
-            .'* Aliases: '.(count($command->getAliases()) ? '`'.implode('`, `', $command->getAliases()).'`' : '<none>')
96
+            $command->getName() . "\n"
97
+            .str_repeat('-', strlen($command->getName())) . "\n\n"
98
+            .'* Description: ' . ($command->getDescription() ?: '<none>') . "\n"
99
+            .'* Usage: `' . $command->getSynopsis() . '`' . "\n"
100
+            .'* Aliases: ' . (count($command->getAliases()) ? '`' . implode('`, `', $command->getAliases()) . '`' : '<none>')
101 101
         );
102 102
 
103 103
         if ($help = $command->getProcessedHelp()) {
@@ -119,17 +119,17 @@  discard block
 block discarded – undo
119 119
         $describedNamespace = isset($options['namespace']) ? $options['namespace'] : null;
120 120
         $description = new ApplicationDescription($application, $describedNamespace);
121 121
 
122
-        $this->write($application->getName()."\n".str_repeat('=', strlen($application->getName())));
122
+        $this->write($application->getName() . "\n" . str_repeat('=', strlen($application->getName())));
123 123
 
124 124
         foreach ($description->getNamespaces() as $namespace) {
125 125
             if (ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) {
126 126
                 $this->write("\n\n");
127
-                $this->write('**'.$namespace['id'].':**');
127
+                $this->write('**' . $namespace['id'] . ':**');
128 128
             }
129 129
 
130 130
             $this->write("\n\n");
131
-            $this->write(implode("\n", array_map(function ($commandName) {
132
-                return '* '.$commandName;
131
+            $this->write(implode("\n", array_map(function($commandName) {
132
+                return '* ' . $commandName;
133 133
             }, $namespace['commands'])));
134 134
         }
135 135
 
Please login to merge, or discard this patch.