Skip to content

Commit d0e90bb

Browse files
Add support for PHP 8.5
1 parent 50d0856 commit d0e90bb

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
operating-system: [ ubuntu-latest ]
11-
php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
11+
php-versions: [ '8.2', '8.3', '8.4', '8.5' ]
1212
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
1313

1414
steps:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2025 odan
3+
Copyright (c) 2026 odan
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A PSR-15 middleware to secure your site with SameSite cookies :cookie:
1010

1111
## Requirements
1212

13-
* PHP 8.1 - 8.4
13+
* PHP 8.2 - 8.5
1414

1515
## Installation
1616

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
],
1212
"homepage": "https://github.com/selective-php/samesite-cookie",
1313
"require": {
14-
"php": "8.1.* || 8.2.* || 8.3.* || 8.4.*",
15-
"psr/http-message": "^1",
14+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0",
15+
"psr/http-message": "^2",
1616
"psr/http-server-handler": "^1",
1717
"psr/http-server-middleware": "^1"
1818
},
1919
"require-dev": {
2020
"friendsofphp/php-cs-fixer": "^3",
21-
"middlewares/utils": "^3 || ^4",
22-
"phpstan/phpstan": "^1 || ^2",
23-
"phpunit/phpunit": "^10",
21+
"middlewares/utils": "^4",
22+
"phpstan/phpstan": "^2",
23+
"phpunit/phpunit": "^11",
2424
"slim/psr7": "^1",
25-
"squizlabs/php_codesniffer": "^3"
25+
"squizlabs/php_codesniffer": "^4"
2626
},
2727
"autoload": {
2828
"psr-4": {

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
bootstrap="vendor/autoload.php"
44
colors="true"
55
backupGlobals="false"
6-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
6+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.5/phpunit.xsd"
77
cacheDirectory=".phpunit.cache"
88
backupStaticProperties="false">
99
<coverage/>

0 commit comments

Comments
 (0)