Skip to content

Commit 700d6a0

Browse files
committed
src: a few more samples for import linter
1 parent 2c74e4e commit 700d6a0

3 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/opnsense/mvc/app/library/OPNsense/Core/ConfigMaintenance.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828

2929
namespace OPNsense\Core;
3030

31-
use OPNsense\Core\AppConfig;
32-
use OPNsense\Core\Syslog;
33-
3431
class ConfigMaintenance
3532
{
3633
private $modelmap = [];

src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/PortFieldTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
// @CodingStandardsIgnoreEnd
3434

3535
use OPNsense\Base\FieldTypes\PortField;
36-
use OPNsense\Firewall\Util;
3736

3837
class PortFieldTest extends Field_Framework_TestCase
3938
{

src/opnsense/scripts/captiveportal/process_accounting_messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
// process all sessions
6060
if ($result !== false) {
6161
while ($row = $result->fetchArray(SQLITE3_ASSOC)) {
62-
$authFactory = new OPNsense\Auth\AuthenticationFactory();
62+
$authFactory = new AuthenticationFactory();
6363
$authenticator = $authFactory->get($row['authenticated_via']);
6464
if ($authenticator != null) {
6565
if ($row['state'] == null) {

0 commit comments

Comments
 (0)