Skip to content

Commit

Permalink
Merge pull request #26 from DoclerLabs/feature/v1-php8-support
Browse files Browse the repository at this point in the history
Added PHP 8 support for v1
  • Loading branch information
tommey authored Oct 17, 2023
2 parents 1bdf203 + 95221bc commit 44012f3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 10
matrix:
php: [ '7.2', '7.3', '7.4' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]

steps:
- name: Set up PHP
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.1.0] - 2023-10-17
### Added
- Added PHP 8 support.

## [1.0.1] - 2021-05-07
### Changed
- Changed RequestBody to Stream in convertRequest to avoid unnecessary input stream copy.
Expand Down
12 changes: 12 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ static-cs-fix:

static-cs-check:
$(MAKE) static-cs-fix CS_PARAMS="--dry-run"

DOCKER_RUN=docker run --rm -u $(shell id -u):$(shell id -g) -v $(shell pwd):/app -w /app

local-ci:
$(DOCKER_RUN) -v ~/.composer:/tmp -v ~/.ssh:/root/.ssh composer:2 install
$(DOCKER_RUN) php:7.2-cli vendor/bin/codecept build
$(DOCKER_RUN) php:7.2-cli vendor/bin/codecept run
$(DOCKER_RUN) php:7.3-cli vendor/bin/codecept run
$(DOCKER_RUN) php:7.4-cli vendor/bin/codecept run
$(DOCKER_RUN) php:8.0-cli vendor/bin/codecept run
$(DOCKER_RUN) php:8.1-cli vendor/bin/codecept run
$(DOCKER_RUN) php:8.2-cli vendor/bin/codecept run
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Inspiration comes from [herloct/codeception-slim-module](https://github.com/herl
## Install

### Minimal requirements
- php: `^7.2`
- php: `^7.2 || ^8.0`
- slim/slim: `^3.1`
- codeception/codeception: `^4.0`

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^7.2",
"php": "^7.2 || ^8.0",
"codeception/codeception": "^4.0",
"codeception/lib-innerbrowser": "^1.0",
"slim/slim": "^3.1"
Expand Down

0 comments on commit 44012f3

Please sign in to comment.