Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c4eda17

Browse files
build: ide need phpcs config
1 parent 048d78c commit c4eda17

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: composer install
2828

2929
- name: Lint
30-
run: ./vendor/bin/phpcs --extensions=php --standard=PSR12 src/ tests/
30+
run: ./vendor/bin/phpcs --standard=phpcs.xml src/ tests/
3131

3232
- name: PHPMD
3333
run: ./vendor/bin/phpmd . text phpmd.xml --exclude vendor

‎phpcs.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PSR12-FOO">
3+
<description>The PSR12 standard.</description>
4+
<exclude-pattern>/vendor/</exclude-pattern>
5+
<arg name="extensions" value="php" />
6+
7+
<!-- Include the whole PSR12 standard -->
8+
<rule ref="PSR12"/>
9+
</ruleset>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /