Skip to content

Commit

Permalink
Test on PHP 8.2 (#9)
Browse files Browse the repository at this point in the history
* PHP 8.2 support

* disable test on php 8.2
  • Loading branch information
bytestream authored Sep 11, 2023
1 parent fed98c8 commit 38fdbdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.4, 8.0, 8.1]
php: ['7.4', '8.0', '8.1', '8.2']
stability: [prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand Down
4 changes: 4 additions & 0 deletions test/Horde/Imap/Client/Data/Format/Mailbox/MailboxTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ public function escapeStreamProvider()

public function testBadInput()
{
if (version_compare(PHP_VERSION, '8.2.0') >= 0) {
$this->markTestSkipped('mb_convert_encoding converts null byte to &AAA-');
}

/* @todo: Change in Horde_Imap_Client 3.0 to detect Exception, instead
* of blank mailbox name. */
$ob = new Horde_Imap_Client_Data_Format_Mailbox("foo\0");
Expand Down

0 comments on commit 38fdbdf

Please sign in to comment.