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 ( 374976...56f901 )
by Calima
04:14
created
vendor/symfony/console/Symfony/Component/Console/Tests/ApplicationTest.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -562,7 +562,7 @@  discard block
 block discarded – undo
562 562
         $application->expects($this->any())
563 563
             ->method('getTerminalWidth')
564 564
             ->will($this->returnValue(120));
565
-        $application->register('foo')->setCode(function () {
565
+        $application->register('foo')->setCode(function() {
566 566
             throw new \Exception('エラーメッセージ');
567 567
         });
568 568
         $tester = new ApplicationTester($application);
@@ -578,7 +578,7 @@  discard block
 block discarded – undo
578 578
         $application->expects($this->any())
579 579
             ->method('getTerminalWidth')
580 580
             ->will($this->returnValue(32));
581
-        $application->register('foo')->setCode(function () {
581
+        $application->register('foo')->setCode(function() {
582 582
             throw new \Exception('コマンドの実行中にエラーが発生しました。');
583 583
         });
584 584
         $tester = new ApplicationTester($application);
@@ -743,7 +743,7 @@  discard block
 block discarded – undo
743 743
         $application
744 744
             ->register('foo')
745 745
             ->setDefinition(array($def))
746
-            ->setCode(function (InputInterface $input, OutputInterface $output) {})
746
+            ->setCode(function(InputInterface $input, OutputInterface $output) {})
747 747
         ;
748 748
 
749 749
         $input = new ArrayInput(array('command' => 'foo'));
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
         $application->setAutoExit(false);
879 879
         $application->setDispatcher($this->getDispatcher());
880 880
 
881
-        $application->register('foo')->setCode(function (InputInterface $input, OutputInterface $output) {
881
+        $application->register('foo')->setCode(function(InputInterface $input, OutputInterface $output) {
882 882
             $output->write('foo.');
883 883
         });
884 884
 
@@ -898,7 +898,7 @@  discard block
 block discarded – undo
898 898
         $application->setAutoExit(false);
899 899
         $application->setCatchExceptions(false);
900 900
 
901
-        $application->register('foo')->setCode(function (InputInterface $input, OutputInterface $output) {
901
+        $application->register('foo')->setCode(function(InputInterface $input, OutputInterface $output) {
902 902
             throw new \RuntimeException('foo');
903 903
         });
904 904
 
@@ -912,7 +912,7 @@  discard block
 block discarded – undo
912 912
         $application->setDispatcher($this->getDispatcher());
913 913
         $application->setAutoExit(false);
914 914
 
915
-        $application->register('foo')->setCode(function (InputInterface $input, OutputInterface $output) {
915
+        $application->register('foo')->setCode(function(InputInterface $input, OutputInterface $output) {
916 916
             $output->write('foo.');
917 917
 
918 918
             throw new \RuntimeException('foo');
@@ -929,7 +929,7 @@  discard block
 block discarded – undo
929 929
         $application->setDispatcher($this->getDispatcher(true));
930 930
         $application->setAutoExit(false);
931 931
 
932
-        $application->register('foo')->setCode(function (InputInterface $input, OutputInterface $output) {
932
+        $application->register('foo')->setCode(function(InputInterface $input, OutputInterface $output) {
933 933
             $output->write('foo.');
934 934
         });
935 935
 
@@ -957,21 +957,21 @@  discard block
 block discarded – undo
957 957
     protected function getDispatcher($skipCommand = false)
958 958
     {
959 959
         $dispatcher = new EventDispatcher();
960
-        $dispatcher->addListener('console.command', function (ConsoleCommandEvent $event) use ($skipCommand) {
960
+        $dispatcher->addListener('console.command', function(ConsoleCommandEvent $event) use ($skipCommand) {
961 961
             $event->getOutput()->write('before.');
962 962
 
963 963
             if ($skipCommand) {
964 964
                 $event->disableCommand();
965 965
             }
966 966
         });
967
-        $dispatcher->addListener('console.terminate', function (ConsoleTerminateEvent $event) use ($skipCommand) {
967
+        $dispatcher->addListener('console.terminate', function(ConsoleTerminateEvent $event) use ($skipCommand) {
968 968
             $event->getOutput()->write('after.');
969 969
 
970 970
             if (!$skipCommand) {
971 971
                 $event->setExitCode(113);
972 972
             }
973 973
         });
974
-        $dispatcher->addListener('console.exception', function (ConsoleExceptionEvent $event) {
974
+        $dispatcher->addListener('console.exception', function(ConsoleExceptionEvent $event) {
975 975
             $event->getOutput()->writeln('caught.');
976 976
 
977 977
             $event->setException(new \LogicException('caught.', $event->getExitCode(), $event->getException()));
Please login to merge, or discard this patch.
console/Symfony/Component/Console/Tests/Helper/ProcessHelperTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $output = $this->getOutputStream(StreamOutput::VERBOSITY_NORMAL);
40 40
 
41 41
         $executed = false;
42
-        $callback = function () use (&$executed) { $executed = true; };
42
+        $callback = function() use (&$executed) { $executed = true; };
43 43
 
44 44
         $helper->run($output, 'php -r "echo 42;"', null, $callback);
45 45
         $this->assertTrue($executed);
Please login to merge, or discard this patch.
symfony/console/Symfony/Component/Console/Tests/Helper/ProgressBarTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
 
454 454
     public function testAddingPlaceholderFormatter()
455 455
     {
456
-        ProgressBar::setPlaceholderFormatterDefinition('remaining_steps', function (ProgressBar $bar) {
456
+        ProgressBar::setPlaceholderFormatterDefinition('remaining_steps', function(ProgressBar $bar) {
457 457
             return $bar->getMaxSteps() - $bar->getProgress();
458 458
         });
459 459
         $bar = new ProgressBar($output = $this->getOutputStream(), 3);
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
     public function testAnsiColorsAndEmojis()
496 496
     {
497 497
         $bar = new ProgressBar($output = $this->getOutputStream(), 15);
498
-        ProgressBar::setPlaceholderFormatterDefinition('memory', function (ProgressBar $bar) {
498
+        ProgressBar::setPlaceholderFormatterDefinition('memory', function(ProgressBar $bar) {
499 499
             static $i = 0;
500 500
             $mem = 100000 * $i;
501 501
             $colors = $i++ ? '41;37' : '44;37';
Please login to merge, or discard this patch.
symfony/console/Symfony/Component/Console/Tests/Input/StringInputTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             array('"quoted"', array('quoted'), '->tokenize() parses quoted arguments'),
66 66
             array("'quoted'", array('quoted'), '->tokenize() parses quoted arguments'),
67 67
             array("'a\rb\nc\td'", array("a\rb\nc\td"), '->tokenize() parses whitespace chars in strings'),
68
-            array("'a'\r'b'\n'c'\t'd'", array('a','b','c','d'), '->tokenize() parses whitespace chars between args as spaces'),
68
+            array("'a'\r'b'\n'c'\t'd'", array('a', 'b', 'c', 'd'), '->tokenize() parses whitespace chars between args as spaces'),
69 69
             array('\"quoted\"', array('"quoted"'), '->tokenize() parses escaped-quoted arguments'),
70 70
             array("\'quoted\'", array('\'quoted\''), '->tokenize() parses escaped-quoted arguments'),
71 71
             array('-a', array('-a'), '->tokenize() parses short options'),
Please login to merge, or discard this patch.
symfony/console/Symfony/Component/Console/Tests/Command/CommandTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
     public function testSetCode()
285 285
     {
286 286
         $command = new \TestCommand();
287
-        $ret = $command->setCode(function (InputInterface $input, OutputInterface $output) {
287
+        $ret = $command->setCode(function(InputInterface $input, OutputInterface $output) {
288 288
             $output->writeln('from the code...');
289 289
         });
290 290
         $this->assertEquals($command, $ret, '->setCode() implements a fluent interface');
Please login to merge, or discard this patch.
vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -336,7 +336,7 @@
 block discarded – undo
336 336
     public function __toString()
337 337
     {
338 338
         $self = $this;
339
-        $tokens = array_map(function ($token) use ($self) {
339
+        $tokens = array_map(function($token) use ($self) {
340 340
             if (preg_match('{^(-[^=]+=)(.+)}', $token, $match)) {
341 341
                 return $match[1].$self->escapeToken($match[2]);
342 342
             }
Please login to merge, or discard this patch.
Sistema/Nucleo/CFControlador.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
         $this->_vista = new CFVista(new CFSolicitud);
35 35
     }
36 36
     
37
-    protected function cargaLib($libreria){
38
-        $rutaLib = RUTA_LIBS . $libreria . '.php';
39
-        if(is_readable($rutaLib)){
37
+    protected function cargaLib($libreria) {
38
+        $rutaLib = RUTA_LIBS.$libreria.'.php';
39
+        if (is_readable($rutaLib)) {
40 40
             require_once $rutaLib;
41 41
            //echo 'libreria cargada';
42 42
         }
@@ -45,10 +45,10 @@  discard block
 block discarded – undo
45 45
         }
46 46
     }
47 47
     
48
-    protected function cargaModelo($modelo){
49
-        $modelo=$modelo.'Modelo';
50
-       $rutaMod = RUTA_MOD . $modelo . '.php';
51
-        if(is_readable($rutaMod)){
48
+    protected function cargaModelo($modelo) {
49
+        $modelo = $modelo.'Modelo';
50
+       $rutaMod = RUTA_MOD.$modelo.'.php';
51
+        if (is_readable($rutaMod)) {
52 52
             require_once $rutaMod;
53 53
             $modelo = new $modelo;
54 54
             return $modelo;
@@ -63,9 +63,9 @@  discard block
 block discarded – undo
63 63
         }
64 64
     }
65 65
     
66
-    protected function cargaAyudante($ayudante){
67
-       $rutaAyudante = RUTA_AYUDANTES . $ayudante . '.php';
68
-        if(is_readable($rutaAyudante)){
66
+    protected function cargaAyudante($ayudante) {
67
+       $rutaAyudante = RUTA_AYUDANTES.$ayudante.'.php';
68
+        if (is_readable($rutaAyudante)) {
69 69
             require_once $rutaAyudante;
70 70
            //echo 'libreria cargada';
71 71
         }
Please login to merge, or discard this patch.
Sistema/Nucleo/CFBootstrap.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,33 +30,33 @@
 block discarded – undo
30 30
 
31 31
     public static function actuar(CFSolicitud $peticion)
32 32
     {
33
-        $controlador = $peticion->getControlador() . 'Controlador';
33
+        $controlador = $peticion->getControlador().'Controlador';
34 34
         //definimos la ruta al controlador
35
-        $rutaControlador = SITE_ROOT . 'mvc' . DS .'controladores' . DS . $controlador . '.php';
35
+        $rutaControlador = SITE_ROOT.'mvc'.DS.'controladores'.DS.$controlador.'.php';
36 36
         $metodo = $peticion->getMetodo();
37 37
         $args = $peticion->getArgumentos();
38 38
         
39 39
         //verifcamos que el archivo existe con la funcion de PHP is_readable
40
-        if(is_readable($rutaControlador)){
40
+        if (is_readable($rutaControlador)) {
41 41
             require_once $rutaControlador;
42 42
             $controlador = new $controlador;
43 43
             
44
-            if(is_callable(array($controlador, $metodo))){
44
+            if (is_callable(array($controlador, $metodo))) {
45 45
                 $metodo = $peticion->getMetodo();
46 46
             }
47
-            else{
47
+            else {
48 48
                 $metodo = 'index';
49 49
             }
50 50
             
51
-            if(isset($args)){
51
+            if (isset($args)) {
52 52
                 call_user_func_array(array($controlador, $metodo), $args);
53 53
             }
54
-            else{
54
+            else {
55 55
                 call_user_func(array($controlador, $metodo));
56 56
             }
57 57
             
58 58
         } else {
59
-            header('Location: '.  Cf_BASE_URL.'error/');           
59
+            header('Location: '.Cf_BASE_URL.'error/');           
60 60
         }
61 61
     }
62 62
 }
63 63
\ No newline at end of file
Please login to merge, or discard this patch.
Sistema/Nucleo/CFSesion.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
 
105 105
    function leer($id) {
106
-      if(!isset($this->read_stmt)) {
106
+      if (!isset($this->read_stmt)) {
107 107
       $this->read_stmt = $this->db->prepare("SELECT data FROM sesiones WHERE id = ? LIMIT 1");
108 108
    }
109 109
    $this->read_stmt->bind_param('s', $id);
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
    $data = $this->encrypt($data, $key);
128 128
  
129 129
    $time = time();
130
-   if(!isset($this->w_stmt)) {
130
+   if (!isset($this->w_stmt)) {
131 131
       $this->w_stmt = $this->db->prepare("REPLACE INTO sesiones (id, set_time, data, session_key) VALUES (?, ?, ?, ?)");
132 132
    }
133 133
  
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
    }
138 138
 
139 139
    function destruir($id) {
140
-      if(!isset($this->delete_stmt)) {
140
+      if (!isset($this->delete_stmt)) {
141 141
       $this->delete_stmt = $this->db->prepare("DELETE FROM sesiones WHERE id = ?");
142 142
    }
143 143
    $this->delete_stmt->bind_param('s', $id);
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
    }
147 147
 
148 148
    function gc($max) {
149
-      if(!isset($this->gc_stmt)) {
149
+      if (!isset($this->gc_stmt)) {
150 150
       $this->gc_stmt = $this->db->prepare("DELETE FROM sesiones WHERE set_time < ?");
151 151
    }
152 152
    $old = time() - $max;
@@ -158,13 +158,13 @@  discard block
 block discarded – undo
158 158
    private function getkey($id) {
159 159
            
160 160
       
161
-      if(!isset($this->key_stmt)) {
161
+      if (!isset($this->key_stmt)) {
162 162
       $this->key_stmt = $this->db->prepare("SELECT session_key FROM sesiones WHERE id = ? LIMIT 1");
163 163
    }
164 164
    $this->key_stmt->bind_param('s', $id);
165 165
    $this->key_stmt->execute();
166 166
    $this->key_stmt->store_result();
167
-   if($this->key_stmt->num_rows == 1) { 
167
+   if ($this->key_stmt->num_rows == 1) { 
168 168
       $this->key_stmt->bind_result($key);
169 169
       $this->key_stmt->fetch();
170 170
       return $key;
Please login to merge, or discard this patch.