Skip to content

Commit eeb445c

Browse files
committed
fix pint errors
1 parent d855fd1 commit eeb445c

27 files changed

+16
-31
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
],
1111
"require": {
1212
"php": "^8.1",
13+
"doctrine/dbal": "^3.7",
1314
"jcupitt/vips": "^2.0",
1415
"laravel/framework": "^9.0|^10.0",
1516
"nesbot/carbon": "^2.0"

config/file-storage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
declare(strict_types=1);
23

34
return [
45
'disk' => env('FILE_STORAGE_DISK', 'media'),

pint.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"preset": "laravel",
3+
"rules": {
4+
"blank_line_after_opening_tag": false,
5+
"declare_strict_types": true
6+
}
7+
}

src/Config/Configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Config;

src/Config/ConfigurationFactory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Config;

src/Contracts/MediaAwareInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Contracts;

src/Contracts/MediaTypeInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Contracts;

src/Controllers/DownloadController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Controllers;

src/Exceptions/FileNotFoundException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Exceptions;

src/Exceptions/NotWritableException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
2-
32
declare(strict_types=1);
43

54
namespace Imahmood\FileStorage\Exceptions;

0 commit comments

Comments
 (0)