Skip to content

Commit 23c0380

Browse files
committed
Remove usage of Zend SplAutoLoader interface
1 parent 4229bc3 commit 23c0380

File tree

4 files changed

+12
-60
lines changed

4 files changed

+12
-60
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
"prefer-stable": true,
44
"require-dev": {
55
"glpi-project/tools": "^0.1.2"
6-
},
7-
"require": {
8-
"zendframework/zend-loader": "^2.5"
96
}
107
}

composer.lock

Lines changed: 11 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inc/autoload.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<?php
22

3-
use Zend\Loader\SplAutoloader;
4-
5-
class PluginGenericobjectAutoloader implements SplAutoloader
3+
class PluginGenericobjectAutoloader
64
{
75
protected $paths = [];
86

setup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
}
9090

9191
// Autoload class generated in files/_plugins/genericobject/inc/
92-
include_once( GENERICOBJECT_DIR . "/vendor/autoload.php");
9392
include_once( GENERICOBJECT_DIR . "/inc/autoload.php");
9493
include_once( GENERICOBJECT_DIR . "/inc/functions.php");
9594
if (file_exists(GENERICOBJECT_DIR . "/log_filter.settings.php")) {

0 commit comments

Comments
 (0)