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:
1414script :
1515 - ./vendor/bin/phpcs --standard=PSR2 src
1616 - ./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()
160160 public function needRetry ()
161161 {
162162 $ 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 ) {
164164 return true ;
165165 }
166166 }
Original file line number Diff line number Diff line change 2626
2727function qiniuTempFile ($ size )
2828{
29- $ fileName = tempnam (sys_get_temp_dir () , 'qiniu_ ' );
29+ $ fileName = tempnam (sys_get_temp_dir (), 'qiniu_ ' );
3030 $ file = fopen ($ fileName , 'wb ' );
3131 if ($ size > 0 ) {
3232 fseek ($ file , $ size -1 );
You can’t perform that action at this time.
0 commit comments