Skip to content

Commit 4019e99

Browse files
committed
GLPI 11 compatibility
1 parent b4976a7 commit 4019e99

15 files changed

+645
-913
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +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+
"friendsoftwig/twigcs": "^6.1",
8+
"glpi-project/phpstan-glpi": "^1.0",
79
"glpi-project/tools": "^0.7.5",
810
"php-parallel-lint/php-parallel-lint": "^1.4",
911
"phpstan/extension-installer": "^1.4",
@@ -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)