Skip to content

[php-ze-ph] Set required PHP version to ^7.2 #6763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/configs/php-ze-ph.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
generatorName: php-ze-ph
outputDir: samples/server/petstore/php-ze-ph
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/php-ze-ph
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
- PHP: >=7.2
- [Zend Expressive](https://zendframework.github.io/zend-expressive): >=3.2
- [Path Handler](https://github.com/Articus/PathHandler): >=0.4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "{{artifactVersion}}",
"type": "project",
"require": {
"php": "^7.1",
"php": "^7.2",
"ext-yaml": "^2.0",
"zendframework/zend-expressive": "^3.2",
"zendframework/zend-diactoros": "^2.1",
Expand Down
59 changes: 5 additions & 54 deletions samples/server/petstore/php-ze-ph/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -7,67 +7,18 @@ application/config/path_handler.yml
application/container.php
composer.json
public/index.php
src/App/DTO/AdditionalPropertiesAnyType.php
src/App/DTO/AdditionalPropertiesArray.php
src/App/DTO/AdditionalPropertiesBoolean.php
src/App/DTO/AdditionalPropertiesClass.php
src/App/DTO/AdditionalPropertiesInteger.php
src/App/DTO/AdditionalPropertiesNumber.php
src/App/DTO/AdditionalPropertiesObject.php
src/App/DTO/AdditionalPropertiesString.php
src/App/DTO/Animal.php
src/App/DTO/ApiResponse.php
src/App/DTO/ArrayOfArrayOfNumberOnly.php
src/App/DTO/ArrayOfNumberOnly.php
src/App/DTO/ArrayTest.php
src/App/DTO/BigCat.php
src/App/DTO/BigCatAllOf.php
src/App/DTO/Capitalization.php
src/App/DTO/Cat.php
src/App/DTO/CatAllOf.php
src/App/DTO/Category.php
src/App/DTO/ClassModel.php
src/App/DTO/Client.php
src/App/DTO/Dog.php
src/App/DTO/DogAllOf.php
src/App/DTO/EnumArrays.php
src/App/DTO/EnumClass.php
src/App/DTO/EnumTest.php
src/App/DTO/FileSchemaTestClass.php
src/App/DTO/FormatTest.php
src/App/DTO/HasOnlyReadOnly.php
src/App/DTO/MapTest.php
src/App/DTO/MixedPropertiesAndAdditionalPropertiesClass.php
src/App/DTO/Model200Response.php
src/App/DTO/ModelReturn.php
src/App/DTO/Name.php
src/App/DTO/NumberOnly.php
src/App/DTO/FindPetsByStatusQueryData.php
src/App/DTO/FindPetsByTagsQueryData.php
src/App/DTO/InlineObject.php
src/App/DTO/InlineObject1.php
src/App/DTO/LoginUserQueryData.php
src/App/DTO/Order.php
src/App/DTO/OuterComposite.php
src/App/DTO/OuterEnum.php
src/App/DTO/Pet.php
src/App/DTO/ReadOnlyFirst.php
src/App/DTO/SpecialModelName.php
src/App/DTO/Tag.php
src/App/DTO/TypeHolderDefault.php
src/App/DTO/TypeHolderExample.php
src/App/DTO/User.php
src/App/DTO/XmlItem.php
src/App/Factory.php
src/App/Handler/AnotherFakeDummy.php
src/App/Handler/Fake.php
src/App/Handler/FakeBodyWithFileSchema.php
src/App/Handler/FakeBodyWithQueryParams.php
src/App/Handler/FakeClassnameTest.php
src/App/Handler/FakeCreateXmlItem.php
src/App/Handler/FakeInlineAdditionalProperties.php
src/App/Handler/FakeJsonFormData.php
src/App/Handler/FakeOuterBoolean.php
src/App/Handler/FakeOuterComposite.php
src/App/Handler/FakeOuterNumber.php
src/App/Handler/FakeOuterString.php
src/App/Handler/FakePetIdUploadImageWithRequiredFile.php
src/App/Handler/FakeTestQueryParamters.php
src/App/Handler/Pet.php
src/App/Handler/PetFindByStatus.php
src/App/Handler/PetFindByTags.php
Expand Down
2 changes: 1 addition & 1 deletion samples/server/petstore/php-ze-ph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
- PHP: >=7.2
- [Zend Expressive](https://zendframework.github.io/zend-expressive): >=3.2
- [Path Handler](https://github.com/Articus/PathHandler): >=0.4

Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
Articus\PathHandler\RouteInjection\Factory:
paths:
'/v2':
- App\Handler\AnotherFakeDummy
- App\Handler\Fake
- App\Handler\FakeBodyWithFileSchema
- App\Handler\FakeBodyWithQueryParams
- App\Handler\FakeCreateXmlItem
- App\Handler\FakeInlineAdditionalProperties
- App\Handler\FakeJsonFormData
- App\Handler\FakeOuterBoolean
- App\Handler\FakeOuterComposite
- App\Handler\FakeOuterNumber
- App\Handler\FakeOuterString
- App\Handler\FakeTestQueryParamters
- App\Handler\FakePetIdUploadImageWithRequiredFile
- App\Handler\FakeClassnameTest
- App\Handler\Pet
- App\Handler\PetFindByStatus
- App\Handler\PetFindByTags
Expand Down Expand Up @@ -43,20 +29,6 @@ Articus\PathHandler\RouteInjection\Factory:
# invokables:

Zend\ServiceManager\AbstractFactory\ConfigAbstractFactory:
App\Handler\AnotherFakeDummy: []
App\Handler\Fake: []
App\Handler\FakeBodyWithFileSchema: []
App\Handler\FakeBodyWithQueryParams: []
App\Handler\FakeCreateXmlItem: []
App\Handler\FakeInlineAdditionalProperties: []
App\Handler\FakeJsonFormData: []
App\Handler\FakeOuterBoolean: []
App\Handler\FakeOuterComposite: []
App\Handler\FakeOuterNumber: []
App\Handler\FakeOuterString: []
App\Handler\FakeTestQueryParamters: []
App\Handler\FakePetIdUploadImageWithRequiredFile: []
App\Handler\FakeClassnameTest: []
App\Handler\Pet: []
App\Handler\PetFindByStatus: []
App\Handler\PetFindByTags: []
Expand Down
2 changes: 1 addition & 1 deletion samples/server/petstore/php-ze-ph/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.0.0",
"type": "project",
"require": {
"php": "^7.1",
"php": "^7.2",
"ext-yaml": "^2.0",
"zendframework/zend-expressive": "^3.2",
"zendframework/zend-diactoros": "^2.1",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading