Skip to content

Commit a2ab782

Browse files
committed
Update README and composer.json; add PHP 8.5 to workflow
1 parent f9a6632 commit a2ab782

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/phpunit.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
php-version:
21+
- "8.5"
2122
- "8.4"
2223
- "8.3"
2324
- "8.2"
@@ -46,8 +47,8 @@ jobs:
4647
steps:
4748
- uses: actions/checkout@v5
4849
- run: composer install
49-
- run: ./vendor/bin/psalm
50-
- run: ./vendor/bin/phpunit
50+
- run: composer psalm
51+
- run: composer test
5152

5253
Documentation:
5354
if: github.ref == 'refs/heads/master'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PHP Cache Engine
1+
# Cache Engine
22

33
[![Build Status](https://github.com/byjg/php-cache-engine/actions/workflows/phpunit.yml/badge.svg?branch=master)](https://github.com/byjg/php-cache-engine/actions/workflows/phpunit.yml)
44
[![Opensource ByJG](https://img.shields.io/badge/opensource-byjg-success.svg)](http://opensource.byjg.com)

composer.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "byjg/cache-engine",
3-
"description": "A multi-purpose cache engine PSR-6 and PSR-16 implementation with several drivers.",
3+
"description": "A powerful, versatile cache implementation providing both PSR-6 and PSR-16 interfaces with support for multiple storage drivers.",
44
"autoload": {
55
"psr-4": {
66
"ByJG\\Cache\\": "src/"
@@ -12,15 +12,15 @@
1212
}
1313
},
1414
"require": {
15-
"php": ">=8.1 <8.5",
15+
"php": ">=8.1 <8.6",
1616
"psr/cache": "^1.0|^2.0|^3.0",
1717
"psr/log": "^1.0|^2.0|^3.0",
1818
"psr/simple-cache": "^1.0|^2.0",
1919
"psr/container": "^1.0|^1.1|^2.0"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^10.5|^11.5",
23-
"vimeo/psalm": "^5.9|^6.2"
22+
"phpunit/phpunit": "^9.6|^10.5|^11.5",
23+
"vimeo/psalm": "^5.9|^6.13"
2424
},
2525
"suggest": {
2626
"ext-memcached": "*",
@@ -33,7 +33,9 @@
3333
},
3434
"scripts": {
3535
"test": "vendor/bin/phpunit",
36-
"psalm": "vendor/bin/psalm"
36+
"psalm": "vendor/bin/psalm --threads=1"
3737
},
38-
"license": "MIT"
38+
"license": "MIT",
39+
"prefer-stable": true,
40+
"minimum-stability": "dev"
3941
}

0 commit comments

Comments
 (0)