Skip to content

Commit 02f0ee0

Browse files
committed
Se cambia a PHP 8.5. Parche en phpstan.neon por problema con CoversClass.
1 parent 46406c5 commit 02f0ee0

4 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest]
20-
php-version: ['8.3', '8.4']
20+
php-version: ['8.5']
2121

2222
steps:
2323
- name: Check out repository

composer.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@
2525
}
2626
},
2727
"require": {
28-
"php": "^8.3",
28+
"php": "^8.5",
2929
"ext-intl": "*",
3030
"nesbot/carbon": "^3.8"
3131
},
3232
"require-dev": {
3333
"ext-xdebug": "*",
34-
"friendsofphp/php-cs-fixer": "^3.63",
34+
"friendsofphp/php-cs-fixer": "^3.94",
3535
"phpstan/phpstan": "^1.12",
36-
"phpunit/phpunit": "^11.4"
36+
"phpunit/phpunit": "^11.5",
37+
"psr/http-message": "^2.0"
3738
},
3839
"scripts": {
3940
"docs": "php tools/phpdocumentor run --config=phpdoc.xml",

php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
/**
6-
* Derafu: Foundation - Base for Derafu's Projects.
6+
* Derafu: Data Processor - Four-Phase Data Processing Library.
77
*
88
* Copyright (c) 2025 Esteban De La Fuente Rubio / Derafu <https://www.derafu.dev>
99
* Licensed under the MIT License.

phpstan.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@ parameters:
55
paths:
66
- src
77
- tests
8+
# PHPUnit's CoversClass is repeatable (Attribute::IS_REPEATABLE); PHPStan does not read it.
9+
# Ignore only this message so real non-repeatable attribute errors are still reported.
10+
ignoreErrors:
11+
- message: '#CoversClass.*is not repeatable#'
12+
identifier: attribute.nonRepeatable

0 commit comments

Comments
 (0)