File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11/.php_cs.cache
2+ /.phpunit.result.cache
23/composer.lock
34/vendor
Original file line number Diff line number Diff line change 2020 "twilio/sdk" : " 6.*"
2121 },
2222 "require-dev" : {
23- "friendsofphp/php-cs-fixer" : " ^1.9 " ,
23+ "friendsofphp/php-cs-fixer" : " ^2.0 " ,
2424 "illuminate/console" : " ~4||~5" ,
2525 "illuminate/support" : " ~4||~5" ,
26- "phpunit/phpunit" : " ~4.5 "
26+ "phpunit/phpunit" : " ~8.0 "
2727 },
2828 "autoload" : {
2929 "psr-4" : {
Original file line number Diff line number Diff line change 88 convertWarningsToExceptions =" true"
99 processIsolation =" false"
1010 stopOnFailure =" false"
11- syntaxCheck =" false"
1211>
1312 <testsuites >
1413 <testsuite name =" Package Test Suite" >
1514 <directory suffix =" .php" >./tests/</directory >
1615 </testsuite >
1716 </testsuites >
18- </phpunit >
17+ </phpunit >
Original file line number Diff line number Diff line change 22namespace Aloha \Twilio \Tests ;
33
44use Aloha \Twilio \Commands \TwilioCallCommand ;
5- use PHPUnit_Framework_TestCase ;
5+ use PHPUnit \ Framework \ TestCase ;
66
7- class TwilioCallCommandTest extends PHPUnit_Framework_TestCase
7+ class TwilioCallCommandTest extends TestCase
88{
99 /**
1010 * Test the name of the command
1111 */
1212 public function testName ()
1313 {
1414 // Arrange
15- $ stub = $ this ->getMock ('Aloha\Twilio\TwilioInterface ' );
15+ $ stub = $ this ->createMock ('Aloha\Twilio\TwilioInterface ' );
1616 $ command = new TwilioCallCommand ($ stub );
1717
1818 // Act
Original file line number Diff line number Diff line change 22namespace Aloha \Twilio \Tests ;
33
44use Aloha \Twilio \Commands \TwilioSmsCommand ;
5- use PHPUnit_Framework_TestCase ;
5+ use PHPUnit \ Framework \ TestCase ;
66
7- class TwilioSmsCommandTest extends PHPUnit_Framework_TestCase
7+ class TwilioSmsCommandTest extends TestCase
88{
99 /**
1010 * Test the name of the command
1111 */
1212 public function testName ()
1313 {
1414 // Arrange
15- $ stub = $ this ->getMock ('Aloha\Twilio\TwilioInterface ' );
15+ $ stub = $ this ->createMock ('Aloha\Twilio\TwilioInterface ' );
1616 $ command = new TwilioSmsCommand ($ stub );
1717
1818 // Act
You can’t perform that action at this time.
0 commit comments