Skip to content

Commit 15ee650

Browse files
committed
build: set minimum php version requirement to 7.1
1 parent c135137 commit 15ee650

File tree

4 files changed

+125
-300
lines changed

4 files changed

+125
-300
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ See the [official wiki page](https://wiki.multitheftauto.com/wiki/PHP_SDK) for f
99

1010
### Prerequisites
1111

12-
This SDK requires PHP 7.3 or greater.
12+
This SDK requires PHP 7.1 or greater.
1313

1414
### Setup
1515

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ pool:
33
vmImage: 'ubuntu-latest'
44

55
variables:
6-
phpVersion: 7.3
6+
phpVersion: 7.1
77

88
steps:
99
- script: |

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"wiki": "https://wiki.multitheftauto.com/wiki/PHP_SDK"
1414
},
1515
"require": {
16-
"php": "^7.3",
16+
"php": "^7.1",
1717
"ext-json": "^1.5",
1818
"php-http/client-implementation": "^1.0",
1919
"php-http/httplug": "^2.0",
@@ -29,6 +29,9 @@
2929
"phpunit/phpunit": "^7"
3030
},
3131
"config": {
32+
"platform": {
33+
"php": "7.1"
34+
},
3235
"preferred-install": {
3336
"*": "dist"
3437
},

0 commit comments

Comments
 (0)