Garethp / php-ews

PHP Exchange Web Services
BSD 3-Clause "New" or "Revised" License
112 stars 45 forks source link

PHP 7 Compatibility #187

Closed Gompali closed 4 years ago

Gompali commented 4 years ago

Hi,

When I use PHPCompatibility to check your library should be fine with PHP 7.2, I have the following errors. Is it a no-go for it ?

FILE: /mnt/src/php-ews/tests/src/Mail/MailAPITest.php

FOUND 1 ERROR AFFECTING 1 LINE

87 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed | | in PHP 7. Found: "0x0E07"

FILE: /mnt/src/php-ews/examples/mail/creatingAnEmailUnsent.php

FOUND 1 ERROR AFFECTING 1 LINE

18 | ERROR | The behaviour of hexadecimal numeric strings was inconsistent prior to PHP 7 and support has been removed | | in PHP 7. Found: "0x0E07"

Time: 2.57 secs; Memory: 20MB

Garethp commented 4 years ago

It should work fine in PHP 7. My test suites run against PHP 7 and report no errors