diff --git a/.travis.yml b/.travis.yml index 87158546c..3d1e2856f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,9 +43,6 @@ matrix: - php: 7.2 env: DB=mysql PHPUNIT=5.7.19 - - php: 7.3 - env: DB=mysql PHPUNIT=5.7.19 - allow_failures: - php: 7.3 env: DB=mysql PHPUNIT=5.7.19 exclude: diff --git a/lib/Cake/Test/Case/I18n/MultibyteTest.php b/lib/Cake/Test/Case/I18n/MultibyteTest.php index 7653a0865..48a3fde68 100644 --- a/lib/Cake/Test/Case/I18n/MultibyteTest.php +++ b/lib/Cake/Test/Case/I18n/MultibyteTest.php @@ -7640,6 +7640,10 @@ class MultibyteTest extends CakeTestCase { * @return void */ public function testUsingMbStrtoupperArmenian() { + if (extension_loaded('mbstring') && version_compare(PHP_VERSION, '7.3', '>=')) { + $this->markTestSkipped('PHP7.3+ built-in function mb_strtoupper() behaves slightly different from Multibyte::strtoupper()'); + } + $string = 'աբգդեզէըթժիլխծկհձղճմյնշոչպջռսվտրցւփքօֆև'; $result = mb_strtoupper($string); $expected = 'ԱԲԳԴԵԶԷԸԹԺԻԼԽԾԿՀՁՂՃՄՅՆՇՈՉՊՋՌՍՎՏՐՑՒՓՔՕՖև'; @@ -7652,6 +7656,10 @@ class MultibyteTest extends CakeTestCase { * @return void */ public function testUsingMbStrtoupperDiacritic() { + if (extension_loaded('mbstring') && version_compare(PHP_VERSION, '7.3', '>=')) { + $this->markTestSkipped('PHP7.3+ built-in function mb_strtoupper() behaves slightly different from Multibyte::strtoupper()'); + } + $string = 'ḁḃḅḇḉḋḍḏḑḓḕḗḙḛḝḟḡḣḥḧḩḫḭḯḱḳḵḷḹḻḽḿṁṃṅṇṉṋṍṏṑṓṕṗṙṛṝṟṡṣṥṧṩṫṭṯṱṳṵṷṹṻṽṿẁẃẅẇẉẋẍẏẑẓẕẖẗẘẙẚạảấầẩẫậắằẳẵặẹẻẽếềểễệỉịọỏốồổỗộớờởỡợụủứừửữựỳỵỷỹ'; $result = mb_strtoupper($string); $expected = 'ḀḂḄḆḈḊḌḎḐḒḔḖḘḚḜḞḠḢḤḦḨḪḬḮḰḲḴḶḸḺḼḾṀṂṄṆṈṊṌṎṐṒṔṖṘṚṜṞṠṢṤṦṨṪṬṮṰṲṴṶṸṺṼṾẀẂẄẆẈẊẌẎẐẒẔẖẗẘẙẚẠẢẤẦẨẪẬẮẰẲẴẶẸẺẼẾỀỂỄỆỈỊỌỎỐỒỔỖỘỚỜỞỠỢỤỦỨỪỬỮỰỲỴỶỸ'; @@ -7664,6 +7672,10 @@ class MultibyteTest extends CakeTestCase { * @return void */ public function testUsingMbStrtoupperLigatures() { + if (extension_loaded('mbstring') && version_compare(PHP_VERSION, '7.3', '>=')) { + $this->markTestSkipped('PHP7.3+ built-in function mb_strtoupper() behaves slightly different from Multibyte::strtoupper()'); + } + $string = 'fffiflffifflſtstﬓﬔﬕﬖﬗ'; $result = mb_strtoupper($string); $expected = 'fffiflffifflſtstﬓﬔﬕﬖﬗ';