Skip to content

v4.24.0

Compare
Choose a tag to compare
@DjordyKoert DjordyKoert released this 14 Mar 15:14
· 19 commits to master since this release
9fb5170

Changelog

Added support for some integer ranges (https://phpstan.org/writing-php-code/phpdoc-types#integer-ranges).
Annotations attached to integer properties like:

  /**
   * @var int<6, 11>
   * @var int<min, 11>
   * @var int<6, max>
   * @var positive-int
   * @var negative-int
   */

will be interpreted as appropriate minimum and maximum properties in the generated OpenAPI specification.

Minor breaking change

Dropped support for PHP 7.2 and PHP 7.3. PHP 7.4 is the minimum required version now.

What's Changed

Full Changelog: v4.23.1...v4.24.0