Completed
Pull Request — master (#15)
by John
07:45 queued 12s
created
src/Field/Parser/DateParser/DateFormatter/DateFormatterFactory.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 class DateFormatterFactory
10 10
 {
11 11
     /**
12
-     * @param string $customFormat
13 12
      *
14 13
      * @return DateFormatterInterface
15 14
      */
Please login to merge, or discard this patch.
src/Field/Renderer/BarcodeRenderer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 abstract class AbstractGraphicPrimitiveRenderer extends AbstractRenderer
8 8
 {
9 9
     /**
10
-     * @return int
10
+     * @return double
11 11
      */
12 12
     protected function getLineWeight()
13 13
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
         $fontPath = $fontResolver($this->getFontFace());
38 38
 
39
-        $fontCallback = function ($font) use ($fontPath) {
39
+        $fontCallback = function($font) use ($fontPath) {
40 40
             $font->file($fontPath);
41 41
             $font->size($this->getFontSize());
42 42
             $font->color('#fff');
Please login to merge, or discard this patch.
tests/Field/Builder/BarcodeBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $xmlField = new SimpleXMLElement('<a/>');
20 20
         $scale = 10;
21 21
         $tracerColour = '#ccc';
22
-        $fontResolver = function () {
22
+        $fontResolver = function() {
23 23
         };
24 24
 
25 25
         $parser = m::mock(BarcodeParser::class)
Please login to merge, or discard this patch.
tests/Field/Builder/FixedTextBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $xmlField = new SimpleXMLElement('<a/>');
20 20
         $scale = 10;
21 21
         $tracerColour = '#ccc';
22
-        $fontResolver = function () {
22
+        $fontResolver = function() {
23 23
         };
24 24
 
25 25
         $parser = m::mock(FixedTextParser::class)
Please login to merge, or discard this patch.
tests/Field/Builder/OffsetDateBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $xmlHeader = new SimpleXMLElement('<b name="test"/>');
21 21
         $scale = 10;
22 22
         $tracerColour = '#ccc';
23
-        $fontResolver = function () {
23
+        $fontResolver = function() {
24 24
         };
25 25
 
26 26
         $parser = m::mock(OffsetDateParser::class)
Please login to merge, or discard this patch.
tests/Field/Builder/DateBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $xmlField = new SimpleXMLElement('<a/>');
20 20
         $scale = 10;
21 21
         $tracerColour = '#ccc';
22
-        $fontResolver = function () {
22
+        $fontResolver = function() {
23 23
         };
24 24
 
25 25
         $parser = m::mock(DateParser::class)
Please login to merge, or discard this patch.
tests/Field/Builder/StaticGraphicBuilderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $xmlField = new SimpleXMLElement('<a/>');
20 20
         $scale = 10;
21 21
         $tracerColour = '#ccc';
22
-        $graphicResolver = function () {
22
+        $graphicResolver = function() {
23 23
         };
24 24
 
25 25
         $parser = m::mock(StaticGraphicParser::class)
Please login to merge, or discard this patch.
tests/Field/Renderer/BarcodeRendererTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function testRender()
13 13
     {
14
-        $fontResolver = function () {
14
+        $fontResolver = function() {
15 15
         };
16 16
         $text = 'this is some text';
17 17
         $width = 104;
Please login to merge, or discard this patch.
tests/Field/Renderer/FixedTextRendererTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,14 +11,14 @@
 block discarded – undo
11 11
 {
12 12
     public function testRender()
13 13
     {
14
-        $fontResolver = function () {
14
+        $fontResolver = function() {
15 15
         };
16 16
         $text = 'this is some text';
17 17
         $fontSize = 42;
18 18
         $orientation = 90;
19 19
         $tracerColour = '#ccc';
20 20
 
21
-        $textExpectation = function ($actualClosure) use ($text, $fontSize) {
21
+        $textExpectation = function($actualClosure) use ($text, $fontSize) {
22 22
             $actualFont;
23 23
             $actualClosure($actualFont);
24 24
 
Please login to merge, or discard this patch.