File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1313 "require" : {
1414 "php" : " >=5.4" ,
1515 "behat/behat" : " ~3.0" ,
16- "kriswallsmith/buzz" : " ~0.14"
16+ "kriswallsmith/buzz" : " ~0.14" ,
17+ "phpunit/phpunit" : " >=5.7"
1718 },
1819 "autoload" : {
1920 "psr-4" : {
Original file line number Diff line number Diff line change 55use Buzz \Browser ;
66use Buzz \Message \Request ;
77use Exception ;
8- use PHPUnit_Framework_Assert as PHPUnit ;
8+ use PHPUnit \ Framework \ Assert as PHPUnit ;
99
1010/**
1111 * Defines application features from the specific context.
@@ -187,7 +187,7 @@ public function iOauthUsingTheClientCredentialsGrantWithScope($scope)
187187
188188 $ this ->sendOauthRequest ($ payload );
189189 }
190-
190+
191191 /**
192192 * @Given I oauth using the client credentials grant with :id and :secret and scope :scope
193193 *
@@ -699,7 +699,7 @@ public function createClientCredentialsGrantPayload($scope = null)
699699
700700 return $ payload ;
701701 }
702-
702+
703703 /**
704704 * Build a payload for the client credentials grant with the given variables
705705 *
@@ -890,7 +890,7 @@ protected function arrayGet($array, $key)
890890 return $ array ;
891891 }
892892
893- foreach (explode ('. ' , $ key ) as $ segment ) {
893+ foreach (explode ('. ' , $ key ) as $ segment ) {
894894 if (is_object ($ array ) === true ) {
895895 if (isset ($ array ->{$ segment }) === false ) {
896896 return ;
You can’t perform that action at this time.
0 commit comments