Skip to content

Commit

Permalink
Update PHP requirements (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerManoMann authored Jan 7, 2025
1 parent ee44bb3 commit a6eeb59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Programmatically, the method `Generator::setVersion()` can be used to change the

## Requirements

`swagger-php` requires at least PHP 7.2 for annotations and PHP 8.1 for using attributes.
`swagger-php` requires at least PHP 7.4 for annotations and PHP 8.1 for using attributes.

## Installation (with [Composer](https://getcomposer.org))

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ either adding [`Annotations`](annotations.md) or [`Attributes`](attributes.md).
:::

::: warning Requirements
Using `swagger-php` requires a minimum of **PHP 7.2** for using annotations and
Using `swagger-php` requires a minimum of **PHP 7.4** for using annotations and
at least **PHP 8.1** to use attributes.
:::

0 comments on commit a6eeb59

Please sign in to comment.