Skip to content

Commit f566abd

Browse files
committed
7.0 init
1 parent 35b583a commit f566abd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+1770
-3684
lines changed

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.phar
2+
*.zip
3+
build/artifacts
4+
phpunit.xml
5+
phpunit.functional.xml
6+
.DS_Store
7+
.swp
8+
.build
9+
composer.lock
10+
vendor
11+
src/package.xml

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
language: php
22
php:
3-
- 5.2
43
- 5.3
54
- 5.4
65
- 5.5
76
- 5.6
87
before_script:
9-
- export QINIU_ACCESS_KEY="Vhiv6a22kVN_zhtetbPNeG9sY3JUL1HG597EmBwQ"
10-
- export QINIU_SECRET_KEY="b5b5vNg5nnkwkPfW5ayicPE_pj6hqgKMQEaWQ6JD"
8+
- export QINIU_ACCESS_KEY="QWYn5TFQsLLU1pL5MFEmX3s5DmHdUThav9WyOWOm"
9+
- export QINIU_SECRET_KEY="Bxckh6FA-Fbs9Yt3i3cbKVK22UPBmAOHJcL95pGz"
1110
- export QINIU_BUCKET_NAME="phpsdk"
12-
- export QINIU_KEY_NAME="file_name"
11+
- export QINIU_KEY_NAME="php-logo.png"
1312
- export QINIU_TEST_ENV="travis"
13+
- composer install --prefer-source
1414
script:
15-
- cd tests; phpunit .
15+
- ./vendor/bin/phpcs --standard=PSR2 src
16+
- ./vendor/bin/phpcs --standard=PSR2 tests
17+
- ./vendor/bin/phpunit

CHANGELOG.md

Lines changed: 0 additions & 103 deletions
This file was deleted.

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Bai Long
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

Makefile

Lines changed: 0 additions & 9 deletions
This file was deleted.

composer.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,25 @@
22
"name": "qiniu/php-sdk",
33
"type": "library",
44
"description": "Qiniu Resource (Cloud) Storage SDK for PHP",
5-
"keywords": ["qiniu","storage","CDN","sdk"],
6-
"homepage": "http://www.qiniu.com/",
5+
"keywords": ["qiniu", "storage", "sdk", "cloud"],
6+
"homepage": "http://developer.qiniu.com/",
77
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "Qiniu",
11+
"email": "[email protected]",
12+
"homepage": "http://www.qiniu.com"
13+
}
14+
],
815
"require": {
9-
"php": ">=5.2.4"
16+
"php": ">=5.3.3"
17+
},
18+
"require-dev": {
19+
"phpunit/phpunit": "~4.0",
20+
"squizlabs/php_codesniffer": "~2.0"
1021
},
1122
"autoload": {
12-
"files": ["qiniu/rs_utils.php"]
23+
"psr-4": {"Qiniu\\": "src/Qiniu"},
24+
"files": ["src/Qiniu/functions.php"]
1325
}
1426
}

demo/fetch.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

demo/get_policy.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

demo/pfop.php

Lines changed: 0 additions & 22 deletions
This file was deleted.

demo/sign_req.php

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)