Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 0 additions & 6 deletions .phpstan-baseline.missingType.iterableValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
'count' => 1,
'path' => __DIR__ . '/inc/relation.constant.php',
];
$ignoreErrors[] = [
'message' => '#^Method class@anonymous/install/empty_data\\.php\\:50\\:\\:getEmptyData\\(\\) return type has no value type specified in iterable type array\\.$#',
'identifier' => 'missingType.iterableValue',
'count' => 1,
'path' => __DIR__ . '/install/empty_data.php',
];
$ignoreErrors[] = [
'message' => '#^PHPDoc tag @var for variable \\$CFG_GLPI has no value type specified in iterable type array\\.$#',
'identifier' => 'missingType.iterableValue',
Expand Down
3 changes: 2 additions & 1 deletion ajax/2fa.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand All @@ -32,6 +32,7 @@
*
* ---------------------------------------------------------------------
*/

use Glpi\Security\TOTPManager;

use function Safe\json_encode;
Expand Down
2 changes: 1 addition & 1 deletion ajax/actorinformation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/actors.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/agent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/asset/assetdefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
* ---------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ajax/asset/customfield.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
* ---------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ajax/cable.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/central.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/change_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/common.tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/commonitilobject_item.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/commonitilsatisfaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/compareKbRevisions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/criteria_filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
3 changes: 2 additions & 1 deletion ajax/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand All @@ -32,6 +32,7 @@
*
* ---------------------------------------------------------------------
*/

use Glpi\Dashboard\Dashboard;
use Glpi\Dashboard\Grid;
use Glpi\Debug\Profiler;
Expand Down
2 changes: 1 addition & 1 deletion ajax/dcroom_size.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
3 changes: 2 additions & 1 deletion ajax/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand All @@ -32,6 +32,7 @@
*
* ---------------------------------------------------------------------
*/

use Glpi\Debug\Profile;
use Glpi\Debug\Profiler;
use Glpi\Exception\Http\AccessDeniedHttpException;
Expand Down
2 changes: 1 addition & 1 deletion ajax/displayMessageAfterRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/displaypreference.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/domainrecord_data_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownAllItems.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownConnectNetworkPort.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownConnectNetworkPortDeviceType.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownFieldsBlacklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownInstallVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownItilActors.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveActionAddActor.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveActionAddValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveActionAuthMethods.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveActionField.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownMassiveActionOs.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownNotificationEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownNotificationTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownProjectTaskTicket.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownRubDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
2 changes: 1 addition & 1 deletion ajax/dropdownShowIPNetwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* http://glpi-project.org
*
* @copyright 2015-2025 Teclib' and contributors.
* @copyright 2015-2026 Teclib' and contributors.
* @copyright 2003-2014 by the INDEPNET Development Team.
* @licence https://www.gnu.org/licenses/gpl-3.0.html
*
Expand Down
Loading
Loading