GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — develop ( a94b80...f507c7 )
by nguereza
01:38
created
src/Validator/Validator.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 Validator
59 59
  * @package Platine\Upload\Validator
60 60
  */
61
-class Validator
62
-{
61
+class Validator {
63 62
     /**
64 63
      * The validate rules
65 64
      * @var array<int, RuleInterface>
@@ -70,8 +69,7 @@  discard block
 block discarded – undo
70 69
      * Create new instance
71 70
      * @param array<int, RuleInterface> $rules
72 71
      */
73
-    public function __construct(array $rules = [])
74
-    {
72
+    public function __construct(array $rules = []) {
75 73
         $this->rules = $rules;
76 74
     }
77 75
 
Please login to merge, or discard this patch.
src/Validator/Rule/Size.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 Size
61 61
  * @package Platine\Upload\Validator\Rule
62 62
  */
63
-class Size implements RuleInterface
64
-{
63
+class Size implements RuleInterface {
65 64
     /**
66 65
      * The uploaded file max size
67 66
      * @var int
@@ -72,8 +71,7 @@  discard block
 block discarded – undo
72 71
      * Create new instance
73 72
      * @param int|string $size
74 73
      */
75
-    public function __construct($size)
76
-    {
74
+    public function __construct($size) {
77 75
         if (!is_int($size)) {
78 76
             $size = Helper::sizeInBytes($size);
79 77
         }
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 $mimeType
74 73
      */
75
-    public function __construct($mimeType)
76
-    {
74
+    public function __construct($mimeType) {
77 75
         if (!is_array($mimeType)) {
78 76
             $mimeType = [$mimeType];
79 77
         }
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/Upload.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,8 +146,8 @@
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-    * Whether the file is uploaded
150
-    */
149
+     * Whether the file is uploaded
150
+     */
151 151
     public function isUploaded(): bool
152 152
     {
153 153
         return count($this->files) > 0
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      */
199 199
     public function isValid(): bool
200 200
     {
201
-        if (! $this->isUploaded()) {
201
+        if (!$this->isUploaded()) {
202 202
             return false;
203 203
         }
204 204
         foreach ($this->files as $file) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@  discard block
 block discarded – undo
66 66
  * Class Upload
67 67
  * @package Platine\Upload
68 68
  */
69
-class Upload
70
-{
69
+class Upload {
71 70
     /**
72 71
      * Upload Storage
73 72
      * @var StorageInterface
@@ -248,8 +247,7 @@  discard block
 block discarded – undo
248 247
      * Return the uploaded file information
249 248
      * @return UploadFileInfo|array<int, UploadFileInfo>|bool
250 249
      */
251
-    public function getInfo()
252
-    {
250
+    public function getInfo() {
253 251
         return $this->uploadInfo;
254 252
     }
255 253
 
Please login to merge, or discard this patch.