Skip to content

Commit

Permalink
feature/glpi-11.0
Browse files Browse the repository at this point in the history
ci
  • Loading branch information
Rom1-B committed Jan 13, 2025
1 parent fdee93c commit 9bc430b
Show file tree
Hide file tree
Showing 20 changed files with 403 additions and 400 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "main"
- "feature/glpi-11.0"
tags:
- "*"
pull_request:
Expand All @@ -20,7 +21,7 @@ jobs:
name: "Generate CI matrix"
uses: "glpi-project/plugin-ci-workflows/.github/workflows/generate-ci-matrix.yml@v1"
with:
glpi-version: "10.0.x"
glpi-version: "11.0.x"
ci:
name: "GLPI ${{ matrix.glpi-version }} - php:${{ matrix.php-version }} - ${{ matrix.db-image }}"
needs: "generate-ci-matrix"
Expand Down
2 changes: 0 additions & 2 deletions ajax/alert_preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
* -------------------------------------------------------------------------
*/

include('../../../inc/includes.php');

Session::checkLoginUser();

PluginNewsAlert::displayAlert($_GET, [
Expand Down
1 change: 0 additions & 1 deletion ajax/display_alerts.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/

$AJAX_INCLUDE = 1;
include('../../../inc/includes.php');
header('Content-Type: text/html; charset=UTF-8');
Html::header_nocache();
Session::checkLoginUser();
Expand Down
1 change: 0 additions & 1 deletion ajax/hide_alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/

$AJAX_INCLUDE = 1;
include('../../../inc/includes.php');
header('Content-Type: text/html; charset=UTF-8');
Html::header_nocache();
Session::checkLoginUser();
Expand Down
1 change: 0 additions & 1 deletion ajax/targets.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
*/

$AJAX_INCLUDE = 1;
include('../../../inc/includes.php');
header('Content-Type: text/html; charset=UTF-8');
Html::header_nocache();

Expand Down
17 changes: 11 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
{
"require": {
"php": ">=7.4"
"php": ">=8.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"glpi-project/tools": "^0.7.4",
"friendsofphp/php-cs-fixer": "^3.67",
"glpi-project/tools": "^0.7",
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/phpstan": "^1.12"
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0"
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "7.4.0"
"php": "8.2.99"
},
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}
Loading

0 comments on commit 9bc430b

Please sign in to comment.