Skip to content

Commit 44012f3

Browse files
authored
Merge pull request #26 from DoclerLabs/feature/v1-php8-support
Added PHP 8 support for v1
2 parents 1bdf203 + 95221bc commit 44012f3

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
max-parallel: 10
1111
matrix:
12-
php: [ '7.2', '7.3', '7.4' ]
12+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
1313

1414
steps:
1515
- name: Set up PHP

CHANGELOG-1.0.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [1.1.0] - 2023-10-17
8+
### Added
9+
- Added PHP 8 support.
10+
711
## [1.0.1] - 2021-05-07
812
### Changed
913
- Changed RequestBody to Stream in convertRequest to avoid unnecessary input stream copy.

Makefile

+12
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,15 @@ static-cs-fix:
2828

2929
static-cs-check:
3030
$(MAKE) static-cs-fix CS_PARAMS="--dry-run"
31+
32+
DOCKER_RUN=docker run --rm -u $(shell id -u):$(shell id -g) -v $(shell pwd):/app -w /app
33+
34+
local-ci:
35+
$(DOCKER_RUN) -v ~/.composer:/tmp -v ~/.ssh:/root/.ssh composer:2 install
36+
$(DOCKER_RUN) php:7.2-cli vendor/bin/codecept build
37+
$(DOCKER_RUN) php:7.2-cli vendor/bin/codecept run
38+
$(DOCKER_RUN) php:7.3-cli vendor/bin/codecept run
39+
$(DOCKER_RUN) php:7.4-cli vendor/bin/codecept run
40+
$(DOCKER_RUN) php:8.0-cli vendor/bin/codecept run
41+
$(DOCKER_RUN) php:8.1-cli vendor/bin/codecept run
42+
$(DOCKER_RUN) php:8.2-cli vendor/bin/codecept run

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Inspiration comes from [herloct/codeception-slim-module](https://github.com/herl
1111
## Install
1212

1313
### Minimal requirements
14-
- php: `^7.2`
14+
- php: `^7.2 || ^8.0`
1515
- slim/slim: `^3.1`
1616
- codeception/codeception: `^4.0`
1717

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"type": "library",
1010
"license": "MIT",
1111
"require": {
12-
"php": "^7.2",
12+
"php": "^7.2 || ^8.0",
1313
"codeception/codeception": "^4.0",
1414
"codeception/lib-innerbrowser": "^1.0",
1515
"slim/slim": "^3.1"

0 commit comments

Comments
 (0)