Completed
Push — master ( 2aba8e...47e2a2 )
by Andrey
04:14 queued 01:19
created
index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
  * Example usage
5 5
  */
6 6
 
7
-require __DIR__ . "/vendor/autoload.php";
7
+require __DIR__."/vendor/autoload.php";
8 8
 
9
-$excel = new Excel("/example.xlsx",__DIR__);
9
+$excel = new Excel("/example.xlsx", __DIR__);
10 10
 $sheet = new Sheet($excel);
11 11
 $cell  = new Cell($excel);
12 12
 
Please login to merge, or discard this patch.
class/Excel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Метод возвращает ридер для документа
50 50
      *
51
-     * @return PHPExcel_Reader_IReader  (Ридер документа)
51
+     * @return \PHPExcel_Reader_IReader  (Ридер документа)
52 52
      *
53 53
      * @throws PHPExcel_Reader_Exception (Не удалось определить тип документа)
54 54
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
      */
55 55
     public function getReader()
56 56
     {
57
-        $readerType = \PHPExcel_IOFactory::identify($this->sourceFilePath . $this->sourceFile);
57
+        $readerType = \PHPExcel_IOFactory::identify($this->sourceFilePath.$this->sourceFile);
58 58
 
59 59
         return \PHPExcel_IOFactory::createReader($readerType);
60 60
     }
Please login to merge, or discard this patch.
class/Cell.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace EFParser;
4 4
 
5
-use EFParserInterface\ICellParser,
6
-    EFParserInterface\IExcel;
5
+use EFParserInterface\ICellParser;
6
+use EFParserInterface\IExcel;
7 7
 /**
8 8
  * Class Cell
9 9
  * Класс для парсинга ячеек
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@
 block discarded – undo
5 5
 use EFParserInterface\ICellParser,
6 6
     EFParserInterface\IExcel;
7 7
 /**
8
- * Class Cell
9
- * Класс для парсинга ячеек
10
- */
8
+     * Class Cell
9
+     * Класс для парсинга ячеек
10
+     */
11 11
 class Cell implements ICellParser
12 12
 {
13 13
     private $parser;
Please login to merge, or discard this patch.