Skip to content

Commit e37f4ce

Browse files
authored
Merge pull request #20 from articstudio/develop
Fix PSR-1 for tests
2 parents 1f14a4a + 5495eec commit e37f4ce

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.0.5] - 2019-02-06
5+
6+
### Fixed
7+
8+
- Fix PSR-1 for tests
9+
10+
## [1.0.4] - 2019-02-04
11+
12+
### Fixed
13+
14+
- Improve outputs and fix some bugs
15+
416
## [1.0.3] - 2019-02-01
517

618
### Fixed
@@ -28,6 +40,8 @@ All notable changes to this project will be documented in this file.
2840
- PHP
2941

3042

43+
[1.0.5]: https://github.com/articstudio/php-bin/releases/tag/1.0.5
44+
[1.0.4]: https://github.com/articstudio/php-bin/releases/tag/1.0.4
3145
[1.0.3]: https://github.com/articstudio/php-bin/releases/tag/1.0.3
3246
[1.0.2]: https://github.com/articstudio/php-bin/releases/tag/1.0.2
3347
[1.0.1]: https://github.com/articstudio/php-bin/releases/tag/1.0.1

src/Commands/Php/Psr1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Psr1 extends PhpBinShellCommand
1313
*/
1414
protected $shellCommand = 'php ./vendor/bin/phpcs '
1515
. '--standard=PSR1 --colors '
16-
. '--ignore=*/vendor/*,*/build/*,*/resources/* ./';
16+
. '--ignore=*/vendor/*,*/build/*,*/resources/*,*/test*/* ./';
1717

1818
/**
1919
* Command name

src/Commands/Php/Psr1Fix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Psr1Fix extends PhpBinShellCommand
1313
*/
1414
protected $shellCommand = 'php ./vendor/bin/phpcbf '
1515
. '--standard=PSR1 --colors '
16-
. '--ignore=*/vendor/*,*/build/*,*/resources/* ./';
16+
. '--ignore=*/vendor/*,*/build/*,*/resources/*,*/test*/* ./';
1717

1818
/**
1919
* Command name

0 commit comments

Comments
 (0)