Commit e17d4515 authored by Franco Fichtner's avatar Franco Fichtner

src: more style fixes

parent fff73b51
......@@ -101,7 +101,8 @@ class InterfaceField extends BaseField
}
/**
* set filters to use (in regex) per field, all tags are combined and cached for the next object using the same filters
* set filters to use (in regex) per field, all tags are combined
* and cached for the next object using the same filters
* @param $filters filters to use
*/
public function setFilters($filters)
......
......@@ -29,7 +29,6 @@
*/
namespace OPNsense\Base\FieldTypes;
use OPNsense\Base\Validators\NetworkValidator;
/**
......
......@@ -29,7 +29,6 @@
*/
namespace OPNsense\Base\FieldTypes;
use Phalcon\Validation\Validator\InclusionIn;
/**
......@@ -43,11 +42,53 @@ class PortField extends BaseField
*/
protected $internalIsContainer = false;
private static $wellknownservices = array('cvsup','domain','ftp','hbci','http','https','aol','auth','imap','imaps',
'ipsec-msft','isakmp','l2f','ldap','ms-streaming','afs3-fileserver','microsoft-ds','ms-wbt-server','wins',
'msnp','nntp','ntp','netbios-dgm','netbios-ns','netbios-ssn','openvpn','pop3','pop3s','pptp','radius',
'radius-acct','avt-profile-1','sip','smtp','igmpv3lite','urd','snmp','snmptrap','ssh','nat-stun-port','submission',
'teredo','telnet','tftp','rfb');
private static $wellknownservices = array(
'cvsup',
'domain',
'ftp',
'hbci',
'http',
'https',
'aol',
'auth',
'imap',
'imaps',
'ipsec-msft',
'isakmp',
'l2f',
'ldap',
'ms-streaming',
'afs3-fileserver',
'microsoft-ds',
'ms-wbt-server',
'wins',
'msnp',
'nntp',
'ntp',
'netbios-dgm',
'netbios-ns',
'netbios-ssn',
'openvpn',
'pop3',
'pop3s',
'pptp',
'radius',
'radius-acct',
'avt-profile-1',
'sip',
'smtp',
'igmpv3lite',
'urd',
'snmp',
'snmptrap',
'ssh',
'nat-stun-port',
'submission',
'teredo',
'telnet',
'tftp',
'rfb'
);
/**
* @var array collected options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment