Skip to content

Commit 1a2a487

Browse files
committed
Raise PHP Min Version
1 parent b4679bd commit 1a2a487

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
php-version: ['8.1', '8.5']
14+
php-version: ['8.2', '8.5']
1515
db-type: [sqlite, mysql, pgsql]
1616
prefer-lowest: ['']
1717
include:
18-
- php-version: '8.1'
18+
- php-version: '8.2'
1919
db-type: 'sqlite'
2020
prefer-lowest: 'prefer-lowest'
2121

@@ -67,7 +67,7 @@ jobs:
6767
if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then export DB_URL='sqlite:///:memory:'; fi
6868
if [[ ${{ matrix.db-type }} == 'mysql' ]]; then export DB_URL='mysql://root:root@127.0.0.1/cakephp'; fi
6969
if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then export DB_URL='postgres://postgres:postgres@127.0.0.1/postgres'; fi
70-
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
70+
if [[ ${{ matrix.php-version }} == '8.2' ]]; then
7171
vendor/bin/phpunit --coverage-clover=coverage.xml
7272
else
7373
vendor/bin/phpunit
@@ -77,7 +77,7 @@ jobs:
7777
run: vendor/bin/validate-prefer-lowest -m
7878

7979
- name: Upload coverage reports to Codecov
80-
if: success() && matrix.php-version == '8.1'
80+
if: success() && matrix.php-version == '8.2'
8181
uses: codecov/codecov-action@v5
8282
with:
8383
token: ${{ secrets.CODECOV_TOKEN }}
@@ -92,7 +92,7 @@ jobs:
9292
- name: Setup PHP
9393
uses: shivammathur/setup-php@v2
9494
with:
95-
php-version: '8.1'
95+
php-version: '8.2'
9696
extensions: mbstring, intl
9797
coverage: none
9898

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![CI](https://github.com/dereuromark/cakephp-tinyauth/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-tinyauth/actions/workflows/ci.yml?query=branch%3Amaster)
44
[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-tinyauth/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-tinyauth)
55
[![Coverage Status](https://img.shields.io/codecov/c/github/dereuromark/cakephp-tinyauth/master.svg)](https://codecov.io/github/dereuromark/cakephp-tinyauth/branch/master)
6-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
6+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.2-8892BF.svg)](https://php.net/)
77
[![License](https://poser.pugx.org/dereuromark/cakephp-tinyauth/license.svg)](LICENSE)
88
[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-tinyauth/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-tinyauth)
99
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"source": "https://github.com/dereuromark/cakephp-tinyauth"
2424
},
2525
"require": {
26-
"php": ">=8.1",
26+
"php": ">=8.2",
2727
"cakephp/cakephp": "^5.1.1"
2828
},
2929
"require-dev": {
@@ -32,7 +32,7 @@
3232
"cakephp/debug_kit": "^5.0.1",
3333
"composer/semver": "^3.0",
3434
"fig-r/psr2r-sniffer": "dev-master",
35-
"phpunit/phpunit": "^10.5 || ^11.5 || ^12.1"
35+
"phpunit/phpunit": "^11.5 || ^12.1"
3636
},
3737
"minimum-stability": "stable",
3838
"prefer-stable": true,

0 commit comments

Comments
 (0)