Skip to content

Commit aeb328e

Browse files
stonebuzzRom1-B
andauthored
Feature/glpi 11.0 (#80)
* GLPI 11 compatibility * beta2 * fix path * psalm rector * fix CI * fix licence * release GLPI 11.0 * Clean composer.json * fix --------- Co-authored-by: Rom1-B <[email protected]>
1 parent 2839d5a commit aeb328e

21 files changed

+856
-2641
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"

.twig_cs.dist.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
use FriendsOfTwig\Twigcs\Finder\TemplateFinder;
6+
use FriendsOfTwig\Twigcs\Config\Config;
7+
use Glpi\Tools\GlpiTwigRuleset;
8+
9+
$finder = TemplateFinder::create()
10+
->in(__DIR__ . '/templates')
11+
->name('*.html.twig')
12+
->ignoreVCSIgnored(true);
13+
14+
return Config::create()
15+
->setFinder($finder)
16+
->setRuleSet(GlpiTwigRuleset::class)
17+
;

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [2.6.0] - 2025-09-30
9+
10+
### Added
11+
12+
- GLPI 11 compatibility

composer.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
11
{
22
"require": {
3-
"php": ">=7.4"
3+
"php": ">=8.2"
44
},
55
"require-dev": {
6-
"friendsofphp/php-cs-fixer": "^3.86",
7-
"glpi-project/tools": "^0.8",
8-
"php-parallel-lint/php-parallel-lint": "^1.4",
9-
"phpstan/extension-installer": "^1.4",
10-
"phpstan/phpstan": "^2.1",
11-
"phpstan/phpstan-deprecation-rules": "^2.0"
6+
"glpi-project/tools": "^0.8"
127
},
138
"config": {
149
"optimize-autoloader": true,
1510
"platform": {
16-
"php": "7.4.0"
11+
"php": "8.2.99"
1712
},
18-
"sort-packages": true,
19-
"allow-plugins": {
20-
"phpstan/extension-installer": true
13+
"sort-packages": true
14+
},
15+
"autoload-dev": {
16+
"psr-4": {
17+
"Glpi\\Tools\\": "../../tools/src/"
2118
}
2219
}
2320
}

0 commit comments

Comments
 (0)