Passed
Push — develop ( 49b9f7...1b950b )
by nguereza
11:04 queued 09:02
created
src/Validator/Rule/Required.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@
 block discarded – undo
59 59
  * @class Required
60 60
  * @package Platine\Upload\Validator\Rule
61 61
  */
62
-class Required implements RuleInterface
63
-{
62
+class Required implements RuleInterface {
64 63
     /**
65 64
      * {@inheritdoc}
66 65
      * @see RuleInterface
Please login to merge, or discard this patch.
src/File/FileInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class FileInterface
57 57
  * @package Platine\Upload\File
58 58
  */
59
-interface FileInterface
60
-{
59
+interface FileInterface {
61 60
     /**
62 61
      * Return the path name of uploaded file
63 62
      * @return string
Please login to merge, or discard this patch.
src/File/File.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 block discarded – undo
60 60
  * @class File
61 61
  * @package Platine\Upload\File
62 62
  */
63
-class File extends SplFileInfo implements FileInterface
64
-{
63
+class File extends SplFileInfo implements FileInterface {
65 64
     /**
66 65
      * Factory used to create new instance
67 66
      * @var callable|null
Please login to merge, or discard this patch.
src/File/UploadFileInfo.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class UploadFileInfo
57 57
  * @package Platine\Upload\File
58 58
  */
59
-class UploadFileInfo
60
-{
59
+class UploadFileInfo {
61 60
     /**
62 61
      * The full file name
63 62
      * @var string
Please login to merge, or discard this patch.
src/Validator/Rule/MimeType.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class MimeType
61 61
  * @package Platine\Upload\Validator\Rule
62 62
  */
63
-class MimeType implements RuleInterface
64
-{
63
+class MimeType implements RuleInterface {
65 64
     /**
66 65
      * The list of allowed uploaded file mime type
67 66
      * @var array<int, string>
@@ -72,8 +71,7 @@  discard block
 block discarded – undo
72 71
      * Create new instance
73 72
      * @param array<int, string>|string $mimeTypes
74 73
      */
75
-    public function __construct(array|string $mimeTypes)
76
-    {
74
+    public function __construct(array|string $mimeTypes) {
77 75
         $this->mimeTypes = Arr::wrap($mimeTypes);
78 76
     }
79 77
 
Please login to merge, or discard this patch.
src/Validator/Rule/Extension.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class Extension
61 61
  * @package Platine\Upload\Validator\Rule
62 62
  */
63
-class Extension implements RuleInterface
64
-{
63
+class Extension implements RuleInterface {
65 64
     /**
66 65
      * The list of allowed/forbidden extensions
67 66
      * @var array<int, string>
@@ -79,8 +78,7 @@  discard block
 block discarded – undo
79 78
      * @param array<int, string>|string $extensions
80 79
      * @param bool $exclude
81 80
      */
82
-    public function __construct(array|string $extensions, bool $exclude = false)
83
-    {
81
+    public function __construct(array|string $extensions, bool $exclude = false) {
84 82
         $this->extensions = Arr::wrap($extensions);
85 83
         $this->exclude = $exclude;
86 84
     }
Please login to merge, or discard this patch.