File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ before_script:
14
14
script :
15
15
- ./vendor/bin/phpcs --standard=PSR2 src
16
16
- ./vendor/bin/phpcs --standard=PSR2 tests
17
- - ./vendor/bin/phpunit
17
+ - ./vendor/bin/phpunit tests/Qiniu/Tests/
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ public function xReqId()
160
160
public function needRetry ()
161
161
{
162
162
$ code = $ this ->statusCode ;
163
- if ( $ code < 0 || ($ code / 100 == 5 and $ code != 579 ) || $ code == 996 ) {
163
+ if ($ code < 0 || ($ code / 100 == 5 and $ code != 579 ) || $ code == 996 ) {
164
164
return true ;
165
165
}
166
166
}
Original file line number Diff line number Diff line change 26
26
27
27
function qiniuTempFile ($ size )
28
28
{
29
- $ fileName = tempnam (sys_get_temp_dir () , 'qiniu_ ' );
29
+ $ fileName = tempnam (sys_get_temp_dir (), 'qiniu_ ' );
30
30
$ file = fopen ($ fileName , 'wb ' );
31
31
if ($ size > 0 ) {
32
32
fseek ($ file , $ size -1 );
You can’t perform that action at this time.
0 commit comments