-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 71c0c54
Showing
4,576 changed files
with
880,969 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
My `composer.json`: | ||
|
||
``` | ||
...replace me... | ||
``` | ||
|
||
Output of `composer diagnose`: | ||
|
||
``` | ||
...replace me... | ||
``` | ||
|
||
When I run this command: | ||
|
||
``` | ||
...replace me... | ||
``` | ||
|
||
I get the following output: | ||
|
||
``` | ||
...replace me... | ||
``` | ||
|
||
And I expected this to happen: | ||
|
||
``` | ||
...replace me... | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.DS_Store | ||
/vendor | ||
/.env | ||
.idea/* | ||
*.pem | ||
/coverage/ | ||
/.php_cs.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
build: | ||
nodes: | ||
analysis: | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
coverage: | ||
tests: | ||
override: | ||
- command: make test | ||
coverage: | ||
file: coverage/coverage.clover | ||
format: clover | ||
|
||
filter: | ||
excluded_paths: | ||
- tests/* | ||
|
||
checks: | ||
php: | ||
code_rating: true | ||
remove_extra_empty_lines: true | ||
remove_php_closing_tag: true | ||
remove_trailing_whitespace: true | ||
fix_use_statements: | ||
remove_unused: true | ||
preserve_multiple: false | ||
preserve_blanklines: true | ||
order_alphabetically: true | ||
fix_php_opening_tag: true | ||
fix_linefeed: true | ||
fix_line_ending: true | ||
fix_identation_4spaces: true | ||
fix_doc_comments: true | ||
tools: | ||
external_code_coverage: false | ||
php_code_coverage: true | ||
php_code_sniffer: | ||
config: | ||
standard: PSR2 | ||
filter: | ||
paths: ['src'] | ||
php_loc: | ||
enabled: true | ||
excluded_dirs: [vendor, tests] | ||
php_cpd: | ||
enabled: true | ||
excluded_dirs: [vendor, tests] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: php | ||
|
||
php: | ||
- 5.5 | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- hhvm | ||
- nightly | ||
env: | ||
- COMPOSER_OPTS="" | ||
- COMPOSER_OPTS="--prefer-lowest" | ||
|
||
matrix: | ||
allow_failures: | ||
- php: 7.2 | ||
- php: 7.3 | ||
- php: hhvm | ||
- php: nightly | ||
fast_finish: true | ||
|
||
sudo: false | ||
|
||
install: | ||
- 'if [ $(phpenv version-name) == "5.5" ]; then rm ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini; fi' | ||
- 'if [ $(phpenv version-name) >= "5.6" ] && [ -v COMPOSER_OPTS ]; then composer require --dev phpunit/phpunit "^7.5"; fi' | ||
- 'if [ $(phpenv version-name) != "hhvm" ] && [ $(phpenv version-name) != "nightly" ]; then echo "xdebug.overload_var_dump = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi' | ||
- composer --version | ||
- travis_retry composer update $COMPOSER_OPTS --no-interaction --prefer-source | ||
|
||
script: | ||
- make test | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CHANGELOG | ||
|
||
## 1.0.0 - 2019-02-01 | ||
|
||
* Initial release of the Alibaba Cloud SDK for PHP Version 1.0.0 on Packagist See <https://github.com/aliyun/openapi-sdk-php> for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Contributing to Composer | ||
======================== | ||
|
||
Please note that this project is released with a | ||
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/4/). | ||
By participating in this project you agree to abide by its terms. | ||
|
||
Reporting Issues | ||
---------------- | ||
|
||
When reporting issues, please try to be as descriptive as possible, and include | ||
as much relevant information as you can. A step by step guide on how to | ||
reproduce the issue will greatly increase the chances of your issue being | ||
resolved in a timely manner. | ||
|
||
For example, if you are experiencing a problem while running one of the | ||
commands, please provide full output of said command in very very verbose mode | ||
(`-vvv`, e.g. `composer install -vvv`). | ||
|
||
If your issue involves installing, updating or resolving dependencies, the | ||
chance of us being able to reproduce your issue will be much higher if you | ||
share your `composer.json` with us. | ||
|
||
Security Reports | ||
---------------- | ||
|
||
Please send any sensitive issue to [sdk-team@alibabacloud.com](mailto:sdk-team@alibabacloud.com). Thanks! | ||
|
||
Installation from Source | ||
------------------------ | ||
|
||
Prior to contributing to Composer, you must be able to run the test suite. | ||
To achieve this, you need to acquire the Composer source code: | ||
|
||
1. Run `git clone https://github.com/composer/composer.git` | ||
2. Download the [`composer.phar`](https://getcomposer.org/composer.phar) executable | ||
3. Run Composer to get the dependencies: `cd composer && php ../composer.phar install` | ||
|
||
You can run the test suite by executing `vendor/bin/phpunit` when inside the | ||
composer directory, and run Composer by executing the `bin/composer`. To test | ||
your modified Composer code against another project, run `php | ||
/path/to/composer/bin/composer` inside that project's directory. | ||
|
||
Contributing policy | ||
------------------- | ||
|
||
Fork the project, create a feature branch, and send us a pull request. | ||
|
||
To ensure a consistent code base, you should make sure the code follows | ||
the [PSR-2 Coding Standards](http://www.php-fig.org/psr/psr-2/). You can also | ||
run [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) with the | ||
configuration file that can be found in the project root directory. | ||
|
||
If you would like to help, take a look at the [list of open issues](https://github.com/composer/composer/issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 1999-2019 Alibaba Group Holding Ltd. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
help: | ||
@echo "Please use \`make <target>' where <target> is one of" | ||
@echo " install to install composer." | ||
@echo " test to perform all tests." | ||
@echo " test-unit to perform unit tests." | ||
@echo " test-feature to perform feature tests." | ||
@echo " coverage-show to show the code coverage report." | ||
@echo " cs to make code keep style." | ||
@echo " dump dump services Resolver." | ||
|
||
install: | ||
composer install --dev | ||
|
||
test: | ||
php -d memory_limit=-1 vendor/bin/phpunit | ||
|
||
test-unit: | ||
php -d memory_limit=-1 vendor/bin/phpunit --testsuite=Unit | ||
|
||
test-feature: | ||
php -d memory_limit=-1 vendor/bin/phpunit --testsuite=Feature | ||
|
||
coverage-show: | ||
open coverage/coverage/index.html | ||
|
||
cs: | ||
php -d memory_limit=-1 vendor/bin/php-cs-fixer fix ./ | ||
|
||
dump: | ||
php build/serviceResolverDump.php | ||
make cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Alibaba Cloud SDK for PHP | ||
|
||
<https://www.alibabacloud.com/> | ||
|
||
Copyright 1999-2019 Alibaba Group. or its affiliates. All Rights Reserved. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"). | ||
You may not use this file except in compliance with the License. | ||
A copy of the License is located at | ||
|
||
<http://www.apache.org/licenses/LICENSE-2.0> | ||
|
||
or in the "license" file accompanying this file. This file is distributed | ||
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
express or implied. See the License for the specific language governing | ||
permissions and limitations under the License. | ||
|
||
# Guzzle | ||
|
||
<https://github.com/guzzle/guzzle> | ||
|
||
Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
|
||
# jmespath.php | ||
|
||
<https://github.com/mtdowling/jmespath.php> | ||
|
||
Copyright (c) 2014 Michael Dowling, https://github.com/mtdowling | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
Oops, something went wrong.