Skip to content

Commit 70e0bc4

Browse files
committed
Merge branch 'master' of github.com:overtrue/laravel-wechat
* 'master' of github.com:overtrue/laravel-wechat: (80 commits) Update README.md Update README.md Add notice. overtrue#237 Change lumen config dir in REDME.md Remove type hint. Revert "Indicates if loading of the provider is deferred." style upgrade Indicates if loading of the provider is deferred. fix wework config. Fixed config bug Apply fixes from StyleCI (overtrue#212) 去除 debug 过时选项 w7corp/easywechat#1118 Apply fixes from StyleCI (overtrue#211) Config Bugfix. overtrue#209 Bugfix. Update. Bugfix overtrue#205 Resolve overtrue#202 Update ServiceProvider.php Apply fixes from StyleCI (overtrue#200) ... # Conflicts: # src/config.php
2 parents b569432 + 9c154e4 commit 70e0bc4

19 files changed

+675
-569
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
composer.lock
3+
.php_cs.cache

.php_cs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
$header = <<<EOF
3+
This file is part of the overtrue/laravel-wechat.
4+
5+
(c) overtrue <i@overtrue.me>
6+
7+
This source file is subject to the MIT license that is bundled
8+
with this source code in the file LICENSE.
9+
EOF;
10+
11+
return PhpCsFixer\Config::create()
12+
->setRiskyAllowed(true)
13+
->setRules(array(
14+
'@Symfony' => true,
15+
'header_comment' => array('header' => $header),
16+
'array_syntax' => array('syntax' => 'short'),
17+
'ordered_imports' => true,
18+
'no_useless_else' => true,
19+
'no_useless_return' => true,
20+
'php_unit_construct' => true,
21+
'php_unit_strict' => true,
22+
))
23+
->setFinder(
24+
PhpCsFixer\Finder::create()
25+
->exclude('vendor')
26+
->in(__DIR__)
27+
)
28+
;

0 commit comments

Comments
 (0)