Skip to content

Commit a466a9b

Browse files
authored
Drop support for PHP 7.* (#438)
1 parent 653fe37 commit a466a9b

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
strategy:
3131
matrix:
32-
php-version: ['8.0', '8.1', '8.2', '8.3']
32+
php-version: ['8.1', '8.2', '8.3']
3333
composer-flags: ["--prefer-lowest --prefer-stable", ""]
3434
fail-fast: false
3535
services:

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<p align="center">
44
<a href="https://packagist.org/packages/ankitpokhrel/tus-php">
5-
<img alt="PHP Version" src="https://img.shields.io/badge/php-7.2.5%2B-brightgreen.svg?style=flat-square" />
5+
<img alt="PHP Version" src="https://img.shields.io/badge/php-8.1%2B-brightgreen.svg?style=flat-square" />
66
</a>
77
<a href="https://github.com/ankitpokhrel/tus-php/actions/workflows/ci.yml?query=branch%3Amain+is%3Acompleted">
88
<img alt="Build Status" src="https://img.shields.io/github/actions/workflow/status/ankitpokhrel/tus-php/ci.yml?branch=main&style=flat-square" />
@@ -118,7 +118,7 @@ location ~ \.php$ {
118118
# ...
119119
120120
fastcgi_request_buffering off; # Disable request buffering
121-
121+
122122
# ...
123123
}
124124
```
@@ -476,33 +476,33 @@ If you are not using [make](https://www.gnu.org/software/make/manual/make.html#O
476476
2. Install dependencies
477477
```shell
478478
$ make vendor
479-
479+
480480
# or
481-
481+
482482
$ composer install
483483
```
484484
3. Run tests with phpunit
485485
```shell
486486
$ make test
487-
487+
488488
# or
489-
489+
490490
$ composer test
491-
491+
492492
# or
493-
493+
494494
$ ./vendor/bin/phpunit
495495
```
496496
4. Validate changes against [PSR2 Coding Standards](http://www.php-fig.org/psr/psr-2/)
497497
```shell
498498
# fix lint issues
499499
$ make lint
500-
500+
501501
# dry run
502502
$ make lint-dry
503503
```
504504

505-
You can use `xdebug enable` and `xdebug disable` to enable and disable [Xdebug](https://xdebug.org/) inside the container.
505+
You can use `xdebug enable` and `xdebug disable` to enable and disable [Xdebug](https://xdebug.org/) inside the container.
506506

507507
### Questions about this project?
508508
Please feel free to report any bug found. Pull requests, issues, and project recommendations are more than welcome!

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@
66
"authors": [
77
{
88
"name": "Ankit Pokhrel",
9-
"email": "hello@ankit.pl"
9+
"email": "oss@ankit.pl"
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2.5 || ^8.0",
13+
"php": "^8.1",
1414
"ext-json": "*",
15-
"guzzlehttp/guzzle": "^6.3 || ^7.0",
16-
"nesbot/carbon": "^1.26.3 || ^2.0",
17-
"predis/predis": "^1.1 || ^2.0",
18-
"ramsey/uuid": "^3.7 || ^4.0",
19-
"symfony/console": "^5.0 || ^6.0 || ^7.0",
20-
"symfony/event-dispatcher": "^5.0 || ^6.0 || ^7.0",
21-
"symfony/http-foundation": "^5.0.7 || ^6.0 || ^7.0",
22-
"symfony/mime": "^5.0.9 || ^6.0 || ^7.0"
15+
"guzzlehttp/guzzle": "^7.2",
16+
"nesbot/carbon": "^2.67 || ^3.0",
17+
"predis/predis": "^2.0.3",
18+
"ramsey/uuid": "^4.0",
19+
"symfony/console": "^6.0 || ^7.0",
20+
"symfony/event-dispatcher": "^6.0 || ^7.0",
21+
"symfony/http-foundation": "^6.0 || ^7.0",
22+
"symfony/mime": "^6.0 || ^7.0"
2323
},
2424
"require-dev": {
2525
"ext-pcntl": "*",
2626
"friendsofphp/php-cs-fixer": "^3.0",
27-
"mockery/mockery": "^1.3.4 || ^1.4.2",
28-
"phpunit/phpunit": "^8.5.19 || ^10.0"
27+
"mockery/mockery": "^1.4.2",
28+
"phpunit/phpunit": "^10.5"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)