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 ( 27d56f...c341c3 )
by Denis
03:01
created
src/ExcelWriter.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     }
233 233
 
234 234
     /**
235
-     * @param $cellFormat
235
+     * @param string $cellFormat
236 236
      *
237 237
      * @return string
238 238
      */
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
     /**
268 268
      * @todo  check escaping
269 269
      *
270
-     * @param $cellFormat
270
+     * @param string $cellFormat
271 271
      *
272 272
      * @return string
273 273
      */
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      *
307 307
      * @param string $cellFormat
308 308
      *
309
-     * @return int|mixed
309
+     * @return integer
310 310
      */
311 311
     private function addCellFormat($cellFormat)
312 312
     {
@@ -530,7 +530,7 @@  discard block
 block discarded – undo
530 530
 
531 531
     /**
532 532
      * @param Writer $file
533
-     * @param $rowNumber
533
+     * @param integer $rowNumber
534 534
      * @param $columnNumber
535 535
      * @param $value
536 536
      * @param $cellIndex
@@ -598,7 +598,7 @@  discard block
 block discarded – undo
598 598
     }
599 599
 
600 600
     /**
601
-     * @param $v
601
+     * @param string $v
602 602
      *
603 603
      * @return int|mixed
604 604
      */
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
     }
647 647
 
648 648
     /**
649
-     * @param $string
649
+     * @param string $string
650 650
      */
651 651
     public static function log($string)
652 652
     {
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
      *
662 662
      * @param string $filename
663 663
      *
664
-     * @return mixed
664
+     * @return string
665 665
      */
666 666
     public static function checkFilename($filename)
667 667
     {
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
     /**
677 677
      * @param $val
678 678
      *
679
-     * @return mixed
679
+     * @return string
680 680
      */
681 681
     public static function xmlspecialchars($val)
682 682
     {
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,19 +26,19 @@  discard block
 block discarded – undo
26 26
     private $urlSchemaFormat = 'http://schemas.openxmlformats.org/officeDocument/2006';
27 27
 
28 28
     /** @var string */
29
-    protected $author ='Unknown Author';
29
+    protected $author = 'Unknown Author';
30 30
     /** @var array */
31 31
     protected $sheets = [];
32 32
     /** @var array */
33
-    protected $sharedStrings = [];//unique set
33
+    protected $sharedStrings = []; //unique set
34 34
     /** @var int */
35
-    protected $sharedStringCount = 0;//count of non-unique references to the unique set
35
+    protected $sharedStringCount = 0; //count of non-unique references to the unique set
36 36
     /** @var array */
37 37
     protected $tempFiles = [];
38 38
     /** @var array */
39
-    protected $cellFormats = [];//contains excel format like YYYY-MM-DD HH:MM:SS
39
+    protected $cellFormats = []; //contains excel format like YYYY-MM-DD HH:MM:SS
40 40
     /** @var array */
41
-    protected $cellTypes = [];//contains friendly format like datetime
41
+    protected $cellTypes = []; //contains friendly format like datetime
42 42
     /** @var string  */
43 43
     protected $currentSheet = '';
44 44
     /** @var null */
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
             return;
192 192
         }
193 193
         $sheetFilename = $this->tempFilename();
194
-        $sheetXmlName = 'sheet' . (count($this->sheets) + 1).".xml";
194
+        $sheetXmlName = 'sheet'.(count($this->sheets) + 1).".xml";
195 195
         $sheetObj = new Sheet();
196 196
         $sheetObj
197 197
             ->setFilename($sheetFilename)
@@ -202,8 +202,8 @@  discard block
 block discarded – undo
202 202
         $this->sheets[$sheetName] = $sheetObj;
203 203
         /** @var Sheet $sheet */
204 204
         $sheet = &$this->sheets[$sheetName];
205
-        $selectedTab = count($this->sheets) == 1 ? 'true' : 'false';//only first sheet is selected
206
-        $maxCell = ExcelWriter::xlsCell(self::EXCEL_MAX_ROW, self::EXCEL_MAX_COL);//XFE1048577
205
+        $selectedTab = count($this->sheets) == 1 ? 'true' : 'false'; //only first sheet is selected
206
+        $maxCell = ExcelWriter::xlsCell(self::EXCEL_MAX_ROW, self::EXCEL_MAX_COL); //XFE1048577
207 207
         $sheet->getWriter()->write('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'."\n");
208 208
         $sheet->getWriter()->write(
209 209
             '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" 
@@ -708,7 +708,7 @@  discard block
 block discarded – undo
708 708
             return 60 + $seconds;
709 709
         }
710 710
 
711
-        $range  = $year - $epoch;
711
+        $range = $year - $epoch;
712 712
         // check leapDay
713 713
         $leap = (new \DateTime($dateInput))->format('L');
714 714
         $mDays = [31, ($leap ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
         }
719 719
 
720 720
         $days = $day + ($range * 365) + array_sum(array_slice($mDays, 0, $month - 1));
721
-        $days += intval(($range) / 4) -  intval(($range + $offset) / 100);
721
+        $days += intval(($range) / 4) - intval(($range + $offset) / 100);
722 722
         $days += intval(($range + $offset + $norm) / 400) - intval($leap);
723 723
 
724 724
         if ($days > 59) {
Please login to merge, or discard this patch.