feat(php): drop support for EOLed PHP versions and unify min required version (#17826)

This commit is contained in:
Simon Podlipsky 2025-03-24 06:59:01 +01:00 committed by GitHub
parent 7d977b63dc
commit 62b176e95d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
177 changed files with 206 additions and 191 deletions

View File

@ -5,7 +5,7 @@ Generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
## Overview
This lightweight extensible client library is [PSR-7](https://www.php-fig.org/psr/psr-7), [PSR-11](https://www.php-fig.org/psr/psr-11), [PSR-17](https://www.php-fig.org/psr/psr-17) and [PSR-18](https://www.php-fig.org/psr/psr-18) complaint and relies on:
- PHP: >=7.4
- PHP: >=8.1
- [Data Transfer](https://github.com/Articus/DataTransfer): >=0.6

View File

@ -18,7 +18,7 @@
"version": "{{artifactVersion}}",
"type": "library",
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"articus/data-transfer": "^0.6",
"articus/openapi-generator-common": "^0.3",
"articus/openapi-generator-apiclient": "^0.2",
@ -36,4 +36,4 @@
"nyholm/psr7": "^1.8",
"symfony/http-client": "^5.4"
}
}
}

View File

@ -17,7 +17,7 @@
],
"type": "library",
"require": {
"php": "^8.1.0",
"php": "^8.1",
"flightphp/core": "^3.5.1",
"ext-json": "*"
},

View File

@ -24,7 +24,7 @@
}
],
"require": {
"php": ">=8.1",
"php": "^8.1",
"laravel/framework": "^10.0",
"crell/serde": "^1.0"
},

View File

@ -24,7 +24,7 @@
],
"type": "project",
"require": {
"php": "^7.2.5",
"php": "^8.1",
"laravel/lumen-framework": "^7.2"
},
"require-dev": {

View File

@ -5,7 +5,7 @@ Generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
## Overview
This server stub aims to provide light, yet comprehensive structure for your API project using:
- PHP: >=8.0
- PHP: >=8.1
- [Laminas Mezzio](https://docs.mezzio.dev/mezzio/): >=3.3
- [Path Handler](https://github.com/Articus/PathHandler): >=0.7

View File

@ -18,7 +18,7 @@
"version": "{{artifactVersion}}",
"type": "project",
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-yaml": "^2.2",
"mezzio/mezzio": "^3.3",
"laminas/laminas-diactoros": "^2.5",
@ -36,4 +36,4 @@
"": "src/"
}
}
}
}

View File

@ -5,7 +5,7 @@ Generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
## Overview
This server stub aims to provide light, yet comprehensive structure for your API project using:
- PHP: >=7.3
- PHP: >=8.1
- [Laminas Mezzio](https://docs.mezzio.dev/mezzio/): >=3.2
- [Path Handler](https://github.com/Articus/PathHandler): >=0.7

View File

@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.3 || ^8.0",
"php": "^8.1",
"ext-yaml": "^2.0",
"mezzio/mezzio": "^3.2",
"laminas/laminas-diactoros": "^2.1",
@ -37,4 +37,4 @@
"": "src/"
}
}
}
}

View File

@ -20,7 +20,7 @@ This server has been generated with [Laminas (Zend) PSR-7 implementation](https:
## Requirements
* Web server with URL rewriting
* PHP 7.4 or newer
* PHP 8.1 or newer
This package contains `.htaccess` for Apache configuration.
If you use another server(Nginx, HHVM, IIS, lighttpd) check out [Web Servers](https://www.slimframework.com/docs/v3/start/web-servers.html) doc.

View File

@ -22,7 +22,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"dyorg/slim-token-authentication": "dev-slim4",
{{#isGuzzlePsr7}}
"guzzlehttp/psr7": "^1.6.1",

View File

@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
php-versions: ['7.4', '8.0', '8.1']
php-versions: ['8.1']
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout

View File

@ -2,7 +2,7 @@
{{#appName}}
* {{{.}}}
{{/appName}}
* PHP version 7.4
* PHP version 8.1
*
* @package {{invokerPackage}}
* @author OpenAPI Generator team
@ -20,4 +20,4 @@
* Contact: {{{.}}}
{{/infoEmail}}
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
*/

View File

@ -24,7 +24,7 @@
}
],
"require": {
"php": ">=8.1",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",

View File

@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -1,7 +1,7 @@
<?php
/**
* Configuration
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}
@ -20,7 +20,7 @@ namespace {{invokerPackage}};
/**
* Configuration Class Doc Comment
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -1,7 +1,7 @@
<?php
/**
* HeaderSelector
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -2,7 +2,7 @@
/**
* ModelInterface
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{modelPackage}}

View File

@ -2,7 +2,7 @@
/**
* ObjectSerializer
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -12,8 +12,7 @@ For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}).
### Requirements
PHP 7.4 and later.
Should also work with PHP 8.0.
PHP 8.1 and later.
### Composer

View File

@ -1,7 +1,7 @@
<?php
/**
* {{classname}}
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -1,7 +1,7 @@
<?php
/**
* {{classname}}Test
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -24,7 +24,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",

View File

@ -27,7 +27,7 @@
"sort-packages": true
},
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",

View File

@ -4,7 +4,7 @@
/**
* {{classname}}
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -4,7 +4,7 @@
/**
* {{classname}}Test
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package {{invokerPackage}}

View File

@ -5,7 +5,7 @@ Generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
## Overview
This lightweight extensible client library is [PSR-7](https://www.php-fig.org/psr/psr-7), [PSR-11](https://www.php-fig.org/psr/psr-11), [PSR-17](https://www.php-fig.org/psr/psr-17) and [PSR-18](https://www.php-fig.org/psr/psr-18) complaint and relies on:
- PHP: >=7.4
- PHP: >=8.1
- [Data Transfer](https://github.com/Articus/DataTransfer): >=0.6

View File

@ -18,7 +18,7 @@
"version": "1.0.0",
"type": "library",
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"articus/data-transfer": "^0.6",
"articus/openapi-generator-common": "^0.3",
"articus/openapi-generator-apiclient": "^0.2",
@ -36,4 +36,4 @@
"nyholm/psr7": "^1.8",
"symfony/http-client": "^5.4"
}
}
}

View File

@ -7,8 +7,7 @@ This spec is mainly for testing Petstore server and contains fake endpoints, mod
### Requirements
PHP 7.4 and later.
Should also work with PHP 8.0.
PHP 8.1 and later.
### Composer

View File

@ -18,7 +18,7 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",

View File

@ -1,7 +1,7 @@
<?php
/**
* AnotherFakeApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* DefaultApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* FakeApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* FakeClassnameTags123Api
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* PetApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* StoreApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* UserApi
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* ApiException
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* Configuration
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client
@ -29,7 +29,7 @@ namespace OpenAPI\Client;
/**
* Configuration Class Doc Comment
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* HeaderSelector
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* AdditionalPropertiesClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* AllOfWithSingleRef
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Animal
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ApiResponse
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ArrayOfArrayOfNumberOnly
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ArrayOfNumberOnly
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ArrayTest
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Capitalization
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Cat
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Category
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ClassModel
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Client
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* DeprecatedObject
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Dog
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* EnumArrays
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* EnumClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* EnumTest
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* EnumWithNameAndDescription
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* FakeBigDecimalMap200Response
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* File
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* FileSchemaTestClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Foo
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* FooGetDefaultResponse
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* FormatTest
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* HasOnlyReadOnly
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* HealthCheckResult
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* MapTest
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* MixedPropertiesAndAdditionalPropertiesClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Model200Response
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ModelInterface
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client\Model

View File

@ -2,7 +2,7 @@
/**
* ModelList
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ModelReturn
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Name
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* NullableClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* NumberOnly
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ObjectWithDeprecatedFields
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Order
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterComposite
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterEnum
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterEnumDefaultValue
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterEnumInteger
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterEnumIntegerDefaultValue
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* OuterObjectWithEnumProperty
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Pet
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* PropertyNameMapping
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ReadOnlyFirst
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* SingleRefType
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* SpecialModelName
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Tag
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* TestInlineFreeformAdditionalPropertiesRequest
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* User
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ObjectSerializer
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -21,7 +21,7 @@
"sort-packages": true
},
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "eaa4af6876416b9e7ba17683702be606",
"content-hash": "009d7a0d82a4fb312013b81667ee90b6",
"packages": [
{
"name": "clue/stream-filter",
@ -4973,11 +4973,11 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": ">=7.2",
"php": "^8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*"
},
"platform-dev": [],
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.6.0"
}

View File

@ -1,7 +1,7 @@
<?php
/**
* Configuration
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client
@ -29,7 +29,7 @@ namespace OpenAPI\Client;
/**
* Configuration Class Doc Comment
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -1,7 +1,7 @@
<?php
/**
* HeaderSelector
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* AdditionalPropertiesClass
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* AllOfWithSingleRef
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* Animal
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

View File

@ -2,7 +2,7 @@
/**
* ApiResponse
*
* PHP version 7.4
* PHP version 8.1
*
* @category Class
* @package OpenAPI\Client

Some files were not shown because too many files have changed in this diff Show More