Skip to content

Commit 0b5dcbd

Browse files
stonebuzzRom1-B
andauthored
GLPI 11 compatibility (#141)
* GLPI 11 compatibility * rector psalm * release GLPI 11.0 --------- Co-authored-by: Rom1-B <rom1.biot@gmail.com>
1 parent 3cfa4b6 commit 0b5dcbd

20 files changed

+889
-938
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: "Generate CI matrix"
2121
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1"
2222
with:
23-
glpi-version: "10.0.x"
23+
glpi-version: "11.0.x"
2424
ci:
2525
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}"
2626
needs: "generate-ci-matrix"

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [UNRELEASE]
8+
## [2.5.0] - 2025-10-01
9+
10+
### Added
11+
12+
- GLPI 11 compatibility
913

1014
## [2.4.4] - 2025-09-24
1115

@@ -14,4 +18,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1418
### Fixed
1519

1620
- Fix option ```Use LastHWScan``` that no longer worked.
17-

composer.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"require": {
3-
"php": ">=7.4"
3+
"php": ">=8.2"
44
},
55
"require-dev": {
66
"friendsofphp/php-cs-fixer": "^3.86",
77
"glpi-project/tools": "^0.8.0",
8+
"friendsoftwig/twigcs": "^6.1",
9+
"glpi-project/phpstan-glpi": "^1.0",
810
"php-parallel-lint/php-parallel-lint": "^1.4",
911
"phpstan/extension-installer": "^1.4",
1012
"phpstan/phpstan": "^2.1",
@@ -13,11 +15,16 @@
1315
"config": {
1416
"optimize-autoloader": true,
1517
"platform": {
16-
"php": "7.4.0"
18+
"php": "8.2.99"
1719
},
1820
"sort-packages": true,
1921
"allow-plugins": {
2022
"phpstan/extension-installer": true
2123
}
24+
},
25+
"autoload-dev": {
26+
"psr-4": {
27+
"Glpi\\Tools\\": "../../tools/src/"
28+
}
2229
}
2330
}

0 commit comments

Comments
 (0)