diff --git a/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/InstanceController.php b/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/InstanceController.php index 084eaf499c..2418351163 100644 --- a/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/InstanceController.php +++ b/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/InstanceController.php @@ -30,10 +30,10 @@ namespace OPNsense\iperf\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; -use \OPNsense\Core\Config; -use \OPNsense\Iperf\FakeInstance; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; +use OPNsense\Core\Config; +use OPNsense\Iperf\FakeInstance; class InstanceController extends ApiMutableModelControllerBase { diff --git a/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/ServiceController.php b/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/ServiceController.php index 29cbe5ba4d..44a1492ea7 100644 --- a/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/ServiceController.php +++ b/benchmarks/iperf/src/opnsense/mvc/app/controllers/OPNsense/iperf/Api/ServiceController.php @@ -28,8 +28,8 @@ namespace OPNsense\iperf\Api; -use \OPNsense\Base\ApiControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiControllerBase; +use OPNsense\Core\Backend; class ServiceController extends ApiControllerBase { diff --git a/devel/grid_example/src/opnsense/mvc/app/controllers/OPNsense/GridExample/Api/SettingsController.php b/devel/grid_example/src/opnsense/mvc/app/controllers/OPNsense/GridExample/Api/SettingsController.php index 65bc91e049..3cbe4725d4 100644 --- a/devel/grid_example/src/opnsense/mvc/app/controllers/OPNsense/GridExample/Api/SettingsController.php +++ b/devel/grid_example/src/opnsense/mvc/app/controllers/OPNsense/GridExample/Api/SettingsController.php @@ -30,7 +30,7 @@ namespace OPNsense\GridExample\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Base\ApiMutableModelControllerBase; /** * a settings controller for our GridExample app, uses our ApiMutableModelControllerBase type diff --git a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/ServiceController.php b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/ServiceController.php index fc7516e9db..6c7073da19 100644 --- a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/ServiceController.php +++ b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/ServiceController.php @@ -30,8 +30,8 @@ namespace OPNsense\HelloWorld\Api; -use \OPNsense\Base\ApiControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiControllerBase; +use OPNsense\Core\Backend; /** * Class ServiceController diff --git a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SettingsController.php b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SettingsController.php index f62b94181c..750e1b986e 100644 --- a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SettingsController.php +++ b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SettingsController.php @@ -30,9 +30,9 @@ namespace OPNsense\HelloWorld\Api; -use \OPNsense\Base\ApiControllerBase; -use \OPNsense\HelloWorld\HelloWorld; -use \OPNsense\Core\Config; +use OPNsense\Base\ApiControllerBase; +use OPNsense\HelloWorld\HelloWorld; +use OPNsense\Core\Config; /** * Class SettingsController Handles settings related API actions for the HelloWorld module diff --git a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SimplifiedSettingsController.php b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SimplifiedSettingsController.php index feb598cd27..72167c2153 100644 --- a/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SimplifiedSettingsController.php +++ b/devel/helloworld/src/opnsense/mvc/app/controllers/OPNsense/HelloWorld/Api/SimplifiedSettingsController.php @@ -30,7 +30,7 @@ namespace OPNsense\HelloWorld\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Base\ApiMutableModelControllerBase; /** * a simplified settings controller for our HelloWorld app, uses our ApiMutableModelControllerBase type diff --git a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/AclController.php b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/AclController.php index db30887f70..e092f1f5ba 100644 --- a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/AclController.php +++ b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/AclController.php @@ -30,7 +30,7 @@ namespace OPNsense\Bind\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Base\ApiMutableModelControllerBase; class AclController extends ApiMutableModelControllerBase { diff --git a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/DomainController.php b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/DomainController.php index 9de4842d12..df278dc53f 100644 --- a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/DomainController.php +++ b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/DomainController.php @@ -31,8 +31,8 @@ namespace OPNsense\Bind\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; class DomainController extends ApiMutableModelControllerBase { diff --git a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/RecordController.php b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/RecordController.php index 2e81e5da17..49cac764ea 100644 --- a/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/RecordController.php +++ b/dns/bind/src/opnsense/mvc/app/controllers/OPNsense/Bind/Api/RecordController.php @@ -31,9 +31,9 @@ namespace OPNsense\Bind\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Bind\Domain; -use \OPNsense\Core\Config; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Bind\Domain; +use OPNsense\Core\Config; class RecordController extends ApiMutableModelControllerBase { diff --git a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/CloakController.php b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/CloakController.php index 23bbb5a250..98fc77a5b5 100644 --- a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/CloakController.php +++ b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/CloakController.php @@ -30,8 +30,8 @@ namespace OPNsense\Dnscryptproxy\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; class CloakController extends ApiMutableModelControllerBase { diff --git a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ForwardController.php b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ForwardController.php index 6676fdbea6..cff952a76b 100644 --- a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ForwardController.php +++ b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ForwardController.php @@ -30,8 +30,8 @@ namespace OPNsense\Dnscryptproxy\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; class ForwardController extends ApiMutableModelControllerBase { diff --git a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ServerController.php b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ServerController.php index b2754bcc53..778d31a421 100644 --- a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ServerController.php +++ b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/ServerController.php @@ -28,8 +28,8 @@ namespace OPNsense\Dnscryptproxy\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; class ServerController extends ApiMutableModelControllerBase { diff --git a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/WhitelistController.php b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/WhitelistController.php index 633499ee33..31b298fdc7 100644 --- a/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/WhitelistController.php +++ b/dns/dnscrypt-proxy/src/opnsense/mvc/app/controllers/OPNsense/Dnscryptproxy/Api/WhitelistController.php @@ -30,8 +30,8 @@ namespace OPNsense\Dnscryptproxy\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Core\Backend; class WhitelistController extends ApiMutableModelControllerBase { diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/r53.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/r53.inc index 3eb1e3d99a..dd17f86385 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/r53.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/r53.inc @@ -1,41 +1,41 @@ service->iterateItems() as $service) { diff --git a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/GeneralController.php b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/GeneralController.php index 578863702d..a1c00d56e7 100644 --- a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/GeneralController.php +++ b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/GeneralController.php @@ -28,7 +28,7 @@ namespace OPNsense\NodeExporter\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Base\ApiMutableModelControllerBase; class GeneralController extends ApiMutableModelControllerBase { diff --git a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/ServiceController.php b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/ServiceController.php index 9ffe9a12a0..8352303358 100644 --- a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/ServiceController.php +++ b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/Api/ServiceController.php @@ -28,7 +28,7 @@ namespace OPNsense\NodeExporter\Api; -use \OPNsense\Base\ApiMutableServiceControllerBase; +use OPNsense\Base\ApiMutableServiceControllerBase; class ServiceController extends ApiMutableServiceControllerBase { diff --git a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/GeneralController.php b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/GeneralController.php index 04bca39de4..c01c57155e 100644 --- a/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/GeneralController.php +++ b/sysutils/node_exporter/src/opnsense/mvc/app/controllers/OPNsense/NodeExporter/GeneralController.php @@ -28,7 +28,7 @@ namespace OPNsense\NodeExporter; -use \OPNsense\Base\IndexController; +use OPNsense\Base\IndexController; class GeneralController extends IndexController { diff --git a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/Api/SettingsController.php b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/Api/SettingsController.php index 105232c32d..b49e767c82 100644 --- a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/Api/SettingsController.php +++ b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/Api/SettingsController.php @@ -30,7 +30,7 @@ namespace OPNsense\Nut\Api; -use \OPNsense\Base\ApiMutableModelControllerBase; +use OPNsense\Base\ApiMutableModelControllerBase; class SettingsController extends ApiMutableModelControllerBase { diff --git a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/DiagnosticsController.php b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/DiagnosticsController.php index 1cb60e9249..5465e28c51 100644 --- a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/DiagnosticsController.php +++ b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/DiagnosticsController.php @@ -30,7 +30,7 @@ namespace OPNsense\Nut; -use \OPNsense\Nut; +use OPNsense\Nut; /** * Class DiagnosticsController diff --git a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/IndexController.php b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/IndexController.php index d4be86d708..8e5358bf08 100644 --- a/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/IndexController.php +++ b/sysutils/nut/src/opnsense/mvc/app/controllers/OPNsense/Nut/IndexController.php @@ -32,8 +32,8 @@ namespace OPNsense\Nut; -use \OPNsense\Core\Backend; -use \OPNsense\Nut; +use OPNsense\Core\Backend; +use OPNsense\Nut; /** * Class IndexController diff --git a/sysutils/smart/src/opnsense/mvc/app/controllers/OPNsense/Smart/Api/ServiceController.php b/sysutils/smart/src/opnsense/mvc/app/controllers/OPNsense/Smart/Api/ServiceController.php index fd82ac6f02..905315623e 100644 --- a/sysutils/smart/src/opnsense/mvc/app/controllers/OPNsense/Smart/Api/ServiceController.php +++ b/sysutils/smart/src/opnsense/mvc/app/controllers/OPNsense/Smart/Api/ServiceController.php @@ -29,8 +29,8 @@ namespace OPNsense\Smart\Api; -use \OPNsense\Base\ApiControllerBase; -use \OPNsense\Core\Backend; +use OPNsense\Base\ApiControllerBase; +use OPNsense\Core\Backend; class ServiceController extends ApiControllerBase { diff --git a/www/nginx/src/opnsense/mvc/app/models/OPNsense/Base/Constraints/NgxBusyBufferConstraint.php b/www/nginx/src/opnsense/mvc/app/models/OPNsense/Base/Constraints/NgxBusyBufferConstraint.php index 862467db9d..ba7d7944f6 100644 --- a/www/nginx/src/opnsense/mvc/app/models/OPNsense/Base/Constraints/NgxBusyBufferConstraint.php +++ b/www/nginx/src/opnsense/mvc/app/models/OPNsense/Base/Constraints/NgxBusyBufferConstraint.php @@ -28,7 +28,7 @@ namespace OPNsense\Base\Constraints; -use \Phalcon\Validation\Message; +use Phalcon\Validation\Message; /** * a very specific nginx check - not reusable diff --git a/www/nginx/src/opnsense/scripts/nginx/setup.php b/www/nginx/src/opnsense/scripts/nginx/setup.php index 6884745ec0..e0db8c0aaf 100755 --- a/www/nginx/src/opnsense/scripts/nginx/setup.php +++ b/www/nginx/src/opnsense/scripts/nginx/setup.php @@ -31,7 +31,7 @@ const GROUP_OWNER = 'staff'; require_once('config.inc'); require_once('certs.inc'); -use \OPNsense\Nginx\Nginx; +use OPNsense\Nginx\Nginx; function export_pem_file($filename, $data, $post_append = null) { diff --git a/www/nginx/src/opnsense/scripts/nginx/tls_ua_fingerprint.php b/www/nginx/src/opnsense/scripts/nginx/tls_ua_fingerprint.php index 1dc1c839c4..7ba8f1b16d 100755 --- a/www/nginx/src/opnsense/scripts/nginx/tls_ua_fingerprint.php +++ b/www/nginx/src/opnsense/scripts/nginx/tls_ua_fingerprint.php @@ -1,5 +1,6 @@ #!/usr/local/bin/php object()->system->domain);