aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regex/email_test.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-30 11:36:08 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 21:40:06 +0200
commitebac54aa9e705e99a562d2fe2c0f57bc6af8dd32 (patch)
treea6f45f42c8861ba60216517687bfe72084ba7dcb /tests/regex/email_test.php
parentd968392b4d4aa45afc7fbe75e0ad0a1d06e9275e (diff)
downloadforums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.gz
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.bz2
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.xz
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.zip
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
Diffstat (limited to 'tests/regex/email_test.php')
-rw-r--r--tests/regex/email_test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/regex/email_test.php b/tests/regex/email_test.php
index 5187b8bda6..7b10b0a6ef 100644
--- a/tests/regex/email_test.php
+++ b/tests/regex/email_test.php
@@ -15,7 +15,7 @@ class phpbb_regex_email_test extends phpbb_test_case
{
protected $regex;
- public function setUp()
+ public function setUp(): void
{
$this->regex = '#^' . get_preg_expression('email') . '$#i';
}
@@ -36,7 +36,7 @@ class phpbb_regex_email_test extends phpbb_test_case
//array('"John Doe"@example.com'),
//array('Alice@[192.168.2.1]'), // IPv4
//array('Bob@[2001:0db8:85a3:08d3:1319:8a2e:0370:7344]'), // IPv6
-
+
// http://fightingforalostcause.net/misc/2006/compare-email-regex.php
array('l3tt3rsAndNumb3rs@domain.com'),
array('has-dash@domain.com'),
@@ -80,7 +80,7 @@ class phpbb_regex_email_test extends phpbb_test_case
array('abc,def@example.com'), // invalid character ,
array('abc<def@example.com'), // invalid character <
array('abc>def@example.com'), // invalid character >
-
+
// http://fightingforalostcause.net/misc/2006/compare-email-regex.php
array('missingDomain@.com'),
array('@missingLocal.org'),