Skip to content
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
14 changes: 7 additions & 7 deletions .github/workflows/test_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3', '8.4', '8.5']
php: ['8.3', '8.4', '8.5', '8.6']

steps:
- name: Set up PHP
Expand All @@ -19,12 +19,12 @@ jobs:
tools: composer:v2

- name: Set up Node
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '24.x'
node-version: '26.x'

- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down Expand Up @@ -77,12 +77,12 @@ jobs:
tools: composer:v2

- name: Set up Node
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '24.x'
node-version: '26.x'

- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
1 change: 1 addition & 0 deletions PHP_VERSIONS
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
8.3
8.4
8.5
8.6
7 changes: 7 additions & 0 deletions bin/TestAndLint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ if [ $? -ne 0 ]; then
fi

test_and_lint() {
echo "==========================================================="
echo "[PHP $1][phpenv global $1]"
phpenv local $1
if [ $? -ne 0 ]; then
echo "Failed to switch version to $1. skipped."
return 1
fi
echo "-----------------------------------------------------------"
echo "[PHP $1][php -v]"
php -v
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
"minimum-stability": "stable",
"require": {
"php": ">=8.3",
"intervention/image": "^4.0",
"macocci7/php-frequency-table": "^1.4",
"intervention/image": "^4.4",
"macocci7/php-frequency-table": "^2.1",
"macocci7/php-csv": "^1.1",
"macocci7/php-combination": "^1.1",
"macocci7/php-combination": "^2.1",
"nette/neon": "^3.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "^4.0",
"phpunit/phpunit": "^12.5",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan": "^2.3",
"php-parallel-lint/php-parallel-lint": "^1.4"
}
}