twilio / twilio-php

A PHP library for communicating with the Twilio REST API and generating TwiML.
MIT License
1.57k stars 562 forks source link

fix: test failures for PhpUnit >=10 #769

Closed isha689 closed 1 year ago

isha689 commented 1 year ago

Fixes

Some methods have been deprecated and removed in PhpUnit 10 including assertObjectNotHasAttribute(), assertRegExp() Replacing these methods with their alternatives will lead to test failures for Php 7.2 because PHP 7.2 requires PhpUnit 8.5 and the alternative assertMatchesRegularExpression() for assertRegExp() is not supported by phpUnit 8.5

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.