Skip to content

Commit edcd763

Browse files
committed
chore: use PSR-12 as our coding standard
1 parent 6367456 commit edcd763

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We accept contributions via Pull Requests on [Github](https://github.com/eXolnet
77

88
## Pull Requests
99

10-
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - Check the code style with ``$ composer lint`` and fix it with ``$ composer lint-fix``.
10+
- **[PSR-12 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md)** - Check the code style with ``$ composer lint`` and fix it with ``$ composer lint-fix``.
1111

1212
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
1313

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
}
3838
},
3939
"scripts": {
40-
"lint": "vendor/bin/phpcs -p --standard=PSR2 config src tests",
41-
"lint-fix": "vendor/bin/phpcbf -p --standard=PSR2 config src tests",
40+
"lint": "vendor/bin/phpcs -p --standard=PSR12 config src tests",
41+
"lint-fix": "vendor/bin/phpcbf -p --standard=PSR12 config src tests",
4242
"test": "vendor/bin/phpunit",
4343
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
4444
},

0 commit comments

Comments
 (0)