Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PHP 8 support for v1 #26

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading