Passed
Push — develop ( f1b50a...c9554d )
by nguereza
02:57
created
src/Validator/Rule/Required.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * Class Required
56 56
  * @package Platine\Upload\Validator\Rule
57 57
  */
58
-class Required implements RuleInterface
59
-{
58
+class Required implements RuleInterface {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      * @see RuleInterface
Please login to merge, or discard this patch.
src/Validator/RuleInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@
 block discarded – undo
54 54
  * Class RuleInterface
55 55
  * @package Platine\Upload\Validator
56 56
  */
57
-interface RuleInterface
58
-{
57
+interface RuleInterface {
59 58
 
60 59
     /**
61 60
      * Method to validate this Rule
Please login to merge, or discard this patch.
src/Validator/Validator.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -54,8 +54,7 @@  discard block
 block discarded – undo
54 54
  * Class Validator
55 55
  * @package Platine\Upload\Validator
56 56
  */
57
-class Validator
58
-{
57
+class Validator {
59 58
 
60 59
     /**
61 60
      * The validate rules
@@ -67,8 +66,7 @@  discard block
 block discarded – undo
67 66
      * Create new instance
68 67
      * @param array<int, RuleInterface> $rules
69 68
      */
70
-    public function __construct(array $rules = [])
71
-    {
69
+    public function __construct(array $rules = []) {
72 70
         $this->rules = $rules;
73 71
     }
74 72
 
Please login to merge, or discard this patch.
src/Storage/FileSystem.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * Class FileSystem
59 59
  * @package Platine\Upload\Storage
60 60
  */
61
-class FileSystem implements StorageInterface
62
-{
61
+class FileSystem implements StorageInterface {
63 62
 
64 63
     /**
65 64
      * Path to move uploaded files
@@ -78,8 +77,7 @@  discard block
 block discarded – undo
78 77
      * @param string $path
79 78
      * @param bool $overwrite
80 79
      */
81
-    public function __construct(string $path, bool $overwrite)
82
-    {
80
+    public function __construct(string $path, bool $overwrite) {
83 81
         $this->overwrite = $overwrite;
84 82
         $directory = $this->normalizePath($path);
85 83
 
Please login to merge, or discard this patch.
src/Storage/StorageInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * Class StorageInterface
56 56
  * @package Platine\Upload\Storage
57 57
  */
58
-interface StorageInterface
59
-{
58
+interface StorageInterface {
60 59
 
61 60
     /**
62 61
      * Move the uploaded file to destination
Please login to merge, or discard this patch.