Skip to content

Commit 61c0283

Browse files
committed
drop support for PHP versions < 8.0
1 parent 38a2de7 commit 61c0283

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
10+
php: ['8.0', '8.1', '8.2']
1111

1212
name: PHP ${{ matrix.php }} tests
1313
steps:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![Latest Version](https://img.shields.io/packagist/v/wol-soft/php-json-schema-model-generator.svg)](https://packagist.org/packages/wol-soft/php-json-schema-model-generator)
2-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)](https://php.net/)
2+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
33
[![Maintainability](https://api.codeclimate.com/v1/badges/7eb29e7366dc3d6a5f44/maintainability)](https://codeclimate.com/github/wol-soft/php-json-schema-model-generator/maintainability)
44
[![Build Status](https://github.com/wol-soft/php-json-schema-model-generator/actions/workflows/main.yml/badge.svg)](https://github.com/wol-soft/php-json-schema-model-generator/actions/workflows/main.yml)
55
[![Coverage Status](https://coveralls.io/repos/github/wol-soft/php-json-schema-model-generator/badge.svg?branch=master)](https://coveralls.io/github/wol-soft/php-json-schema-model-generator?branch=master)
@@ -27,7 +27,7 @@ Simple example from a PHP application: you define and document an API with swagg
2727

2828
## Requirements ##
2929

30-
- Requires at least PHP 7.2
30+
- Requires at least PHP 8.0
3131
- Requires the PHP extensions ext-json and ext-mbstring
3232

3333
## Installation ##

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"wol-soft/php-json-schema-model-generator-production": "^0.19.0",
1616
"wol-soft/php-micro-template": "^1.9.0",
1717

18-
"php": ">=7.2",
18+
"php": ">=8.0",
1919
"ext-json": "*",
2020
"ext-mbstring": "*"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^8.5 || ^9.4"
23+
"phpunit/phpunit": "^9.4"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)