Passed
Push — develop ( d8faa2...4cb62a )
by nguereza
12:47
created
src/Extractor/JsonExtractor.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@  discard block
 block discarded – undo
44 44
  * @class JsonExtractor
45 45
  * @package Platine\Etl\Extractor
46 46
  */
47
-class JsonExtractor implements ExtractorInterface
48
-{
47
+class JsonExtractor implements ExtractorInterface {
49 48
     public const EXTRACT_AUTO = 0;
50 49
     public const EXTRACT_FROM_STRING = 1;
51 50
     public const EXTRACT_FROM_FILE = 2;
@@ -61,8 +60,7 @@  discard block
 block discarded – undo
61 60
      * Create new instance
62 61
      * @param int $type
63 62
      */
64
-    public function __construct(int $type = self::EXTRACT_AUTO)
65
-    {
63
+    public function __construct(int $type = self::EXTRACT_AUTO) {
66 64
         $this->type = $type;
67 65
     }
68 66
 
Please login to merge, or discard this patch.
src/Extractor/CsvExtractor.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
  * @class CsvExtractor
45 45
  * @package Platine\Etl\Extractor
46 46
  */
47
-class CsvExtractor implements ExtractorInterface
48
-{
47
+class CsvExtractor implements ExtractorInterface {
49 48
     public const EXTRACT_AUTO = 0;
50 49
     public const EXTRACT_FROM_STRING = 1;
51 50
     public const EXTRACT_FROM_FILE = 2;
Please login to merge, or discard this patch.
src/Loader/FileLoader.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@  discard block
 block discarded – undo
41 41
  * @class FileLoader
42 42
  * @package Platine\Etl\Loader
43 43
  */
44
-class FileLoader implements LoaderInterface
45
-{
44
+class FileLoader implements LoaderInterface {
46 45
     /**
47 46
      * The file to be used
48 47
      * @var SplFileObject
@@ -60,8 +59,7 @@  discard block
 block discarded – undo
60 59
      * @param SplFileObject|string $file
61 60
      * @param string $eol
62 61
      */
63
-    public function __construct(SplFileObject|string $file, string $eol = PHP_EOL)
64
-    {
62
+    public function __construct(SplFileObject|string $file, string $eol = PHP_EOL) {
65 63
         if (is_string($file)) {
66 64
             $file = new SplFileObject($file, 'w');
67 65
         }
Please login to merge, or discard this patch.
src/Iterator/TextLineIterator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
      * @param string $content
62 62
      * @param bool $skipEmptyLine
63 63
      */
64
-    public function __construct(string $content, bool $skipEmptyLine = true)
65
-    {
64
+    public function __construct(string $content, bool $skipEmptyLine = true) {
66 65
         $this->content = $content;
67 66
         $this->skipEmptyLine = $skipEmptyLine;
68 67
     }
Please login to merge, or discard this patch.
src/Event/ItemExceptionEvent.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
  * @class ItemExceptionEvent
41 41
  * @package Platine\Etl\Event
42 42
  */
43
-class ItemExceptionEvent extends BaseEvent
44
-{
43
+class ItemExceptionEvent extends BaseEvent {
45 44
     /**
46 45
      * The item
47 46
      * @var mixed
Please login to merge, or discard this patch.
src/Event/ItemEvent.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,8 +39,7 @@
 block discarded – undo
39 39
  * @class ItemEvent
40 40
  * @package Platine\Etl\Event
41 41
  */
42
-class ItemEvent extends BaseEvent
43
-{
42
+class ItemEvent extends BaseEvent {
44 43
     /**
45 44
      * The item
46 45
      * @var mixed
Please login to merge, or discard this patch.