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
Pull Request — master (#2)
by
unknown
04:31
created
console/Symfony/Component/Console/Tests/Tester/ApplicationTesterTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $this->application->setAutoExit(false);
27 27
         $this->application->register('foo')
28 28
             ->addArgument('foo')
29
-            ->setCode(function ($input, $output) { $output->writeln('foo'); })
29
+            ->setCode(function($input, $output) { $output->writeln('foo'); })
30 30
         ;
31 31
 
32 32
         $this->tester = new ApplicationTester($this->application);
@@ -54,12 +54,12 @@  discard block
 block discarded – undo
54 54
     public function testGetOutput()
55 55
     {
56 56
         rewind($this->tester->getOutput()->getStream());
57
-        $this->assertEquals('foo'.PHP_EOL, stream_get_contents($this->tester->getOutput()->getStream()), '->getOutput() returns the current output instance');
57
+        $this->assertEquals('foo' . PHP_EOL, stream_get_contents($this->tester->getOutput()->getStream()), '->getOutput() returns the current output instance');
58 58
     }
59 59
 
60 60
     public function testGetDisplay()
61 61
     {
62
-        $this->assertEquals('foo'.PHP_EOL, $this->tester->getDisplay(), '->getDisplay() returns the display of the last execution');
62
+        $this->assertEquals('foo' . PHP_EOL, $this->tester->getDisplay(), '->getDisplay() returns the display of the last execution');
63 63
     }
64 64
 
65 65
     public function testGetStatusCode()
Please login to merge, or discard this patch.
console/Symfony/Component/Console/Tests/Tester/CommandTesterTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
         $this->command = new Command('foo');
27 27
         $this->command->addArgument('command');
28 28
         $this->command->addArgument('foo');
29
-        $this->command->setCode(function ($input, $output) { $output->writeln('foo'); });
29
+        $this->command->setCode(function($input, $output) { $output->writeln('foo'); });
30 30
 
31 31
         $this->tester = new CommandTester($this->command);
32 32
         $this->tester->execute(array('foo' => 'bar'), array('interactive' => false, 'decorated' => false, 'verbosity' => Output::VERBOSITY_VERBOSE));
@@ -53,12 +53,12 @@  discard block
 block discarded – undo
53 53
     public function testGetOutput()
54 54
     {
55 55
         rewind($this->tester->getOutput()->getStream());
56
-        $this->assertEquals('foo'.PHP_EOL, stream_get_contents($this->tester->getOutput()->getStream()), '->getOutput() returns the current output instance');
56
+        $this->assertEquals('foo' . PHP_EOL, stream_get_contents($this->tester->getOutput()->getStream()), '->getOutput() returns the current output instance');
57 57
     }
58 58
 
59 59
     public function testGetDisplay()
60 60
     {
61
-        $this->assertEquals('foo'.PHP_EOL, $this->tester->getDisplay(), '->getDisplay() returns the display of the last execution');
61
+        $this->assertEquals('foo' . PHP_EOL, $this->tester->getDisplay(), '->getDisplay() returns the display of the last execution');
62 62
     }
63 63
 
64 64
     public function testGetStatusCode()
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         $application->setAutoExit(false);
73 73
 
74 74
         $command = new Command('foo');
75
-        $command->setCode(function ($input, $output) { $output->writeln('foo'); });
75
+        $command->setCode(function($input, $output) { $output->writeln('foo'); });
76 76
 
77 77
         $application->add($command);
78 78
 
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.
mvc/controladores/dataControlador.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 //verificamos la version de php en tu servidor web o local
28 28
 if (version_compare(PHP_VERSION, '5.3.20', '<'))
29 29
 {
30
-	die('Su Hosting tiene una version < a PHP 5.3.20 debes actualizar para esta version de Calima. su version actual de PHP es: '.PHP_VERSION);
30
+    die('Su Hosting tiene una version < a PHP 5.3.20 debes actualizar para esta version de Calima. su version actual de PHP es: '.PHP_VERSION);
31 31
 }
32 32
 
33 33
 //Cargamos los Espacios de nombres para el nucleo y los ayudantes
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
        
49 49
         $this->_ayuda= new Sisayu\CFPHPAyuda;
50 50
         //$this->cargaAyudante('CfPHPAyuda');
51
-		//$this->cargaAyudante('CfPHPSeguridad');
51
+        //$this->cargaAyudante('CfPHPSeguridad');
52 52
         $this->_seg= new Sisayu\CfPHPSeguridad;
53 53
         
54 54
         $this->_sesion=new Sisnuc\CFSesion();
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 //verificamos la version de php en tu servidor web o local
28 28
 if (version_compare(PHP_VERSION, '5.3.20', '<'))
29 29
 {
30
-	die('Su Hosting tiene una version < a PHP 5.3.20 debes actualizar para esta version de Calima. su version actual de PHP es: '.PHP_VERSION);
30
+	die('Su Hosting tiene una version < a PHP 5.3.20 debes actualizar para esta version de Calima. su version actual de PHP es: ' . PHP_VERSION);
31 31
 }
32 32
 
33 33
 //Cargamos los Espacios de nombres para el nucleo y los ayudantes
@@ -46,12 +46,12 @@  discard block
 block discarded – undo
46 46
     public function __construct() {
47 47
         parent::__construct();
48 48
        
49
-        $this->_ayuda= new Sisayu\CFPHPAyuda;
49
+        $this->_ayuda = new Sisayu\CFPHPAyuda;
50 50
         //$this->cargaAyudante('CfPHPAyuda');
51 51
 		//$this->cargaAyudante('CfPHPSeguridad');
52
-        $this->_seg= new Sisayu\CfPHPSeguridad;
52
+        $this->_seg = new Sisayu\CfPHPSeguridad;
53 53
         
54
-        $this->_sesion=new Sisnuc\CFSesion();
54
+        $this->_sesion = new Sisnuc\CFSesion();
55 55
          
56 56
     }
57 57
     
@@ -59,16 +59,16 @@  discard block
 block discarded – undo
59 59
     { 
60 60
         // Se verifica que en el archivo de configuracion.php la constante Cf_CONFIG_INICIO==true
61 61
         //Si esta en True se lanza el instalador de Cf
62
-        if(Cf_CONFIG_INICIO==true){
62
+        if (Cf_CONFIG_INICIO == true) {
63 63
             $this->_sesion->iniciarSesion('_s', false);
64
-            if($_SESSION['nivel']==1){
64
+            if ($_SESSION['nivel'] == 1) {
65 65
             $this->_vista->titulo = 'CalimaFramework';
66 66
             $this->_vista->imprimirVista('index', 'data');
67
-            }else{
67
+            } else {
68 68
                 $this->_ayuda->redireccionUrl('usuario');
69 69
             }
70 70
             
71
-        }elseif (Cf_CONFIG_INICIO=='false') {
71
+        }elseif (Cf_CONFIG_INICIO == 'false') {
72 72
             
73 73
             $this->_vista->titulo = 'CalimaFramework';
74 74
             $this->_vista->imprimirVista('index', 'data');
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,11 +64,11 @@
 block discarded – undo
64 64
             if($_SESSION['nivel']==1){
65 65
             $this->_vista->titulo = 'CalimaFramework';
66 66
             $this->_vista->imprimirVista('index', 'data');
67
-            }else{
67
+            } else{
68 68
                 $this->_ayuda->redireccionUrl('usuario');
69 69
             }
70 70
             
71
-        }elseif (Cf_CONFIG_INICIO=='false') {
71
+        } elseif (Cf_CONFIG_INICIO=='false') {
72 72
             
73 73
             $this->_vista->titulo = 'CalimaFramework';
74 74
             $this->_vista->imprimirVista('index', 'data');
Please login to merge, or discard this patch.