Add pear modules, mail and net_smtp via composer (#93)
Add pear modules, mail and net_smtp via composer, remove php 5.6 build due to phpunit 6
This commit is contained in:
19
lib/composer/vendor/pear/mail/tests/bug17317.phpt
vendored
Executable file
19
lib/composer/vendor/pear/mail/tests/bug17317.phpt
vendored
Executable file
@@ -0,0 +1,19 @@
|
||||
--TEST--
|
||||
Mail_RFC822::parseAddressList invalid periods in mail address
|
||||
--FILE--
|
||||
<?php
|
||||
require "Mail/RFC822.php";
|
||||
|
||||
$result[] = Mail_RFC822::parseAddressList('.name@example.com');
|
||||
$result[] = Mail_RFC822::parseAddressList('name.@example.com');
|
||||
$result[] = Mail_RFC822::parseAddressList('name..name@example.com');
|
||||
|
||||
foreach ($result as $r) {
|
||||
if (is_a($r, 'PEAR_Error')) {
|
||||
echo "OK\n";
|
||||
}
|
||||
}
|
||||
--EXPECT--
|
||||
OK
|
||||
OK
|
||||
OK
|
||||
Reference in New Issue
Block a user