mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: serious style sweep
This commit is contained in:
+4
-4
@@ -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
|
||||
{
|
||||
|
||||
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
namespace OPNsense\Bind\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class AclController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
+2
-2
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,41 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* Copyright (c) 2011 Dan Myers
|
||||
* Copyright (c) 2008 Donovan Schonknecht
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* This is a modified BSD license (the third clause has been removed).
|
||||
* The BSD license may be found here:
|
||||
* http://www.opensource.org/licenses/bsd-license.php
|
||||
*
|
||||
* Amazon Route 53 is a trademark of Amazon.com, Inc. or its affiliates.
|
||||
*
|
||||
* Route53 is based on Donovan Schonknecht's Amazon S3 PHP class, found here:
|
||||
* http://undesigned.org.za/2007/10/22/amazon-s3-php-class
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* Copyright (c) 2011 Dan Myers
|
||||
* Copyright (c) 2008 Donovan Schonknecht
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright notice,
|
||||
* this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* This is a modified BSD license (the third clause has been removed).
|
||||
* The BSD license may be found here:
|
||||
* http://www.opensource.org/licenses/bsd-license.php
|
||||
*
|
||||
* Amazon Route 53 is a trademark of Amazon.com, Inc. or its affiliates.
|
||||
*
|
||||
* Route53 is based on Donovan Schonknecht's Amazon S3 PHP class, found here:
|
||||
* http://undesigned.org.za/2007/10/22/amazon-s3-php-class
|
||||
*/
|
||||
|
||||
/**
|
||||
* Amazon Route53 PHP class
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class AddressController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class AntispamController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class DomainController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class RecipientController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class RecipientbccController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
namespace OPNsense\Postfix\Api;
|
||||
|
||||
use \OPNsense\Base\ApiMutableModelControllerBase;
|
||||
use OPNsense\Base\ApiMutableModelControllerBase;
|
||||
|
||||
class SenderController extends ApiMutableModelControllerBase
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user