Skip to content

Commit 644c6e4

Browse files
committed
Set required PHP version to 7.2
PHP 7.1 is end of life since 1 Dec 2019. [ref] https://www.php.net/supported-versions.php
1 parent a14348b commit 644c6e4

File tree

11 files changed

+11
-12
lines changed

11 files changed

+11
-12
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
2-
dist: trusty
2+
dist: xenial
33
php:
4-
- 7.1
54
- 7.2
65

76
install:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Openapi Data Mocker helps to generate fake data from OpenAPI 3.0 documents. Most of the methods may work with 2.0 version(fka Swagger 2.0), but it's not tested. This package was an enhancement of PHP Slim4 server in [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) project, but it easier to maintain it in separated repo.
99

1010
## Requirements
11-
- PHP ^7.1
11+
- PHP ^7.2
1212

1313
## Installation via Composer
1414

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"minimum-stability": "stable",
1414
"require": {
15-
"php": "^7.1",
15+
"php": "^7.2",
1616
"ybelenko/openapi-data-mocker-interfaces": "^0.0.1"
1717
},
1818
"require-dev": {

src/Mock/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

src/Mock/OpenApiDataMocker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

src/Utils/ModelUtilsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

src/Utils/StringUtilsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

test/Mock/BaseModelTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

test/Mock/OpenApiDataMockerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

test/Utils/ModelUtilsTraitTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Openapi Data Mocker
5-
* PHP version 7.1
5+
* PHP version 7.2
66
*
77
* @package OpenAPIServer\Mock
88
* @link https://github.com/ybelenko/openapi-data-mocker

0 commit comments

Comments
 (0)