diff --git a/.travis.yml b/.travis.yml index d8493d013f5bef9f5872f466ecc47e596bfc8e8c..70b7f54a160591b909747d59a5c7d350b8152451 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,7 +85,7 @@ before_install: #- sudo apt-get update #- sudo apt-get install dart # switch to php7 - - phpenv global 7.1 + - phpenv global 7.3 - php -v # install perl module #- cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/README.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/README.mustache index 99317cce997c51515bbc2b0a70bf8ebbc286f698..d96d2c46cb4e7cd9768725f21aec8c39f090df38 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/README.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/README.mustache @@ -13,13 +13,13 @@ This server has been generated with [Nyholm PSR-7](https://github.com/Nyholm/psr This server has been generated with [Guzzle PSR-7](https://github.com/guzzle/psr7) implementation and [Guzzle HTTP Factory](https://github.com/http-interop/http-factory-guzzle). {{/isGuzzlePsr7}} {{#isZendDiactoros}} -This server has been generated with [Zend Diactoros](https://github.com/zendframework/zend-diactoros). +This server has been generated with [Laminas (Zend) PSR-7 implementation](https://github.com/laminas/laminas-diactoros). {{/isZendDiactoros}} ## Requirements * Web server with URL rewriting -* PHP 7.1 or newer +* PHP 7.2 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. diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/SlimRouter.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/SlimRouter.mustache index 7b077c8dd766e408d41432ca069b6642bd59074c..68433fc3402e315e63ffcbc1477af24d632ad17f 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/SlimRouter.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/SlimRouter.mustache @@ -1,36 +1,12 @@ <?php -/** - * SlimRouter - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{invokerPackage}}; use Slim\Factory\AppFactory; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/abstract_authenticator.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/abstract_authenticator.mustache index 40e9aee27802ea0665d44eb4146bb5b3706a0b61..82fd8f648eacffd8089f20a2dede3d2ca3ad1ad4 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/abstract_authenticator.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/abstract_authenticator.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{abstractNamePrefix}}Authenticator{{abstractNameSuffix}} - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{authPackage}}; use Psr\Container\ContainerInterface; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/api.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/api.mustache index ff90a276a00899c9faae386093430fae1050a84e..f2a4a686f53ae568f9085521e72352969a25f8f8 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/api.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/api.mustache @@ -1,31 +1,6 @@ <?php -/** - * {{classname}} - * - * PHP version 7.1 - * - * @package {{apiPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/** - {{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache index eabddfa16cd57208886e0faeb2b7714f12d393d8..fb17fbe2f67e2b429b1d540de3f5be368f88315f 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/api_test.mustache @@ -1,37 +1,12 @@ <?php -{{#operations}}/** - * {{userClassname}}Test - * - * PHP version 7.1 - * - * @package {{apiPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/** - {{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Please update the test case below to test the endpoint. - */ + */{{#operations}} namespace {{apiPackage}}; use PHPUnit\Framework\TestCase; @@ -52,28 +27,28 @@ class {{userClassname}}Test extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } {{#operation}} diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/composer.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/composer.mustache index 10b4ec4a10ccc3215a4dc67bdf46222768f834f8..ad746666cb206b26c5782eb86a241ae498e12edf 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/composer.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/composer.mustache @@ -8,27 +8,27 @@ } ], "require": { - "php": "^7.1", - "slim/slim": "^4.0", + "php": "^7.2", + "slim/slim": "^4.5.0", "dyorg/slim-token-authentication": "dev-slim4", {{#isSlimPsr7}} - "slim/psr7": "^0.4.0" + "slim/psr7": "^1.1.0" {{/isSlimPsr7}} {{#isNyholmPsr7}} - "nyholm/psr7": "^1.1.0", - "nyholm/psr7-server": "^0.3.0" + "nyholm/psr7": "^1.3.0", + "nyholm/psr7-server": "^0.4.1" {{/isNyholmPsr7}} {{#isGuzzlePsr7}} "guzzlehttp/psr7": "^1.6.1", "http-interop/http-factory-guzzle": "^1.0.0" {{/isGuzzlePsr7}} {{#isZendDiactoros}} - "zendframework/zend-diactoros": "^2.1.3" + "laminas/laminas-diactoros": "^2.3.0" {{/isZendDiactoros}} }, "require-dev": { - "phpunit/phpunit": "^6.0 || ^7.0", - "overtrue/phplint": "^1.0", + "phpunit/phpunit": "^8.0 || ^9.0", + "overtrue/phplint": "^2.0.2", "squizlabs/php_codesniffer": "^3.5" }, "autoload": { @@ -46,8 +46,6 @@ ], "test-apis": "phpunit --testsuite Apis", "test-models": "phpunit --testsuite Models", - "test-mock": "phpunit --testsuite Mock", - "test-utils": "phpunit --testsuite Utils", "phpcs": "phpcs", "phplint": "phplint ./ --exclude=vendor" } diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/gitignore b/modules/openapi-generator/src/main/resources/php-slim4-server/gitignore index 3203d7d7814ea9b7ce53e3cb08abf72c405027a2..2424ad0dc928caa653b27c88cdb02027a6a4e3c9 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/gitignore +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/gitignore @@ -12,6 +12,7 @@ composer.lock # Do not commit local PHPUnit config /phpunit.xml +/.phpunit.result.cache # Do not commit local PHP_CodeSniffer config /phpcs.xml \ No newline at end of file diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/index.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/index.mustache index cb98beb8f30c418c05af933682e3dd18585cc31f..01c9049226d9b1fcb7aa59edd8859130141469fa 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/index.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/index.mustache @@ -1,15 +1,11 @@ <?php -{{#apiInfo}}/** - * {{appName}} - * - * PHP version 7.1 - * - * @package {{apiPackage}} - * @author OpenAPI Generator team - * @version {{appVersion}} - * @link https://github.com/openapitools/openapi-generator - */ +{{>licenseInfo}} + +/** + * NOTE: This class is auto generated by the openapi generator program. + * https://github.com/openapitools/openapi-generator + */{{#apiInfo}} require_once __DIR__ . '/vendor/autoload.php'; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/json_body_parser_middleware.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/json_body_parser_middleware.mustache index 55ad7b637fd0491458e7e683b1dfaa483739fad9..509ec7247c91ed1c5eb0c28cd9e17cbb20c71e6d 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/json_body_parser_middleware.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/json_body_parser_middleware.mustache @@ -1,36 +1,12 @@ <?php -/** - * JsonBodyParserMiddleware - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{invokerPackage}}\Middleware; use Psr\Http\Message\ResponseInterface; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/licenseInfo.mustache new file mode 100644 index 0000000000000000000000000000000000000000..cf26381b5f5bed6dc46de40b209515b126093119 --- /dev/null +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/licenseInfo.mustache @@ -0,0 +1,23 @@ +/** + {{#appName}} + * {{{appName}}} + {{/appName}} + * PHP version 7.2 + * + * @package {{invokerPackage}} + * @author OpenAPI Generator team + * @link https://github.com/openapitools/openapi-generator + */ + +/** + {{#appDescription}} + * {{{appDescription}}} + {{/appDescription}} + {{#version}} + * The version of the OpenAPI document: {{{version}}} + {{/version}} + {{#infoEmail}} + * Contact: {{{infoEmail}}} + {{/infoEmail}} + * Generated by: https://github.com/openapitools/openapi-generator.git + */ \ No newline at end of file diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model.mustache index 67112c8522705663f8deccb39dd5c6248d8359c7..e9ec40e4b6e0d2c38ee0b6ae5eaa66f6797026d3 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model.mustache @@ -1,19 +1,11 @@ <?php -{{#models}}{{#model}}/** - * {{classname}} - * - * PHP version 7.1 - * - * @package {{modelPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator - */ + */{{#models}}{{#model}} namespace {{modelPackage}}; use {{interfacesPackage}}\{{interfaceNamePrefix}}Model{{interfaceNameSuffix}}; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model_interface.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model_interface.mustache index eb440ee5598bc6b76bbdde5cbc1968cd1b40ebbf..07b75f7d5588c567ea51f96a77a683fe701b61ba 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model_interface.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model_interface.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{interfaceNamePrefix}}Model{{interfaceNameSuffix}} - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{interfacesPackage}}; /** diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache index 1b762f228fd9f4acbe80fbc29296ea0d00012b5b..7aa842baef3dfc95617c86547b1e141afcd68d8c 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model_test.mustache @@ -1,39 +1,13 @@ <?php -{{#models}} -{{#model}} -/** - * {{classname}}Test - * - * PHP version 7.1 - * - * @package {{modelPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/** - {{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Please update the test case below to test the model. - */ + */{{#models}} +{{#model}} namespace {{modelPackage}}; use PHPUnit\Framework\TestCase; @@ -54,28 +28,28 @@ class {{classname}}Test extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait.mustache index 7f068fa1c77f3fee8cc8398cf5a752c5ae4de896..2c29d3ae820054f1306ca4ead1e7300b818943be 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{traitNamePrefix}}ModelUtils{{traitNameSuffix}} - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{utilsPackage}}; use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}}; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait_test.mustache index f3d365eba67e1e704af03e4f3c71edaf6210e7ed..123d9cf648b94225c99d305f143eafafdde16407 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/model_utils_trait_test.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{traitNamePrefix}}ModelUtils{{traitNameSuffix}}Test - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{utilsPackage}}; use {{utilsPackage}}\{{traitNamePrefix}}ModelUtils{{traitNameSuffix}} as ModelUtils; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker.mustache index 5cb7ec947f4c638538e0566bf958c2789e4be35b..a432434d924b78523cba9bb39a943eac266c7d33 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker.mustache @@ -1,36 +1,12 @@ <?php -/** - * OpenApiDataMocker - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{mockPackage}}; use {{mockPackage}}\{{interfaceNamePrefix}}OpenApiDataMocker{{interfaceNameSuffix}} as IMocker; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_interface.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_interface.mustache index eaa28ba2b4289c8660d3013ddd93dcf269771cd2..72920c7681219e20db0eb46c9bec58227af807c9 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_interface.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_interface.mustache @@ -1,37 +1,12 @@ <?php -/** - * {{interfaceNamePrefix}}OpenApiDataMocker{{interfaceNameSuffix}} - * @ref https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{mockPackage}}; use InvalidArgumentException; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware.mustache index c7c6192f76850066a1d50ad460f5b18992a84e36..d710ec6c24eae7c1249bb5c35c1a182eaed231e4 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware.mustache @@ -1,36 +1,12 @@ <?php -/** - * OpenApiDataMockerMiddleware - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{mockPackage}}; use Slim\Factory\AppFactory; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware_test.mustache index 2ea22728930acb9097918afdecdb94cddcc8eb92..b341a98ed4c5859b31a2e2b0bc8b7bc4417d8a31 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_middleware_test.mustache @@ -1,36 +1,12 @@ <?php -/** - * OpenApiDataMockerMiddlewareTest - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#invokerPackage}} - * {{{invokerPackage}}} - * - {{/invokerPackage}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{mockPackage}}; use {{mockPackage}}\OpenApiDataMockerMiddleware; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_test.mustache index e02fa3ed3c9466d3ebbde891a66b58131028c217..51e50bc16f237da27873e391ed1c15192bf51fb4 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/openapi_data_mocker_test.mustache @@ -1,36 +1,12 @@ <?php -/** - * OpenApiDataMockerTest - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{mockPackage}}; use {{mockPackage}}\OpenApiDataMocker; diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/phpunit.xml.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/phpunit.xml.mustache index 82f864390833d89d22ca083b1507a6124ed23947..b8852944a12d175b7df124c677446e12e92faf9a 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/phpunit.xml.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/phpunit.xml.mustache @@ -17,19 +17,11 @@ <testsuite name="Models"> <directory>{{modelTestPath}}</directory> </testsuite> - <testsuite name="Mock"> - <directory>{{mockTestPath}}</directory> - </testsuite> - <testsuite name="Utils"> - <directory>{{utilsTestPath}}</directory> - </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <directory suffix=".php">{{apiSrcPath}}</directory> <directory suffix=".php">{{modelSrcPath}}</directory> - <directory suffix=".php">{{mockSrcPath}}</directory> - <directory suffix=".php">{{utilsSrcPath}}</directory> </whitelist> </filter> <php> diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait.mustache index 6d5d15feff637ee4f7c530fc643fb8b15f5fb678..f303bd7cc95be8b41d5a3d28852dc81f69c38a1e 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{traitNamePrefix}}StringUtils{{traitNameSuffix}} - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{utilsPackage}}; /** diff --git a/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait_test.mustache b/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait_test.mustache index 9698d6bcf6c9cfcb9195b771b34fe15842393c27..d54c6bbee3891a2edc0afca782895618b88d78a8 100644 --- a/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait_test.mustache +++ b/modules/openapi-generator/src/main/resources/php-slim4-server/string_utils_trait_test.mustache @@ -1,36 +1,12 @@ <?php -/** - * {{traitNamePrefix}}StringUtils{{traitNameSuffix}}Test - * - * PHP version 7.1 - * - * @package {{invokerPackage}} - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/**{{#apiInfo}}{{#appName}} - * {{{appName}}} - * - {{/appName}} - {{#appDescription}} - * {{{appDescription}}} - {{/appDescription}} - {{#version}} - * The version of the OpenAPI document: {{{version}}} - {{/version}} - {{#infoEmail}} - * Contact: {{{infoEmail}}} - {{/infoEmail}} - * Generated by: https://github.com/openapitools/openapi-generator.git - */ +{{>licenseInfo}} /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator * Do not edit the class manually. - */ + */{{#apiInfo}} namespace {{utilsPackage}}; use {{utilsPackage}}\{{traitNamePrefix}}StringUtils{{traitNameSuffix}} as StringUtils; diff --git a/samples/server/petstore/php-slim4/.gitignore b/samples/server/petstore/php-slim4/.gitignore index 3203d7d7814ea9b7ce53e3cb08abf72c405027a2..2424ad0dc928caa653b27c88cdb02027a6a4e3c9 100644 --- a/samples/server/petstore/php-slim4/.gitignore +++ b/samples/server/petstore/php-slim4/.gitignore @@ -12,6 +12,7 @@ composer.lock # Do not commit local PHPUnit config /phpunit.xml +/.phpunit.result.cache # Do not commit local PHP_CodeSniffer config /phpcs.xml \ No newline at end of file diff --git a/samples/server/petstore/php-slim4/.openapi-generator/FILES b/samples/server/petstore/php-slim4/.openapi-generator/FILES index 08d44362bcff51376731a0679d2bbe9506b42c13..ba22c031220d0082b0ff22a50e03338529025031 100644 --- a/samples/server/petstore/php-slim4/.openapi-generator/FILES +++ b/samples/server/petstore/php-slim4/.openapi-generator/FILES @@ -81,61 +81,7 @@ lib/Utils/ModelUtilsTrait.php lib/Utils/StringUtilsTrait.php phpcs.xml.dist phpunit.xml.dist -test/Api/AnotherFakeApiTest.php -test/Api/FakeApiTest.php -test/Api/FakeClassnameTags123ApiTest.php -test/Api/PetApiTest.php -test/Api/StoreApiTest.php -test/Api/UserApiTest.php test/Mock/OpenApiDataMockerMiddlewareTest.php test/Mock/OpenApiDataMockerTest.php -test/Model/AdditionalPropertiesAnyTypeTest.php -test/Model/AdditionalPropertiesArrayTest.php -test/Model/AdditionalPropertiesBooleanTest.php -test/Model/AdditionalPropertiesClassTest.php -test/Model/AdditionalPropertiesIntegerTest.php -test/Model/AdditionalPropertiesNumberTest.php -test/Model/AdditionalPropertiesObjectTest.php -test/Model/AdditionalPropertiesStringTest.php -test/Model/AnimalTest.php -test/Model/ApiResponseTest.php -test/Model/ArrayOfArrayOfNumberOnlyTest.php -test/Model/ArrayOfNumberOnlyTest.php -test/Model/ArrayTestTest.php -test/Model/BigCatAllOfTest.php -test/Model/BigCatTest.php -test/Model/CapitalizationTest.php -test/Model/CatAllOfTest.php -test/Model/CatTest.php -test/Model/CategoryTest.php -test/Model/ClassModelTest.php -test/Model/ClientTest.php -test/Model/DogAllOfTest.php -test/Model/DogTest.php -test/Model/EnumArraysTest.php -test/Model/EnumClassTest.php -test/Model/EnumTestTest.php -test/Model/FileSchemaTestClassTest.php -test/Model/FileTest.php -test/Model/FormatTestTest.php -test/Model/HasOnlyReadOnlyTest.php -test/Model/MapTestTest.php -test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php -test/Model/Model200ResponseTest.php -test/Model/ModelListTest.php -test/Model/ModelReturnTest.php -test/Model/NameTest.php -test/Model/NumberOnlyTest.php -test/Model/OrderTest.php -test/Model/OuterCompositeTest.php -test/Model/OuterEnumTest.php -test/Model/PetTest.php -test/Model/ReadOnlyFirstTest.php -test/Model/SpecialModelNameTest.php -test/Model/TagTest.php -test/Model/TypeHolderDefaultTest.php -test/Model/TypeHolderExampleTest.php -test/Model/UserTest.php -test/Model/XmlItemTest.php test/Utils/ModelUtilsTraitTest.php test/Utils/StringUtilsTraitTest.php diff --git a/samples/server/petstore/php-slim4/README.md b/samples/server/petstore/php-slim4/README.md index 325111aa6243045c29a93f3b9071f2313f15318a..7c550d2542481c0378de22af32755690b3a205f5 100644 --- a/samples/server/petstore/php-slim4/README.md +++ b/samples/server/petstore/php-slim4/README.md @@ -8,7 +8,7 @@ This server has been generated with [Slim PSR-7](https://github.com/slimphp/Slim ## Requirements * Web server with URL rewriting -* PHP 7.1 or newer +* PHP 7.2 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. diff --git a/samples/server/petstore/php-slim4/composer.json b/samples/server/petstore/php-slim4/composer.json index c1afb518ef1af640b2bfec1d3a3c1972668f6161..0bc4d34e177fe96ca49f7a3d1e2118cfb70c15b0 100644 --- a/samples/server/petstore/php-slim4/composer.json +++ b/samples/server/petstore/php-slim4/composer.json @@ -8,14 +8,14 @@ } ], "require": { - "php": "^7.1", - "slim/slim": "^4.0", + "php": "^7.2", + "slim/slim": "^4.5.0", "dyorg/slim-token-authentication": "dev-slim4", - "slim/psr7": "^0.4.0" + "slim/psr7": "^1.1.0" }, "require-dev": { - "phpunit/phpunit": "^6.0 || ^7.0", - "overtrue/phplint": "^1.0", + "phpunit/phpunit": "^8.0 || ^9.0", + "overtrue/phplint": "^2.0.2", "squizlabs/php_codesniffer": "^3.5" }, "autoload": { @@ -33,8 +33,6 @@ ], "test-apis": "phpunit --testsuite Apis", "test-models": "phpunit --testsuite Models", - "test-mock": "phpunit --testsuite Mock", - "test-utils": "phpunit --testsuite Utils", "phpcs": "phpcs", "phplint": "phplint ./ --exclude=vendor" } diff --git a/samples/server/petstore/php-slim4/index.php b/samples/server/petstore/php-slim4/index.php index 8baabc9b139806c33c36810dac4540580c84e692..ffeb1b88200c8b96521daf3d54964b771407716f 100644 --- a/samples/server/petstore/php-slim4/index.php +++ b/samples/server/petstore/php-slim4/index.php @@ -2,15 +2,24 @@ /** * OpenAPI Petstore + * PHP version 7.2 * - * PHP version 7.1 - * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team - * @version 1.0.0 * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + +/** + * NOTE: This class is auto generated by the openapi generator program. + * https://github.com/openapitools/openapi-generator + */ + require_once __DIR__ . '/vendor/autoload.php'; use OpenAPIServer\SlimRouter; diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractAnotherFakeApi.php b/samples/server/petstore/php-slim4/lib/Api/AbstractAnotherFakeApi.php index 14cf312d692f4c02f60a3f9a3ff10d735fb70fcf..64347eabd0b07c9a1804a4433c81f94e99737828 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractAnotherFakeApi.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractAnotherFakeApi.php @@ -1,18 +1,15 @@ <?php /** - * AbstractAnotherFakeApi - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractFakeApi.php b/samples/server/petstore/php-slim4/lib/Api/AbstractFakeApi.php index a3887269f1fd9ec9e2d8b793d40b9e28c6b712fe..b07703a954f3d79c4425389ef271a54d4608e5fb 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractFakeApi.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractFakeApi.php @@ -1,18 +1,15 @@ <?php /** - * AbstractFakeApi - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractFakeClassnameTags123Api.php b/samples/server/petstore/php-slim4/lib/Api/AbstractFakeClassnameTags123Api.php index dbbfe05e0be0fb6fcb960c6ed4e5bd78aab2c281..f49c392aa92b6c9b6621539e5c00fa6216d0b560 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractFakeClassnameTags123Api.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractFakeClassnameTags123Api.php @@ -1,18 +1,15 @@ <?php /** - * AbstractFakeClassnameTags123Api - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractPetApi.php b/samples/server/petstore/php-slim4/lib/Api/AbstractPetApi.php index f1ec2d3cafc07b277d4e3bfb0382cae32b3b2b21..d835b2b0ab3d8ce4fd2fd61dd6850945af53e9fc 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractPetApi.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractPetApi.php @@ -1,18 +1,15 @@ <?php /** - * AbstractPetApi - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractStoreApi.php b/samples/server/petstore/php-slim4/lib/Api/AbstractStoreApi.php index b1cfa80969e261cee75f5ebcae389015a9e56885..fbcf6ad53b932868bbb52d96bcd329d172daf1b5 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractStoreApi.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractStoreApi.php @@ -1,18 +1,15 @@ <?php /** - * AbstractStoreApi - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Api/AbstractUserApi.php b/samples/server/petstore/php-slim4/lib/Api/AbstractUserApi.php index d2beb8573dfaba120e28d6ed562b4b8e65cc0619..ae779dbeda0cb042798caddf69c1b825ac3f7c47 100644 --- a/samples/server/petstore/php-slim4/lib/Api/AbstractUserApi.php +++ b/samples/server/petstore/php-slim4/lib/Api/AbstractUserApi.php @@ -1,18 +1,15 @@ <?php /** - * AbstractUserApi - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Auth/AbstractAuthenticator.php b/samples/server/petstore/php-slim4/lib/Auth/AbstractAuthenticator.php index b45f136f425377a4c61934ed11e1ce7fe4667735..e9bdacd3f961f4645063f0859c555247aeeaf93e 100644 --- a/samples/server/petstore/php-slim4/lib/Auth/AbstractAuthenticator.php +++ b/samples/server/petstore/php-slim4/lib/Auth/AbstractAuthenticator.php @@ -1,9 +1,8 @@ <?php /** - * AbstractAuthenticator - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Interfaces/ModelInterface.php b/samples/server/petstore/php-slim4/lib/Interfaces/ModelInterface.php index 480eae3d38da10764f3f9e16dbd1e71ca0de6ae4..b61edc27a1ea3358932c91698ed924d2e4d6d7d0 100644 --- a/samples/server/petstore/php-slim4/lib/Interfaces/ModelInterface.php +++ b/samples/server/petstore/php-slim4/lib/Interfaces/ModelInterface.php @@ -1,9 +1,8 @@ <?php /** - * ModelInterface - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Middleware/JsonBodyParserMiddleware.php b/samples/server/petstore/php-slim4/lib/Middleware/JsonBodyParserMiddleware.php index 6d03bb9383d699a19a18ce56c67c193213e538d5..b90f3135f6c1e4d92b16a06a5e9a309733e8f65a 100644 --- a/samples/server/petstore/php-slim4/lib/Middleware/JsonBodyParserMiddleware.php +++ b/samples/server/petstore/php-slim4/lib/Middleware/JsonBodyParserMiddleware.php @@ -1,9 +1,8 @@ <?php /** - * JsonBodyParserMiddleware - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMocker.php b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMocker.php index 662cfcca9d5b2f4c5af4eabc68e8010df0234426..9f80025481bdbc636751ac6750732bea7f25e558 100644 --- a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMocker.php +++ b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMocker.php @@ -1,9 +1,8 @@ <?php /** - * OpenApiDataMocker - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerInterface.php b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerInterface.php index 0a2852aaaf98689d5adf17e184fa97598d8addad..84a9f253840431b3b71f5fb2c3cd789a7c1113fd 100644 --- a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerInterface.php +++ b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerInterface.php @@ -1,10 +1,8 @@ <?php /** - * OpenApiDataMockerInterface - * @ref https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -12,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerMiddleware.php b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerMiddleware.php index 60ba929a403a813cb42be58b7f5fbe5876e04131..88b6785fb09a0f9a4572bc998b2ac0024870dae3 100644 --- a/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerMiddleware.php +++ b/samples/server/petstore/php-slim4/lib/Mock/OpenApiDataMockerMiddleware.php @@ -1,9 +1,8 @@ <?php /** - * OpenApiDataMockerMiddleware - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesAnyType.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesAnyType.php index d5bfc975b93396d771a237819fbff0fa9a115c0e..2a21dc42be0390ae3712b7c3be44885b78739b81 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesAnyType.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesAnyType.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesAnyType - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesArray.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesArray.php index eec1753f0dfecb9f824d199ef0edc4bb35907d74..4b4c549f562599c762f56f5eb457aadd6ce52da7 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesArray.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesArray.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesArray - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesBoolean.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesBoolean.php index f5503fa41bad99d9cf09ec0ddd1954f6f3adc810..4facea384ba3916b0705a88dbf07e878b29bfb81 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesBoolean.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesBoolean.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesBoolean - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesClass.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesClass.php index 7fb8f08834e92b199fe6e905d106dbfadb2fa648..292991082fc58b0152809fbc876deb91ce35bde6 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesClass.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesClass.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesClass - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesInteger.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesInteger.php index 116ed20c56c57f000c5569d26ca9c42efee1bcd3..2b7ebe98651c9d7d90f684884624ff2e58f0a36c 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesInteger.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesInteger.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesInteger - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesNumber.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesNumber.php index e234140479d5c5d75271b12039d5c173532a79f5..9b4a74504897de55990905bfdfa748060e17fac1 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesNumber.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesNumber.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesNumber - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesObject.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesObject.php index 55ea5bf762c93e9590bf26c0894215b2410166cb..dd4d6a76be09ab887a9fa1c71d83c17a38891a60 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesObject.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesObject.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesObject - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesString.php b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesString.php index 56471c9bc8cebd727cd46d8bb328e2ce7a57c083..b3f0bc29857bb3e710cae411a69a6c5e00058f58 100644 --- a/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesString.php +++ b/samples/server/petstore/php-slim4/lib/Model/AdditionalPropertiesString.php @@ -1,15 +1,20 @@ <?php /** - * AdditionalPropertiesString - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Animal.php b/samples/server/petstore/php-slim4/lib/Model/Animal.php index b0f3c23849861bfec64c024fc11bd01adef25a2a..b7b7a60d57b75d3ea3b18cdb9fa3c873a1b0f409 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Animal.php +++ b/samples/server/petstore/php-slim4/lib/Model/Animal.php @@ -1,15 +1,20 @@ <?php /** - * Animal - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ApiResponse.php b/samples/server/petstore/php-slim4/lib/Model/ApiResponse.php index eb00821d0605d77f3aa4bbb94eb60c2087f7eab6..819d96f9d89c29afe961f05e8ce2dabb12985516 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ApiResponse.php +++ b/samples/server/petstore/php-slim4/lib/Model/ApiResponse.php @@ -1,15 +1,20 @@ <?php /** - * ApiResponse - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ArrayOfArrayOfNumberOnly.php b/samples/server/petstore/php-slim4/lib/Model/ArrayOfArrayOfNumberOnly.php index ea7a72a4f1db4337e3312e316b9011007941bdec..6239e428fb1bbc2a224345c708bf6050e7f1ff5e 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ArrayOfArrayOfNumberOnly.php +++ b/samples/server/petstore/php-slim4/lib/Model/ArrayOfArrayOfNumberOnly.php @@ -1,15 +1,20 @@ <?php /** - * ArrayOfArrayOfNumberOnly - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ArrayOfNumberOnly.php b/samples/server/petstore/php-slim4/lib/Model/ArrayOfNumberOnly.php index 25b4c97c2a826c9efa023c1ce27ff61bbee646e9..93944ffc65bb1982c853f7ab0e1d96215584b51c 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ArrayOfNumberOnly.php +++ b/samples/server/petstore/php-slim4/lib/Model/ArrayOfNumberOnly.php @@ -1,15 +1,20 @@ <?php /** - * ArrayOfNumberOnly - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ArrayTest.php b/samples/server/petstore/php-slim4/lib/Model/ArrayTest.php index 66aa7e053a41c11e55f03b4bb2e636285b976b16..f454b4fac435695be7946ef5e818c696ca11482e 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ArrayTest.php +++ b/samples/server/petstore/php-slim4/lib/Model/ArrayTest.php @@ -1,15 +1,20 @@ <?php /** - * ArrayTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/BigCat.php b/samples/server/petstore/php-slim4/lib/Model/BigCat.php index 4b795da2391361fc29526a0e3316b677ce567453..52265b58346b57aaea8023cec34375646bf54dc5 100644 --- a/samples/server/petstore/php-slim4/lib/Model/BigCat.php +++ b/samples/server/petstore/php-slim4/lib/Model/BigCat.php @@ -1,15 +1,20 @@ <?php /** - * BigCat - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php b/samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php index 10433c34b8e4725e2283ad6d542c185b2bccadb7..f800e61a4b406825aefaa4b4bfae2dd9c1671f6a 100644 --- a/samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php +++ b/samples/server/petstore/php-slim4/lib/Model/BigCatAllOf.php @@ -1,15 +1,20 @@ <?php /** - * BigCatAllOf - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Capitalization.php b/samples/server/petstore/php-slim4/lib/Model/Capitalization.php index b596ec922704e50ce32282f333d90b48d7446f2c..bc646fc200ea9c00527adfde010995584f4bbc35 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Capitalization.php +++ b/samples/server/petstore/php-slim4/lib/Model/Capitalization.php @@ -1,15 +1,20 @@ <?php /** - * Capitalization - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Cat.php b/samples/server/petstore/php-slim4/lib/Model/Cat.php index 1a6471a231606c71370bdfdbdfafd0b62f45f871..23410af56cbbab4799e6acfe9df244b1c0557c5f 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Cat.php +++ b/samples/server/petstore/php-slim4/lib/Model/Cat.php @@ -1,15 +1,20 @@ <?php /** - * Cat - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/CatAllOf.php b/samples/server/petstore/php-slim4/lib/Model/CatAllOf.php index 8caa1dc6e5791fd8daca70540247ed9052e9e0b4..ef14ab81429a39426115a7db1ef162040961a153 100644 --- a/samples/server/petstore/php-slim4/lib/Model/CatAllOf.php +++ b/samples/server/petstore/php-slim4/lib/Model/CatAllOf.php @@ -1,15 +1,20 @@ <?php /** - * CatAllOf - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Category.php b/samples/server/petstore/php-slim4/lib/Model/Category.php index f53e2af89093497a73476000a7eda48e42fab857..8bbfa7591d0f31662cc0e7612068365f1a64a978 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Category.php +++ b/samples/server/petstore/php-slim4/lib/Model/Category.php @@ -1,15 +1,20 @@ <?php /** - * Category - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ClassModel.php b/samples/server/petstore/php-slim4/lib/Model/ClassModel.php index 3b3f5c28d940f443171f149fed783a2f195cd28c..75cfc5b4b4a8a0286d3b815ad82ba7ca9f046026 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ClassModel.php +++ b/samples/server/petstore/php-slim4/lib/Model/ClassModel.php @@ -1,15 +1,20 @@ <?php /** - * ClassModel - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Client.php b/samples/server/petstore/php-slim4/lib/Model/Client.php index 12aaff03c01b8d085c25fbb69847d6e4b0baf491..d1f4bec5065eef696f12a337afcbbf9199bdfd00 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Client.php +++ b/samples/server/petstore/php-slim4/lib/Model/Client.php @@ -1,15 +1,20 @@ <?php /** - * Client - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Dog.php b/samples/server/petstore/php-slim4/lib/Model/Dog.php index c38c1ea4a66941ef348eca8bc05efe0bb6b7ca25..913df4163fb3fa9b5a4912305fd9b4857b4f7f3f 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Dog.php +++ b/samples/server/petstore/php-slim4/lib/Model/Dog.php @@ -1,15 +1,20 @@ <?php /** - * Dog - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/DogAllOf.php b/samples/server/petstore/php-slim4/lib/Model/DogAllOf.php index cf81a5f99b4aa351b621a1b3c5f7ba0fbed01b3a..ef4f5603cfd36a1c1b702ec1b92a287740c342d5 100644 --- a/samples/server/petstore/php-slim4/lib/Model/DogAllOf.php +++ b/samples/server/petstore/php-slim4/lib/Model/DogAllOf.php @@ -1,15 +1,20 @@ <?php /** - * DogAllOf - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/EnumArrays.php b/samples/server/petstore/php-slim4/lib/Model/EnumArrays.php index aef61078eb5d71b7b29124b5eba4044228ab894c..d1979dca245d86419d963c5f259e984bed1890a2 100644 --- a/samples/server/petstore/php-slim4/lib/Model/EnumArrays.php +++ b/samples/server/petstore/php-slim4/lib/Model/EnumArrays.php @@ -1,15 +1,20 @@ <?php /** - * EnumArrays - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/EnumClass.php b/samples/server/petstore/php-slim4/lib/Model/EnumClass.php index 3ddd829b3137c92b8f76a146de83ab9c8beaaa16..3a40149f684601bfa8db697cf77167555acb1109 100644 --- a/samples/server/petstore/php-slim4/lib/Model/EnumClass.php +++ b/samples/server/petstore/php-slim4/lib/Model/EnumClass.php @@ -1,15 +1,20 @@ <?php /** - * EnumClass - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/EnumTest.php b/samples/server/petstore/php-slim4/lib/Model/EnumTest.php index e4c4ffc0ee0b7593546e848cc36d556637b3b0e4..7623d12d01966822fe7d1198a263b586f67de8e3 100644 --- a/samples/server/petstore/php-slim4/lib/Model/EnumTest.php +++ b/samples/server/petstore/php-slim4/lib/Model/EnumTest.php @@ -1,15 +1,20 @@ <?php /** - * EnumTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/File.php b/samples/server/petstore/php-slim4/lib/Model/File.php index 4237e721443f8dfa6f86a8e49dcb82e688f68b03..b99587fda0e549d6f17176b7c92285d96b640051 100644 --- a/samples/server/petstore/php-slim4/lib/Model/File.php +++ b/samples/server/petstore/php-slim4/lib/Model/File.php @@ -1,15 +1,20 @@ <?php /** - * File - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/FileSchemaTestClass.php b/samples/server/petstore/php-slim4/lib/Model/FileSchemaTestClass.php index 3ebabaa367c07026489580b998506cad646c5759..acc18f2f8f2e7efd7085e95609c3eaf94db7d952 100644 --- a/samples/server/petstore/php-slim4/lib/Model/FileSchemaTestClass.php +++ b/samples/server/petstore/php-slim4/lib/Model/FileSchemaTestClass.php @@ -1,15 +1,20 @@ <?php /** - * FileSchemaTestClass - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/FormatTest.php b/samples/server/petstore/php-slim4/lib/Model/FormatTest.php index 751f9607e8a6a8bd18cab3b6eb8b2645ca821b95..4a2490d18bf6f3e341003af16a88cb7cfa71c5b6 100644 --- a/samples/server/petstore/php-slim4/lib/Model/FormatTest.php +++ b/samples/server/petstore/php-slim4/lib/Model/FormatTest.php @@ -1,15 +1,20 @@ <?php /** - * FormatTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/HasOnlyReadOnly.php b/samples/server/petstore/php-slim4/lib/Model/HasOnlyReadOnly.php index afeb12af3dd0b5985d3e97bac0632af72e9d54fa..13eb047fdf92a440db2a7085a88bec0be266a8da 100644 --- a/samples/server/petstore/php-slim4/lib/Model/HasOnlyReadOnly.php +++ b/samples/server/petstore/php-slim4/lib/Model/HasOnlyReadOnly.php @@ -1,15 +1,20 @@ <?php /** - * HasOnlyReadOnly - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/InlineObject.php b/samples/server/petstore/php-slim4/lib/Model/InlineObject.php deleted file mode 100644 index 723616e8df49b217e8b527ae8891c85bde02c2b7..0000000000000000000000000000000000000000 --- a/samples/server/petstore/php-slim4/lib/Model/InlineObject.php +++ /dev/null @@ -1,63 +0,0 @@ -<?php - -/** - * InlineObject - * - * PHP version 7.1 - * - * @package OpenAPIServer\Model - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/** - * NOTE: This class is auto generated by the openapi generator program. - * https://github.com/openapitools/openapi-generator - */ -namespace OpenAPIServer\Model; - -use OpenAPIServer\Interfaces\ModelInterface; - -/** - * InlineObject - * - * @package OpenAPIServer\Model - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ -class InlineObject implements ModelInterface -{ - private const MODEL_SCHEMA = <<<'SCHEMA' -{ - "type" : "object", - "properties" : { - "name" : { - "type" : "string", - "description" : "Updated name of the pet" - }, - "status" : { - "type" : "string", - "description" : "Updated status of the pet" - } - } -} -SCHEMA; - - /** @var string $name Updated name of the pet*/ - private $name; - - /** @var string $status Updated status of the pet*/ - private $status; - - /** - * Returns model schema. - * - * @param bool $assoc When TRUE, returned objects will be converted into associative arrays. Default FALSE. - * - * @return array - */ - public static function getOpenApiSchema($assoc = false) - { - return json_decode(static::MODEL_SCHEMA, $assoc); - } -} diff --git a/samples/server/petstore/php-slim4/lib/Model/InlineObject1.php b/samples/server/petstore/php-slim4/lib/Model/InlineObject1.php deleted file mode 100644 index 87cb07a3865c7ba39d40878f2e2b88cf46e8065a..0000000000000000000000000000000000000000 --- a/samples/server/petstore/php-slim4/lib/Model/InlineObject1.php +++ /dev/null @@ -1,64 +0,0 @@ -<?php - -/** - * InlineObject1 - * - * PHP version 7.1 - * - * @package OpenAPIServer\Model - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ - -/** - * NOTE: This class is auto generated by the openapi generator program. - * https://github.com/openapitools/openapi-generator - */ -namespace OpenAPIServer\Model; - -use OpenAPIServer\Interfaces\ModelInterface; - -/** - * InlineObject1 - * - * @package OpenAPIServer\Model - * @author OpenAPI Generator team - * @link https://github.com/openapitools/openapi-generator - */ -class InlineObject1 implements ModelInterface -{ - private const MODEL_SCHEMA = <<<'SCHEMA' -{ - "type" : "object", - "properties" : { - "additionalMetadata" : { - "type" : "string", - "description" : "Additional data to pass to server" - }, - "file" : { - "type" : "string", - "description" : "file to upload", - "format" : "binary" - } - } -} -SCHEMA; - - /** @var string $additionalMetadata Additional data to pass to server*/ - private $additionalMetadata; - - /** @var \SplFileObject $file file to upload*/ - private $file; - - /** - * Returns model schema. - * - * @param bool $assoc When TRUE, returned objects will be converted into associative arrays. Default FALSE. - * - * @return array - */ - public static function getOpenApiSchema($assoc = false) - { - return json_decode(static::MODEL_SCHEMA, $assoc); - } -} diff --git a/samples/server/petstore/php-slim4/lib/Model/MapTest.php b/samples/server/petstore/php-slim4/lib/Model/MapTest.php index 2cc9edf70188cc5e35de15c2127af26908a3adc6..6826482ca96643227ad54b63300e3adb7ec390ac 100644 --- a/samples/server/petstore/php-slim4/lib/Model/MapTest.php +++ b/samples/server/petstore/php-slim4/lib/Model/MapTest.php @@ -1,15 +1,20 @@ <?php /** - * MapTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php b/samples/server/petstore/php-slim4/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php index 5d55499c7b0fff290c7af222a98c8856aa0675b3..ef9875250155b8a403bf177ed2362b398d769dd6 100644 --- a/samples/server/petstore/php-slim4/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php +++ b/samples/server/petstore/php-slim4/lib/Model/MixedPropertiesAndAdditionalPropertiesClass.php @@ -1,15 +1,20 @@ <?php /** - * MixedPropertiesAndAdditionalPropertiesClass - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Model200Response.php b/samples/server/petstore/php-slim4/lib/Model/Model200Response.php index 6af1b357c73148a7766e1d1487dfd78300a8f0ab..adab164af8bab057996bd5ba0c2eb0948d8afc0e 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Model200Response.php +++ b/samples/server/petstore/php-slim4/lib/Model/Model200Response.php @@ -1,15 +1,20 @@ <?php /** - * Model200Response - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ModelList.php b/samples/server/petstore/php-slim4/lib/Model/ModelList.php index 48c984dad6cf51858848cba10891a323cd6f57f0..47e836fbb54eddfe2e5f9854af37bdc0aff69b38 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ModelList.php +++ b/samples/server/petstore/php-slim4/lib/Model/ModelList.php @@ -1,15 +1,20 @@ <?php /** - * ModelList - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ModelReturn.php b/samples/server/petstore/php-slim4/lib/Model/ModelReturn.php index b56717e60a811628f3e7986ac22d4f4be88e2cad..fa9bbd9080ad625225c5406da0c41c78784640ae 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ModelReturn.php +++ b/samples/server/petstore/php-slim4/lib/Model/ModelReturn.php @@ -1,15 +1,20 @@ <?php /** - * ModelReturn - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Name.php b/samples/server/petstore/php-slim4/lib/Model/Name.php index 4eca6a4b6b0fa623f3a0786a3fdc4785191e4c99..d5d78f7d2508d8293c9f0323cbaed936a871fc7c 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Name.php +++ b/samples/server/petstore/php-slim4/lib/Model/Name.php @@ -1,15 +1,20 @@ <?php /** - * Name - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/NumberOnly.php b/samples/server/petstore/php-slim4/lib/Model/NumberOnly.php index 89a47886edc4ae777b55b14647ff547e876d7a7f..a9bde99d1389556e1569a32e0f9f571e2ee2a01c 100644 --- a/samples/server/petstore/php-slim4/lib/Model/NumberOnly.php +++ b/samples/server/petstore/php-slim4/lib/Model/NumberOnly.php @@ -1,15 +1,20 @@ <?php /** - * NumberOnly - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Order.php b/samples/server/petstore/php-slim4/lib/Model/Order.php index e8227de89adae7acfc19d5297d91c204410624d0..4042756aed4ec1baf61948d61d8f3c382f8cb9dc 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Order.php +++ b/samples/server/petstore/php-slim4/lib/Model/Order.php @@ -1,15 +1,20 @@ <?php /** - * Order - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/OuterComposite.php b/samples/server/petstore/php-slim4/lib/Model/OuterComposite.php index 277df1f035f325786028b8de322ced4851a9a4f0..95316f2a366d2606581ed4371952fe50d383186c 100644 --- a/samples/server/petstore/php-slim4/lib/Model/OuterComposite.php +++ b/samples/server/petstore/php-slim4/lib/Model/OuterComposite.php @@ -1,15 +1,20 @@ <?php /** - * OuterComposite - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/OuterEnum.php b/samples/server/petstore/php-slim4/lib/Model/OuterEnum.php index ac9d21d46068756bc7d23dc5ac2ad627ecebaf74..f18335d1ec77b16ed04d038c4a4dc5d06f73dc67 100644 --- a/samples/server/petstore/php-slim4/lib/Model/OuterEnum.php +++ b/samples/server/petstore/php-slim4/lib/Model/OuterEnum.php @@ -1,15 +1,20 @@ <?php /** - * OuterEnum - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Pet.php b/samples/server/petstore/php-slim4/lib/Model/Pet.php index d81f045abe8f6399902e4d6bfa468aa2ee82b4f0..3ebe441eced5d369a6085270f4c0979a4cd91bf9 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Pet.php +++ b/samples/server/petstore/php-slim4/lib/Model/Pet.php @@ -1,15 +1,20 @@ <?php /** - * Pet - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/ReadOnlyFirst.php b/samples/server/petstore/php-slim4/lib/Model/ReadOnlyFirst.php index 5ab8ee48389cfbdae92eb65f1625f60afcb9b3ea..7969234205d7e85ba3f3b2460dbf3de831486772 100644 --- a/samples/server/petstore/php-slim4/lib/Model/ReadOnlyFirst.php +++ b/samples/server/petstore/php-slim4/lib/Model/ReadOnlyFirst.php @@ -1,15 +1,20 @@ <?php /** - * ReadOnlyFirst - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/SpecialModelName.php b/samples/server/petstore/php-slim4/lib/Model/SpecialModelName.php index e22f746884b949effaae4e0d02d4d9aa1b8ed8a8..ce4df79f24e68674ef617dc3489b4265200e541a 100644 --- a/samples/server/petstore/php-slim4/lib/Model/SpecialModelName.php +++ b/samples/server/petstore/php-slim4/lib/Model/SpecialModelName.php @@ -1,15 +1,20 @@ <?php /** - * SpecialModelName - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/Tag.php b/samples/server/petstore/php-slim4/lib/Model/Tag.php index 6a7078552ac3ee3e84e5d4ed83f5bb1ed28e92bd..97b444dfe112f616d8c18b46c424eb17a576ca28 100644 --- a/samples/server/petstore/php-slim4/lib/Model/Tag.php +++ b/samples/server/petstore/php-slim4/lib/Model/Tag.php @@ -1,15 +1,20 @@ <?php /** - * Tag - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/TypeHolderDefault.php b/samples/server/petstore/php-slim4/lib/Model/TypeHolderDefault.php index 2a4e87d43ef03b629f6644095993829db5ef2d7a..cbbd6cdb8919e33526c0c5937b7a35e2e7af0e1e 100644 --- a/samples/server/petstore/php-slim4/lib/Model/TypeHolderDefault.php +++ b/samples/server/petstore/php-slim4/lib/Model/TypeHolderDefault.php @@ -1,15 +1,20 @@ <?php /** - * TypeHolderDefault - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/TypeHolderExample.php b/samples/server/petstore/php-slim4/lib/Model/TypeHolderExample.php index 958e32607570f06fb90d661617e68ca679c43c35..5c3f067b227164621c86fe1cf26a72ff15a64070 100644 --- a/samples/server/petstore/php-slim4/lib/Model/TypeHolderExample.php +++ b/samples/server/petstore/php-slim4/lib/Model/TypeHolderExample.php @@ -1,15 +1,20 @@ <?php /** - * TypeHolderExample - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/User.php b/samples/server/petstore/php-slim4/lib/Model/User.php index ebd8f17ae35c410b3c6b63478efc185d5fca7a15..1be6c8be1586284c7a85c7eeaaef9864f0228706 100644 --- a/samples/server/petstore/php-slim4/lib/Model/User.php +++ b/samples/server/petstore/php-slim4/lib/Model/User.php @@ -1,15 +1,20 @@ <?php /** - * User - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/Model/XmlItem.php b/samples/server/petstore/php-slim4/lib/Model/XmlItem.php index a63fc642646a0d3604134dabeb9f10cb652a0b15..fe98fc703eece36995062f7fb6565157f25be757 100644 --- a/samples/server/petstore/php-slim4/lib/Model/XmlItem.php +++ b/samples/server/petstore/php-slim4/lib/Model/XmlItem.php @@ -1,15 +1,20 @@ <?php /** - * XmlItem - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ +/** + * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ + * The version of the OpenAPI document: 1.0.0 + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + /** * NOTE: This class is auto generated by the openapi generator program. * https://github.com/openapitools/openapi-generator diff --git a/samples/server/petstore/php-slim4/lib/SlimRouter.php b/samples/server/petstore/php-slim4/lib/SlimRouter.php index ea386ac1332039c61f46806bbad8b6bd4a98a74f..20168a4aed919b45eee660506682c2abdf097c44 100644 --- a/samples/server/petstore/php-slim4/lib/SlimRouter.php +++ b/samples/server/petstore/php-slim4/lib/SlimRouter.php @@ -1,9 +1,8 @@ <?php /** - * SlimRouter - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -62,7 +59,7 @@ class SlimRouter 'userClassname' => 'AnotherFakeApi', 'operationId' => 'call123TestSpecialTags', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -89,7 +86,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'createXmlItem', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -110,7 +107,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'fakeOuterBooleanSerialize', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Output boolean', 'jsonSchema' => '{ @@ -137,7 +134,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'fakeOuterCompositeSerialize', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Output composite', 'jsonSchema' => '{ @@ -164,7 +161,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'fakeOuterNumberSerialize', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Output number', 'jsonSchema' => '{ @@ -191,7 +188,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'fakeOuterStringSerialize', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Output string', 'jsonSchema' => '{ @@ -218,7 +215,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testBodyWithFileSchema', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Success', 'jsonSchema' => '{ @@ -239,7 +236,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testBodyWithQueryParams', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Success', 'jsonSchema' => '{ @@ -260,7 +257,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testClientModel', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -374,7 +371,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testInlineAdditionalProperties', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -395,7 +392,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testJsonFormData', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -416,7 +413,7 @@ class SlimRouter 'userClassname' => 'FakeApi', 'operationId' => 'testQueryParameterCollectionFormat', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'Success', 'jsonSchema' => '{ @@ -437,7 +434,7 @@ class SlimRouter 'userClassname' => 'FakeClassnameTags123Api', 'operationId' => 'testClassname', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -476,7 +473,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'addPet', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -517,7 +514,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'findPetsByStatus', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -575,7 +572,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'findPetsByTags', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -635,7 +632,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'updatePet', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -692,7 +689,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'deletePet', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -733,7 +730,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'getPetById', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -826,7 +823,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'uploadFile', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -865,7 +862,7 @@ class SlimRouter 'userClassname' => 'PetApi', 'operationId' => 'uploadFileWithRequiredFile', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -904,7 +901,7 @@ class SlimRouter 'userClassname' => 'StoreApi', 'operationId' => 'getInventory', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -947,7 +944,7 @@ class SlimRouter 'userClassname' => 'StoreApi', 'operationId' => 'placeOrder', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -1016,7 +1013,7 @@ class SlimRouter 'userClassname' => 'StoreApi', 'operationId' => 'getOrderById', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -1127,7 +1124,7 @@ class SlimRouter 'userClassname' => 'UserApi', 'operationId' => 'loginUser', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ @@ -1233,7 +1230,7 @@ class SlimRouter 'userClassname' => 'UserApi', 'operationId' => 'getUserByName', 'responses' => [ - 'default' => [ + '200' => [ 'code' => 200, 'message' => 'successful operation', 'jsonSchema' => '{ diff --git a/samples/server/petstore/php-slim4/lib/Utils/ModelUtilsTrait.php b/samples/server/petstore/php-slim4/lib/Utils/ModelUtilsTrait.php index 97bb2ae884a7394982a277be181dc5858a47187e..5eb771b948468cc7ef937a745b2e0790c4e24179 100644 --- a/samples/server/petstore/php-slim4/lib/Utils/ModelUtilsTrait.php +++ b/samples/server/petstore/php-slim4/lib/Utils/ModelUtilsTrait.php @@ -1,9 +1,8 @@ <?php /** - * ModelUtilsTrait - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/lib/Utils/StringUtilsTrait.php b/samples/server/petstore/php-slim4/lib/Utils/StringUtilsTrait.php index bd0464fa598c2982f91d801ecffb9e29966742d1..a56088aeb3d952e284d8529004d55ccef67224de 100644 --- a/samples/server/petstore/php-slim4/lib/Utils/StringUtilsTrait.php +++ b/samples/server/petstore/php-slim4/lib/Utils/StringUtilsTrait.php @@ -1,9 +1,8 @@ <?php /** - * StringUtilsTrait - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/phpunit.xml.dist b/samples/server/petstore/php-slim4/phpunit.xml.dist index d09042687960b8129d29ddd37d797ba50deee377..6af1442ee65371a1428bf884529061d3860a6ce3 100644 --- a/samples/server/petstore/php-slim4/phpunit.xml.dist +++ b/samples/server/petstore/php-slim4/phpunit.xml.dist @@ -17,19 +17,11 @@ <testsuite name="Models"> <directory>./test/Model</directory> </testsuite> - <testsuite name="Mock"> - <directory>./test/Mock</directory> - </testsuite> - <testsuite name="Utils"> - <directory>./test/Utils</directory> - </testsuite> </testsuites> <filter> <whitelist processUncoveredFilesFromWhitelist="true"> <directory suffix=".php">./lib/Api</directory> <directory suffix=".php">./lib/Model</directory> - <directory suffix=".php">./lib/Mock</directory> - <directory suffix=".php">./lib/Utils</directory> </whitelist> </filter> <php> diff --git a/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php b/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php index 25bca78aa0fcb40f74a678d03f906603ffafff9e..14b6cf86da4df9b5a7e8e8455d88b1f88dab2ad4 100644 --- a/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/AnotherFakeApiTest.php @@ -1,18 +1,15 @@ <?php /** - * AnotherFakeApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AnotherFakeApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php b/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php index 80ff4f4c82f1f1e9bce9432063143e644dcd9be0..edd9084c902438edc83391e527c9cb090202d92d 100644 --- a/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/FakeApiTest.php @@ -1,18 +1,15 @@ <?php /** - * FakeApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class FakeApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php b/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php index c41ab163d314cb16d6e80ead04c7fd37ae4eccd6..b65dbc6fa80177b9b909582f512ca142b60c1bdc 100644 --- a/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/FakeClassnameTags123ApiTest.php @@ -1,18 +1,15 @@ <?php /** - * FakeClassnameTags123ApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class FakeClassnameTags123ApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Api/PetApiTest.php b/samples/server/petstore/php-slim4/test/Api/PetApiTest.php index 6b8bf152a4f4e406c8e92d23f5d2e358919f6151..3e70bd0fc13db131dbd42f49137a882f9e443f4a 100644 --- a/samples/server/petstore/php-slim4/test/Api/PetApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/PetApiTest.php @@ -1,18 +1,15 @@ <?php /** - * PetApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class PetApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php b/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php index 5d76133c0d306971e389c23c04f6ae1b4fe61423..9dc0458710a2cfaf26c119457d5035e0c0e21d96 100644 --- a/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/StoreApiTest.php @@ -1,18 +1,15 @@ <?php /** - * StoreApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class StoreApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Api/UserApiTest.php b/samples/server/petstore/php-slim4/test/Api/UserApiTest.php index 33d7a298a64fcae9edf7a77f737e80effb2a2b4b..dff950e444a5ccae9efeb2fffc89c3e8f17f9973 100644 --- a/samples/server/petstore/php-slim4/test/Api/UserApiTest.php +++ b/samples/server/petstore/php-slim4/test/Api/UserApiTest.php @@ -1,18 +1,15 @@ <?php /** - * UserApiTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Api + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class UserApiTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerMiddlewareTest.php b/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerMiddlewareTest.php index 67dbc36fd32719ab4b77658579f5858b3c1cc837..88ec04051266b90c5746428c4bbb6d559f29bcfe 100644 --- a/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerMiddlewareTest.php +++ b/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerMiddlewareTest.php @@ -1,9 +1,8 @@ <?php /** - * OpenApiDataMockerMiddlewareTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPIServer - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerTest.php b/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerTest.php index eeb95d67d6e2b67e175d09c084b6326c103516d0..9b387c0d9e9b652cf490b339d2a4602181bb6120 100644 --- a/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerTest.php +++ b/samples/server/petstore/php-slim4/test/Mock/OpenApiDataMockerTest.php @@ -1,9 +1,8 @@ <?php /** - * OpenApiDataMockerTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php index 002865b885ddc7d02c86ebdf9ac63dc9a56121e6..f1b10207256bf1296ecf1733d865568409d78bbd 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesAnyTypeTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesAnyTypeTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesAnyTypeTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php index a898fe10b1ccc918287753a6407b25b88a2529fb..f00f52a9d4f70a36a7d241b731ef57e5705a07e3 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesArrayTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesArrayTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesArrayTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php index 6d71f1f2882280a7ab425261a644242e281f452a..aa045267f4206eae62e7cc36a0b9e4ae76766d39 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesBooleanTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesBooleanTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesBooleanTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php index 34bb7175572ee67ad83d5bed40ebae0c7676feef..031251329765285d7f12cf6ab19e7e30291e8b6f 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesClassTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesClassTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesClassTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php index dbec16f3a6a46e2649d1675601df8e57e6d33485..c2c344453960845fe6d1d2fccb0950caf24caa7d 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesIntegerTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesIntegerTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesIntegerTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php index c0d7859cb003d30fb929f3dfcf06f59945d11fbb..a5e439ce98fce887b8456c05df28f778d1d05b71 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesNumberTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesNumberTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesNumberTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php index a28f9a263f2f884dd05fcaffc5ed065344433067..5f03164b5edb9ec68e85bb34bff3d4b81bc1a472 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesObjectTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesObjectTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesObjectTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php index 942914d3f9a8cec11fee373c799e317934e2b2d1..438bcafe84ef48c98b101e2d04a55b567df44fcc 100644 --- a/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AdditionalPropertiesStringTest.php @@ -1,18 +1,15 @@ <?php /** - * AdditionalPropertiesStringTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AdditionalPropertiesStringTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/AnimalTest.php b/samples/server/petstore/php-slim4/test/Model/AnimalTest.php index 25a73eeb42d00bbe3578a21e8cf9df97264f04fd..4ca0be03ef4784c9c30033d4c1c7488bc02e7495 100644 --- a/samples/server/petstore/php-slim4/test/Model/AnimalTest.php +++ b/samples/server/petstore/php-slim4/test/Model/AnimalTest.php @@ -1,18 +1,15 @@ <?php /** - * AnimalTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class AnimalTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php b/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php index e2b981f8055ba539b6c2bcd5c542ece370592e94..b62fc2f32523c9434958170ce1f36cda12f09ffb 100644 --- a/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ApiResponseTest.php @@ -1,18 +1,15 @@ <?php /** - * ApiResponseTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ApiResponseTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php index 534b18469e1afad89a6789c60877caf5eaf36d27..040882180ecf0f727f33b1c9bbafc11bac3b5afc 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayOfArrayOfNumberOnlyTest.php @@ -1,18 +1,15 @@ <?php /** - * ArrayOfArrayOfNumberOnlyTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ArrayOfArrayOfNumberOnlyTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php index d06d979cfe8749bfbcfc4e4ea445d27baef2ef2c..b77b2634067725bfc4de470534c21c20478f5415 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayOfNumberOnlyTest.php @@ -1,18 +1,15 @@ <?php /** - * ArrayOfNumberOnlyTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ArrayOfNumberOnlyTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php b/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php index 8ee5a228205bf69ec5f959ee51dbf61dd3de988f..6f49e40e2ec3be7e687435d22ea392c396a7270e 100644 --- a/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ArrayTestTest.php @@ -1,18 +1,15 @@ <?php /** - * ArrayTestTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ArrayTestTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php index daad6d31175f631fc703a41a5f661c71beb3e006..4b4f1667f6c0da12aac230c72701f227c5cc1364 100644 --- a/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/BigCatAllOfTest.php @@ -1,18 +1,15 @@ <?php /** - * BigCatAllOfTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class BigCatAllOfTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/BigCatTest.php b/samples/server/petstore/php-slim4/test/Model/BigCatTest.php index c4775d9d5655b8da0921c29f8595a7b66c283bc5..cd8bf23092c2cfb72499d639e58344c8a62f97dc 100644 --- a/samples/server/petstore/php-slim4/test/Model/BigCatTest.php +++ b/samples/server/petstore/php-slim4/test/Model/BigCatTest.php @@ -1,18 +1,15 @@ <?php /** - * BigCatTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class BigCatTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php b/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php index 9acb2fe1d1abcdfe4597b05d5ac7e7e1039c96a8..692eb56d2090505b090ab9b6450a87aea3af72f9 100644 --- a/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CapitalizationTest.php @@ -1,18 +1,15 @@ <?php /** - * CapitalizationTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class CapitalizationTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php index ab504fb0677f3398dafd007b783b1340c112e1a6..81957f4c253f6e3fb8d8856b72ec766234926f67 100644 --- a/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CatAllOfTest.php @@ -1,18 +1,15 @@ <?php /** - * CatAllOfTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class CatAllOfTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/CatTest.php b/samples/server/petstore/php-slim4/test/Model/CatTest.php index 50b27fcc60c34f5ef0b43942895ba12698efc5a4..cae780deb23b30cf5fc70364d56244898a86988c 100644 --- a/samples/server/petstore/php-slim4/test/Model/CatTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CatTest.php @@ -1,18 +1,15 @@ <?php /** - * CatTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class CatTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/CategoryTest.php b/samples/server/petstore/php-slim4/test/Model/CategoryTest.php index f95f233d3c592a6cfbfd444eda1c2544d137581e..b494919f769369368fcb393b0ae03b970a5404c0 100644 --- a/samples/server/petstore/php-slim4/test/Model/CategoryTest.php +++ b/samples/server/petstore/php-slim4/test/Model/CategoryTest.php @@ -1,18 +1,15 @@ <?php /** - * CategoryTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class CategoryTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php b/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php index 47b5b0bcf1b8506f5df5ac4e04826826106bd45c..44549d3378f72c2b8739e08ef7da68b868afa580 100644 --- a/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ClassModelTest.php @@ -1,18 +1,15 @@ <?php /** - * ClassModelTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ClassModelTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ClientTest.php b/samples/server/petstore/php-slim4/test/Model/ClientTest.php index 177d14a2ad37953e1c143dc584a36e209f397ad9..2ba029877d0494f4e3920bfa69acb2c223871f42 100644 --- a/samples/server/petstore/php-slim4/test/Model/ClientTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ClientTest.php @@ -1,18 +1,15 @@ <?php /** - * ClientTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ClientTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php b/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php index 70c217a41a9c8006cf6c99e300111483a8c0f5ad..b9a102b409e65677bdccdee9d2eb477a8f5d856b 100644 --- a/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php +++ b/samples/server/petstore/php-slim4/test/Model/DogAllOfTest.php @@ -1,18 +1,15 @@ <?php /** - * DogAllOfTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class DogAllOfTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/DogTest.php b/samples/server/petstore/php-slim4/test/Model/DogTest.php index c59a75521c059fb8d44afc2edbe9bbb45ee84b6a..96845d826731eda3557e518dc9bda049d00d629f 100644 --- a/samples/server/petstore/php-slim4/test/Model/DogTest.php +++ b/samples/server/petstore/php-slim4/test/Model/DogTest.php @@ -1,18 +1,15 @@ <?php /** - * DogTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class DogTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php b/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php index 0259445d28d56ecbbd210a64a5d650ba3fd53112..4375e9a7c306066a3a8054a4c51bdea5d162f8fb 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumArraysTest.php @@ -1,18 +1,15 @@ <?php /** - * EnumArraysTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class EnumArraysTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php b/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php index 20dd3d274ba92cd21ab2d38048b817619ad4e6d1..9a226bf7077541c75fe3f8533aad16cee4716d78 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumClassTest.php @@ -1,18 +1,15 @@ <?php /** - * EnumClassTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class EnumClassTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php b/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php index 6f6adeba2631b6a3711fc097ecb0481209ef595f..96142f7e665646024fcda4490379fd76b0eac804 100644 --- a/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/EnumTestTest.php @@ -1,18 +1,15 @@ <?php /** - * EnumTestTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class EnumTestTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php b/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php index abdda8087e28bc869da8aafe7d55982f77b4eb7f..656891ee583ba14793f236fbef9b4331c947189d 100644 --- a/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FileSchemaTestClassTest.php @@ -1,18 +1,15 @@ <?php /** - * FileSchemaTestClassTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class FileSchemaTestClassTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/FileTest.php b/samples/server/petstore/php-slim4/test/Model/FileTest.php index 941465c80cc87b2c8af80918dd33f13b1db3ab8c..22d5778585f181b2461ceb615dc983123e3195a7 100644 --- a/samples/server/petstore/php-slim4/test/Model/FileTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FileTest.php @@ -1,18 +1,15 @@ <?php /** - * FileTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class FileTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php b/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php index 1fe35f995bfbb6da287ce8261cfd4a489a69ae4c..bd01053d801d5eeba231707a609ea057ad45bac7 100644 --- a/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/FormatTestTest.php @@ -1,18 +1,15 @@ <?php /** - * FormatTestTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class FormatTestTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php index 2f7b48320086b497c59dcbbf635afc6040267294..c691248c370d06787832acb2a122fb55de357c20 100644 --- a/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/HasOnlyReadOnlyTest.php @@ -1,18 +1,15 @@ <?php /** - * HasOnlyReadOnlyTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class HasOnlyReadOnlyTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/MapTestTest.php b/samples/server/petstore/php-slim4/test/Model/MapTestTest.php index 605137aec546f8bc72464175a17a19b4a3b5eb78..a430539ee2ba2942c75fe7e7514208fe077b8aa3 100644 --- a/samples/server/petstore/php-slim4/test/Model/MapTestTest.php +++ b/samples/server/petstore/php-slim4/test/Model/MapTestTest.php @@ -1,18 +1,15 @@ <?php /** - * MapTestTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class MapTestTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php b/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php index 38c9f55cf4ba2f66232ba95eb7fd5e44d23e80f8..62a43f1288b43b288e2ddd60cbd405ede8fa184d 100644 --- a/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php +++ b/samples/server/petstore/php-slim4/test/Model/MixedPropertiesAndAdditionalPropertiesClassTest.php @@ -1,18 +1,15 @@ <?php /** - * MixedPropertiesAndAdditionalPropertiesClassTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class MixedPropertiesAndAdditionalPropertiesClassTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php b/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php index 18c1f34bd62dca927fb061482092b9a0d6684dcd..7c4478be0059679dcee14909b6501228db7938ee 100644 --- a/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php +++ b/samples/server/petstore/php-slim4/test/Model/Model200ResponseTest.php @@ -1,18 +1,15 @@ <?php /** - * Model200ResponseTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class Model200ResponseTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ModelListTest.php b/samples/server/petstore/php-slim4/test/Model/ModelListTest.php index c6a6bdafcecc663f43c846504af784025b04eb93..c1b1b98c9c079900e8eb0230035ed204abf333e6 100644 --- a/samples/server/petstore/php-slim4/test/Model/ModelListTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ModelListTest.php @@ -1,18 +1,15 @@ <?php /** - * ModelListTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ModelListTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php b/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php index 84790d12726bd9fd4f88bf44ca1de2d6d8023c4d..5de9db5c901e413e8ebec3ef5ed881873e55c0dd 100644 --- a/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ModelReturnTest.php @@ -1,18 +1,15 @@ <?php /** - * ModelReturnTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ModelReturnTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/NameTest.php b/samples/server/petstore/php-slim4/test/Model/NameTest.php index 554eeacecc545a19a4933d8972f8760d2b8927cf..b663eaea7b571d7cc19c21819466e870e9952f02 100644 --- a/samples/server/petstore/php-slim4/test/Model/NameTest.php +++ b/samples/server/petstore/php-slim4/test/Model/NameTest.php @@ -1,18 +1,15 @@ <?php /** - * NameTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class NameTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php b/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php index 3314f7a9b9ead2a7c124283922a9fddfd0807634..e8140c6ee3f5ef75cf2784abc7b126aa1e901867 100644 --- a/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php +++ b/samples/server/petstore/php-slim4/test/Model/NumberOnlyTest.php @@ -1,18 +1,15 @@ <?php /** - * NumberOnlyTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class NumberOnlyTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/OrderTest.php b/samples/server/petstore/php-slim4/test/Model/OrderTest.php index 87d7483b2f1528492b029792e5d64d69cd181382..d8f2cfde0827166a4b26eb94f34ff8b9a2fdc5e7 100644 --- a/samples/server/petstore/php-slim4/test/Model/OrderTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OrderTest.php @@ -1,18 +1,15 @@ <?php /** - * OrderTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class OrderTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php b/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php index 96db8ffbce28f0bbabb83a1ea87cafc14b8cf2a3..dbc2ec630c3a0ed8d1d7457238ba59f3412fd739 100644 --- a/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OuterCompositeTest.php @@ -1,18 +1,15 @@ <?php /** - * OuterCompositeTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class OuterCompositeTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php b/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php index 828a7bb65b41a65cfc9e5c195754adcbed1362f1..fd9eec6c375c92875a603ccbb94eaf0a2abb6c65 100644 --- a/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php +++ b/samples/server/petstore/php-slim4/test/Model/OuterEnumTest.php @@ -1,18 +1,15 @@ <?php /** - * OuterEnumTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class OuterEnumTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/PetTest.php b/samples/server/petstore/php-slim4/test/Model/PetTest.php index 76d5eb5ad400c4eb1aaeb3b2794f87656e815eed..7f1ae6b20759e73a17c6e3d8fc689c23b127a289 100644 --- a/samples/server/petstore/php-slim4/test/Model/PetTest.php +++ b/samples/server/petstore/php-slim4/test/Model/PetTest.php @@ -1,18 +1,15 @@ <?php /** - * PetTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class PetTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php b/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php index 0b44bf882ef46e39b98038bb7dc062af19e5702f..b3b34eaf5cadb98c434d80198eef7c3e36cfc1ec 100644 --- a/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php +++ b/samples/server/petstore/php-slim4/test/Model/ReadOnlyFirstTest.php @@ -1,18 +1,15 @@ <?php /** - * ReadOnlyFirstTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class ReadOnlyFirstTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php b/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php index 54569af8ae9e5bd98e6b73627ba574bc9322ea3d..fe84830c2c59c55dffab8e90df62e03a56a5b4a5 100644 --- a/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php +++ b/samples/server/petstore/php-slim4/test/Model/SpecialModelNameTest.php @@ -1,18 +1,15 @@ <?php /** - * SpecialModelNameTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class SpecialModelNameTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/TagTest.php b/samples/server/petstore/php-slim4/test/Model/TagTest.php index 59071a96c7e4a6b67801917e16c2d43ed8b33e91..2790c8ba4db8a9e00c93774c2af64a85c16e5f9a 100644 --- a/samples/server/petstore/php-slim4/test/Model/TagTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TagTest.php @@ -1,18 +1,15 @@ <?php /** - * TagTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class TagTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php b/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php index b0fba6bf51f9f76afc1788bf5340e1450173becf..63ec0b433a96e70cd83284e86a4fecd3befc28e6 100644 --- a/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TypeHolderDefaultTest.php @@ -1,18 +1,15 @@ <?php /** - * TypeHolderDefaultTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class TypeHolderDefaultTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php b/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php index 3f707beb5ac924f571e8cb10d8154ebb922c8794..39f547c5b5fce6fe378755c03d73386ab9f02a80 100644 --- a/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php +++ b/samples/server/petstore/php-slim4/test/Model/TypeHolderExampleTest.php @@ -1,18 +1,15 @@ <?php /** - * TypeHolderExampleTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class TypeHolderExampleTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/UserTest.php b/samples/server/petstore/php-slim4/test/Model/UserTest.php index 900029a36e666bdc3b8f512d79be1ad0ebdc2afc..8f755cc93702413b71bfd17e8e9e5918e3e2fe81 100644 --- a/samples/server/petstore/php-slim4/test/Model/UserTest.php +++ b/samples/server/petstore/php-slim4/test/Model/UserTest.php @@ -1,18 +1,15 @@ <?php /** - * UserTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class UserTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php b/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php index ac6ee0e7d389fbb6ed97e4fcc92f90476f6df941..699ea8db3444af689948e051b09fdf9707772400 100644 --- a/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php +++ b/samples/server/petstore/php-slim4/test/Model/XmlItemTest.php @@ -1,18 +1,15 @@ <?php /** - * XmlItemTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * - * @package OpenAPIServer\Model + * @package OpenAPIServer * @author OpenAPI Generator team * @link https://github.com/openapitools/openapi-generator */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git @@ -43,28 +40,28 @@ class XmlItemTest extends TestCase /** * Setup before running any test cases */ - public static function setUpBeforeClass() + public static function setUpBeforeClass(): void { } /** * Setup before running each test case */ - public function setUp() + public function setUp(): void { } /** * Clean up after running each test case */ - public function tearDown() + public function tearDown(): void { } /** * Clean up after running all test cases */ - public static function tearDownAfterClass() + public static function tearDownAfterClass(): void { } diff --git a/samples/server/petstore/php-slim4/test/Utils/ModelUtilsTraitTest.php b/samples/server/petstore/php-slim4/test/Utils/ModelUtilsTraitTest.php index 9ed05378f2b0400efbf252ecd744caf5ab8190ce..f9611ad65df36252524575c9d328a218dcc8e067 100644 --- a/samples/server/petstore/php-slim4/test/Utils/ModelUtilsTraitTest.php +++ b/samples/server/petstore/php-slim4/test/Utils/ModelUtilsTraitTest.php @@ -1,9 +1,8 @@ <?php /** - * ModelUtilsTraitTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git diff --git a/samples/server/petstore/php-slim4/test/Utils/StringUtilsTraitTest.php b/samples/server/petstore/php-slim4/test/Utils/StringUtilsTraitTest.php index d06aa405eebad6e4a187088f7e36c4e5d1684c7d..5cd52756e80b8109614e67227698b2f118ff7d56 100644 --- a/samples/server/petstore/php-slim4/test/Utils/StringUtilsTraitTest.php +++ b/samples/server/petstore/php-slim4/test/Utils/StringUtilsTraitTest.php @@ -1,9 +1,8 @@ <?php /** - * StringUtilsTraitTest - * - * PHP version 7.1 + * OpenAPI Petstore + * PHP version 7.2 * * @package OpenAPIServer * @author OpenAPI Generator team @@ -11,8 +10,6 @@ */ /** - * OpenAPI Petstore - * * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * The version of the OpenAPI document: 1.0.0 * Generated by: https://github.com/openapitools/openapi-generator.git