Skip to content

Commit d5cf59b

Browse files
committed
wip
1 parent bbf70d5 commit d5cf59b

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://spatie.be/open-source/support-us

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ language: php
66
php:
77
- 7.2
88
- 7.3
9-
- 7.4snapshot
9+
- 7.4
1010

1111
env:
1212
matrix:

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ The package also contains [a middleware](https://github.com/spatie/laravel-image
2929

3030
Don't use Laravel you say? No problem! Just use the underlying [spatie/image-optimizer](https://github.com/spatie/image-optimizer) directly.
3131

32+
## Support us
33+
34+
We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).
35+
36+
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).
37+
3238
## Installation
3339

3440
You can install the package via composer:
@@ -203,13 +209,6 @@ We publish all received postcards [on our company website](https://spatie.be/en/
203209

204210
The idea of a middleware that optimizes all files in a request is taken from [approached/laravel-image-optimizer](https://github.com/approached/laravel-image-optimizer).
205211

206-
## Support us
207-
208-
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).
209-
210-
Does your business depend on our contributions? Reach out and support us on [Patreon](https://www.patreon.com/spatie).
211-
All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.
212-
213212
## License
214213

215214
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
],
1818
"require": {
1919
"php": "^7.2",
20-
"laravel/framework": "~5.7.0|~5.8.0|^6.0",
20+
"laravel/framework": "^7.0",
21+
"orchestra/testbench": "^5.0",
2122
"spatie/image-optimizer": "^1.2.0"
2223
},
2324
"require-dev": {
24-
"orchestra/testbench": "~3.7.0|~3.8.0|^4.0",
2525
"phpunit/phpunit": "^8.0"
2626
},
2727
"autoload": {
@@ -49,5 +49,7 @@
4949
"ImageOptimizer": "Spatie\\LaravelImageOptimizer\\Facades\\ImageOptimizer"
5050
}
5151
}
52-
}
52+
},
53+
"minimum-stability": "dev",
54+
"prefer-stable": true
5355
}

tests/MiddlewareTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ protected function getUploadFile(string $path): UploadedFile
6666
pathinfo($path, PATHINFO_BASENAME),
6767
mime_content_type($path),
6868
filesize($path),
69-
null,
7069
true
7170
);
7271
}

0 commit comments

Comments
 (0)