Skip to content

Commit

Permalink
Add support php8.2, drop php7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
demyan112rv committed Feb 17, 2023
1 parent 37fe1b2 commit 070776e
Show file tree
Hide file tree
Showing 23 changed files with 350 additions and 968 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: php

php:
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-fpm
FROM php:8.2-fpm

RUN apt-get update && apt-get install -y curl

Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ This package is a php wrapper for [mountebank API](http://www.mbtest.org/docs/ap

composer require demyan112rv/mountebank-api-php

## Tests

Before run tests install dependencies, build Docker images and run containers:

composer install
docker-compose up

Enter the container php container and run tests:

docker exec -it mountebank_php bash
cd /var/www/mountebank-api-php
php vendor/bin/phpunit

## Usage basics


Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
}
},
"require": {
"php": ">=7.3 <8.2",
"php": ">=7.4 <8.3",
"ext-json": "*",
"guzzlehttp/guzzle": ">=4.1.4"
},
"require-dev": {
"phpunit/phpunit": ">=7.5.20 <9.0",
"php-coveralls/php-coveralls": ">=v2.0.0",
"phpstan/phpstan": ">=0.11.19 <1.0"
"phpstan/phpstan": ">=1.0 <2.0"
}
}
Loading

0 comments on commit 070776e

Please sign in to comment.