forked from w7corp/easywechat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/overtrue/wechat into over…
…true-master
- Loading branch information
Showing
360 changed files
with
13,288 additions
and
909 deletions.
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
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 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [overtrue] | ||
patreon: overtrue | ||
custom: https://www.easywechat.com/img/pay/wechat.jpg |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
## 我用的环境 | ||
|
||
PHP 版本: | ||
overtrue/wechat 版本: | ||
是否使用了框架?框架名称: | ||
* PHP 版本: | ||
* overtrue/wechat 版本: | ||
* 是否使用了框架?框架名称: | ||
|
||
## 问题及现象 | ||
|
||
描述你的问题现象,报错**贴截图**粘贴或者贴具体信息,提供**必要的代码段** | ||
<!-- 描述你的问题现象,报错**贴截图**粘贴或者贴具体信息,提供**必要的代码段** | ||
如果你不提供相关的代码,我不会做任何应答,直接 close,感谢! | ||
如果你不提供相关的代码,我不会做任何应答,直接 close,感谢!--> | ||
|
||
|
||
<!-- Love wechat? Please consider supporting our collective: | ||
👉 https://opencollective.com/wechat/donate --> | ||
👉 https://opencollective.com/wechat/donate --> |
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,23 @@ | ||
name: Lint | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
phpstan: | ||
name: PHPStan | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install Dependencies | ||
run: composer install --no-progress | ||
- name: Run PHPStan | ||
run: ./vendor/bin/phpstan analyse --no-progress | ||
|
||
php_cs_fixer: | ||
name: PHP-CS-Fxier | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install Dependencies | ||
run: composer install --no-progress | ||
- name: Run PHP-CS-Fxier | ||
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff 1>&2 |
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,25 @@ | ||
name: Test | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
phpunit: | ||
name: PHP-${{ matrix.php_version }}-${{ matrix.perfer }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
php_version: | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
perfer: | ||
- stable | ||
- lowest | ||
container: | ||
image: nauxliu/php-ci-image:${{ matrix.php_version }} | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Install Dependencies | ||
run: composer update --prefer-dist --no-interaction --no-suggest --prefer-${{ matrix.perfer }} | ||
- name: Run PHPUnit | ||
run: ./vendor/bin/phpunit |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,17 @@ | ||
parameters: | ||
level: 3 | ||
paths: | ||
- src | ||
inferPrivatePropertyTypeFromConstructor: true | ||
ignoreErrors: | ||
- '#EasyWeChat\\MicroMerchant\\Kernel\\BaseClient::__construct\(\) does not call parent constructor from EasyWeChat\\Payment\\Kernel\\BaseClient#' | ||
- '#Psr.*Exception is not subtype of Throwable#' | ||
- '#Call to an undefined method Overtrue\\Socialite\\ProviderInterface#' | ||
- '#Access to an undefined property .*\$base#' | ||
- '#Call to an undefined method EasyWeChat\\Payment\\Application::verifySignature\(\)#' | ||
- '#Access to an undefined property EasyWeChat\\Kernel\\Messages\\Raw::\$content#' | ||
- '#Default value of the parameter \#2 \$depth \(INF.0\) of method EasyWeChat\\Kernel\\Support\\Arr::flatten\(\) is incompatible with type int#' | ||
- '#Access to an undefined property EasyWeChat\\Kernel\\ServiceContainer::\$extension#' | ||
- '#Method EasyWeChat\\Kernel\\Contracts\\MessageInterface::transformToXml\(\) invoked with 1 parameter, 0 required#' | ||
- '#Method EasyWeChat\\Kernel\\Support\\Collection::__set_state\(\) should return object but returns array#' | ||
- '#Property EasyWeChat\\Payment\\Kernel\\BaseClient::\$app \(EasyWeChat\\Payment\\Application\) does not accept EasyWeChat\\MicroMerchant\\Application#' |
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
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
Oops, something went wrong.