Passed
Push — master ( 818b3e...c1bcf5 )
by Thierry
02:23
created
src/App/Dialog/Library/AlertLibrary.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function confirm(string $sQuestion, string $sYesScript, string $sNoScript): string
31 31
     {
32
-        return empty($sNoScript) ? 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}' :
33
-            'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}else{' . $sNoScript . ';}';
32
+        return empty($sNoScript) ? 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}' : 'if(confirm(' . $sQuestion . ')){' . $sYesScript . ';}else{' . $sNoScript . ';}';
34 33
     }
35 34
 
36 35
     /**
Please login to merge, or discard this patch.
src/Annotations/Annotation/UploadAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
      */
60 60
     public function getValue()
61 61
     {
62
-        return "'" . $this->sField . "'" ; // The field id is surrounded with simple quotes.
62
+        return "'" . $this->sField . "'"; // The field id is surrounded with simple quotes.
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Annotations/AnnotationReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
         $this->xManager->registry['upload'] = UploadAnnotation::class;
45 45
         $this->xManager->registry['databag'] = DataBagAnnotation::class;
46 46
         $this->xManager->registry['exclude'] = ExcludeAnnotation::class;
47
-        $this->xManager->registry['before'] = BeforeAnnotation::class;;
48
-        $this->xManager->registry['after'] = AfterAnnotation::class;;
47
+        $this->xManager->registry['before'] = BeforeAnnotation::class; ;
48
+        $this->xManager->registry['after'] = AfterAnnotation::class; ;
49 49
         // Missing standard annotations.
50 50
         // We need to define this, otherwise they throw an exception, and make the whole processing fail.
51 51
         $this->xManager->registry['const'] = false;
Please login to merge, or discard this patch.