Skip to content

Commit 36021f1

Browse files
authored
Updated configs for ci (#5)
Fixed sync with Scrutinizer
1 parent 5666f67 commit 36021f1

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/labeler.config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ type:build:
44
- "phpunit.github.xml"
55
- ".gitignore"
66
- "ecs.yml"
7+
- "phpcs.xml"
78

89
dependencies:
910
- "composer.json"

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
name: CI
22

3-
on:
3+
on:
44
push:
55
branches:
6-
- '*'
6+
- master
77
pull_request:
8-
schedule:
9-
- cron: '0 0 * * *'
8+
types:
9+
- opened
10+
- reopened
11+
- edited
12+
- synchronize
1013

1114
env:
1215
php_extensions: 'apcu, bcmath, ctype, curl, dom, iconv, intl, json, mbstring, opcache, openssl, pdo, pdo_pgsql, pcntl, pcov, posix, redis, session, simplexml, sockets, tokenizer, xml, xmlwriter, zip'

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>
3+
<file>./</file>
4+
<exclude-pattern>./vendor/*</exclude-pattern>
5+
<exclude-pattern>./database/*</exclude-pattern>
6+
<exclude-pattern>./tests/*</exclude-pattern>
7+
<exclude-pattern>./.github/*</exclude-pattern>
8+
<rule ref="PSR1" />
9+
</ruleset>

0 commit comments

Comments
 (0)