mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
still trying to fix imap
This commit is contained in:
parent
064d5f2e85
commit
01615d3df7
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, bcmath, redis, memcached
|
||||
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
||||
coverage: pcov
|
||||
- name: Get Composer Cache Directory
|
||||
|
|
@ -137,7 +137,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, bcmath, redis, memcached
|
||||
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
||||
- name: Get Composer Cache Directory
|
||||
id: composer-cache
|
||||
|
|
@ -179,7 +179,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, bcmath, redis, memcached
|
||||
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
||||
- name: Get Composer Cache Directory
|
||||
id: composer-cache
|
||||
|
|
@ -239,7 +239,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, imap, bcmath, redis, memcached
|
||||
extensions: mbstring, gd, zip, dom, mysql, pgsql, sqlite, bcmath, redis, memcached
|
||||
ini-values: opcache.jit_buffer_size=256M, opcache.jit=1235, pcre.jit=1
|
||||
- name: PHP linting
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@ final class ImapTest extends \PHPUnit\Framework\TestCase
|
|||
*/
|
||||
protected function setUp() : void
|
||||
{
|
||||
if (!\extension_loaded('imap')) {
|
||||
$this->markTestSkipped(
|
||||
'The imap extension is not available.'
|
||||
);
|
||||
}
|
||||
|
||||
$this->handler = new Imap('testuser', 'testuser', 143);
|
||||
$this->handler->host = '127.0.0.1';
|
||||
$this->handler->flags = '/imap/notls/norsh/novalidate-cert';
|
||||
|
|
|
|||
|
|
@ -33,6 +33,12 @@ final class Pop3Test extends \PHPUnit\Framework\TestCase
|
|||
*/
|
||||
protected function setUp() : void
|
||||
{
|
||||
if (!\extension_loaded('imap')) {
|
||||
$this->markTestSkipped(
|
||||
'The imap extension is not available.'
|
||||
);
|
||||
}
|
||||
|
||||
$this->handler = new Pop3('testuser', 'testuser', 110);
|
||||
$this->handler->host = '127.0.0.1';
|
||||
$this->handler->flags = '/pop3/notls';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user