Skip to content

Commit 2099057

Browse files
committed
GLPI 11 compatibility
1 parent f452f82 commit 2099057

File tree

14 files changed

+656
-480
lines changed

14 files changed

+656
-480
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"

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"require": {
3-
"php": ">=7.4"
3+
"php": ">=8.2"
44
},
55
"require-dev": {
66
"friendsofphp/php-cs-fixer": "^3.75",
7-
"glpi-project/tools": "^0.7",
7+
"friendsoftwig/twigcs": "^6.1",
8+
"glpi-project/tools": "^0.7.5",
89
"php-parallel-lint/php-parallel-lint": "^1.4",
910
"phpstan/extension-installer": "^1.4",
1011
"phpstan/phpstan": "^2.1",
@@ -13,11 +14,16 @@
1314
"config": {
1415
"optimize-autoloader": true,
1516
"platform": {
16-
"php": "7.4.0"
17+
"php": "8.2.99"
1718
},
1819
"sort-packages": true,
1920
"allow-plugins": {
2021
"phpstan/extension-installer": true
2122
}
23+
},
24+
"autoload-dev": {
25+
"psr-4": {
26+
"Glpi\\Tools\\": "../../tools/src/"
27+
}
2228
}
2329
}

0 commit comments

Comments
 (0)