Skip to content

Commit

Permalink
Fix flipped CI roles
Browse files Browse the repository at this point in the history
(cherry picked from commit 270904c)
(cherry picked from commit e17a44f)
  • Loading branch information
iszmais authored and mjansenDatabay committed Dec 7, 2023
1 parent 2930b0a commit 50ff7ed
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/PHPStan/constants.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php declare(strict_types=1);
<?php

/**
* This file is part of ILIAS, a powerful learning management system
Expand All @@ -16,15 +16,17 @@
*
*********************************************************************/

declare(strict_types=1);

/**
* This file contains constants for PHPStan analyis, see: https://phpstan.org/config-reference#constants
*/

// User an role specific constants
const SYSTEM_USER_ID = 6;
const ANONYMOUS_USER_ID = 13;
const ANONYMOUS_ROLE_ID = 2;
const SYSTEM_ROLE_ID = 14;
const ANONYMOUS_ROLE_ID = 14;
const SYSTEM_ROLE_ID = 2;

// Folder specific constants
const ROOT_FOLDER_ID = 1;
Expand Down

0 comments on commit 50ff7ed

Please sign in to comment.