File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 7
7
"license" : " Apache-2.0" ,
8
8
"require" : {
9
9
"php" : " ^7.4|^8.0" ,
10
- "google/auth" : " ^1.28 " ,
10
+ "google/auth" : " ^1.33 " ,
11
11
"google/apiclient-services" : " ~0.200" ,
12
12
"firebase/php-jwt" : " ~6.0" ,
13
13
"monolog/monolog" : " ^2.9||^3.0" ,
16
16
"guzzlehttp/psr7" : " ^1.8.4||^2.2.1"
17
17
},
18
18
"require-dev" : {
19
- "squizlabs/php_codesniffer" : " ^3.0 " ,
19
+ "squizlabs/php_codesniffer" : " ^3.8 " ,
20
20
"symfony/dom-crawler" : " ~2.1" ,
21
21
"symfony/css-selector" : " ~2.1" ,
22
22
"cache/filesystem-adapter" : " ^1.1" ,
Original file line number Diff line number Diff line change 148
148
There MUST be one space between the closing parenthesis and the opening brace
149
149
The structure body MUST be indented once
150
150
The closing brace MUST be on the next line after the body -->
151
- <rule ref =" Squiz.ControlStructures.ControlSignature" >
152
- <properties >
153
- <property name =" ignoreComments" value =" true" />
154
- </properties >
155
- </rule >
151
+ <rule ref =" Squiz.ControlStructures.ControlSignature" />
156
152
<rule ref =" Squiz.WhiteSpace.ScopeClosingBrace" >
157
153
<exclude-pattern >src/aliases\.php</exclude-pattern >
158
154
</rule >
Original file line number Diff line number Diff line change @@ -851,9 +851,12 @@ public function testCredentialsOptionWithCredentialsLoader()
851
851
->willReturn ('cache-key ' );
852
852
853
853
// Ensure the access token provided by our credentials loader is used
854
- $ credentials ->fetchAuthToken ( Argument::any ())
854
+ $ credentials ->updateMetadata ([], null , Argument::any ())
855
855
->shouldBeCalledOnce ()
856
- ->willReturn (['access_token ' => 'abc ' ]);
856
+ ->willReturn (['authorization ' => 'Bearer abc ' ]);
857
+ $ credentials ->getLastReceivedToken ()
858
+ ->shouldBeCalledTimes (2 )
859
+ ->willReturn (null );
857
860
858
861
$ client = new Client (['credentials ' => $ credentials ->reveal ()]);
859
862
You can’t perform that action at this time.
0 commit comments