diff --git a/README.md b/README.md index 7f1ac3b2b..31dce91e4 100644 --- a/README.md +++ b/README.md @@ -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)) diff --git a/docs/guide/index.md b/docs/guide/index.md index 057ac6d65..cd243b24f 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -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. :::