Skip to content

Commit 9e877e8

Browse files
committed
format
1 parent 7763a6a commit 9e877e8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ before_script:
1616
- composer install --prefer-source
1717
script:
1818
- ./vendor/bin/phpcs --standard=PSR2 src
19-
# - ./vendor/bin/phpcs --standard=PSR2 tests
19+
- ./vendor/bin/phpcs --standard=PSR2 tests
2020
- ./vendor/bin/phpunit tests/Qiniu/Tests/

src/Qiniu/Processing/PersistentFop.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function execute($key, array $fops, $force = false)
2727
if (!empty($this->pipeline)) {
2828
$params['pipeline'] = $this->pipeline;
2929
}
30-
if (!empty($this->notify_url)){
30+
if (!empty($this->notify_url)) {
3131
$params['notifyURL'] = $this->notify_url;
3232
}
3333
if ($force) {

tests/Qiniu/Tests/AuthTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ public function testUploadToken()
7171
global $dummyAuth;
7272
$_SERVER['override_qiniu_auth_time'] = true;
7373
$token = $dummyAuth->uploadToken('1', '2', 3600, array('endUser'=> 'y'));
74-
$expect = 'abcdefghklmnopq:x53hx7845_pygLochtRWlnrL-90=:eyJzY29wZSI6IjE6MiIsImRlYWRsaW5lIjoxMjM0NTcxNDkwfQ==';
75-
$this->assertEquals($expect, $token);
74+
$exp = 'abcdefghklmnopq:x53hx7845_pygLochtRWlnrL-90=:eyJzY29wZSI6IjE6MiIsImRlYWRsaW5lIjoxMjM0NTcxNDkwfQ==';
75+
$this->assertEquals($exp, $token);
7676
unset($_SERVER['override_qiniu_auth_time']);
7777
}
7878

tests/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
2+
// @codingStandardsIgnoreFile
33
require_once __DIR__.'/../vendor/autoload.php';
44

55
use Qiniu\Auth;

0 commit comments

Comments
 (0)