Skip to content

Commit

Permalink
Updated configs for ci (#5)
Browse files Browse the repository at this point in the history
Fixed sync with Scrutinizer
  • Loading branch information
pvsaintpe committed Jan 5, 2021
1 parent 5666f67 commit 36021f1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/labeler.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ type:build:
- "phpunit.github.xml"
- ".gitignore"
- "ecs.yml"
- "phpcs.xml"

dependencies:
- "composer.json"
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: CI

on:
on:
push:
branches:
- '*'
- master
pull_request:
schedule:
- cron: '0 0 * * *'
types:
- opened
- reopened
- edited
- synchronize

env:
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'
Expand Down
9 changes: 9 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<ruleset>
<file>./</file>
<exclude-pattern>./vendor/*</exclude-pattern>
<exclude-pattern>./database/*</exclude-pattern>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./.github/*</exclude-pattern>
<rule ref="PSR1" />
</ruleset>

0 comments on commit 36021f1

Please sign in to comment.