forked from loafle/openapi-generator-original
[php] Set required PHP 7.1 in code comments and readme (#6188)
* Bump PHP version to 7.1 in readme * Bump PHP version to 7.1 in class templates * Remove HHVM from Travis CI config PHPUnit dropped support of hhvm, so build unlikely will pass tests. https://github.com/sebastianbergmann/phpunit/issues/3320#issuecomment-426325646 * Remove sudo: false from Travis-CI config Official doc recommendation: https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure * Change tested versions to 7.1, 7.2 in Travis-CI * Remove PHP_CodeSniffer from dev dependencies There is another linter(PHP CS Fixer) which is fully configured while CodeSniffer isn't configured at all. * Use caret instead of tilde in dependencies ^2.12 equals (>= 2.12.0 && <3.0.0) while ~2.12 is (>=2.12.0 && <2.13.0) * Refresh samples
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/**
|
||||
* Configuration
|
||||
* PHP version 5
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
@@ -30,7 +30,7 @@ namespace OpenAPI\Client;
|
||||
|
||||
/**
|
||||
* Configuration Class Doc Comment
|
||||
* PHP version 5
|
||||
* PHP version 7.1
|
||||
*
|
||||
* @category Class
|
||||
* @package OpenAPI\Client
|
||||
|
||||
Reference in New Issue
Block a user