Skip to content

Commit

Permalink
⚡ Upgrade to v5.x (#64)
Browse files Browse the repository at this point in the history
* Changed PHP version to 8.3-cli

* Changed PHP version to 8.3 in GitHub Actions

* Updated libs

* Updated README
  • Loading branch information
sayuprc authored Feb 16, 2025
1 parent 202435c commit ab8ebef
Show file tree
Hide file tree
Showing 11 changed files with 227 additions and 358 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2"]
php-versions: ["8.3"]

steps:
- name: Checkout the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2"]
php-versions: ["8.3"]

steps:
- name: Checkout the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ["8.2"]
php-versions: ["8.3"]

steps:
- name: Checkout the code
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:8.2-cli
FROM php:8.3-cli

WORKDIR /var/www/html

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GROUPNAME := $(shell id -g -n)

.PHONY: build
build: ## Build docker image for develop environment
docker build -t http-test-case:v4.x . \
docker build -t http-test-case:v5.x . \
--build-arg UID=${UID} \
--build-arg GID=${GID} \
--build-arg USERNAME=${USERNAME} \
Expand Down
4 changes: 2 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ HTTP テスト用のライブラリです。

|名前|バージョン|
|---|---|
|PHP|^8.2|
|PHPUnit|^11.0|
|PHP|^8.3|
|PHPUnit|^12.0|

## インストール方法

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ A library for HTTP testing.

|name|version|
|---|---|
|PHP|^8.2|
|PHPUnit|^11.0|
|PHP|^8.3|
|PHPUnit|^12.0|

## Installation

Expand Down
4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
php:
image: http-test-case:v4.x
container_name: http-test-case-v4.x
image: http-test-case:v5.x
container_name: http-test-case-v5.x
tty: true
volumes:
- .:/var/www/html
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "library",
"license": "MIT",
"require": {
"php": "^8.2",
"phpunit/phpunit": "^11.0",
"php": "^8.3",
"phpunit/phpunit": "^12.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^2.0"
Expand Down Expand Up @@ -34,7 +34,7 @@
],
"config": {
"platform": {
"php": "8.2"
"php": "8.3"
},
"sort-packages": true
},
Expand Down
Loading

0 comments on commit ab8ebef

Please sign in to comment.