Skip to content
Permalink
Browse files

Merge pull request #62 from ergebnis/feature/synchronize

Enhancement: Synchronize with ergebnis/php-library-template
  • Loading branch information
localheinz committed Mar 16, 2020
2 parents bce682f + 184fa3a commit f205bfffadbcc40d582fdd276d8508afb889ef18
Showing with 10 additions and 2 deletions.
  1. +1 −1 .editorconfig
  2. +7 −0 .github/workflows/integrate.yaml
  3. +1 −0 Makefile
  4. +1 −1 phpstan.neon
@@ -13,7 +13,7 @@ indent_size = 2
[*.neon]
indent_style = tab

[*.yaml]
[*.{yaml,yml}]
indent_size = 2

[Makefile]
@@ -189,6 +189,13 @@ jobs:
- name: "Create cache directory for phpstan/phpstan"
run: "mkdir -p .build/phpstan"

- name: "Cache cache directory for phpstan/phpstan"
uses: "actions/cache@v1"
with:
path: ".build/phpstan"
key: "php-${{ matrix.php-version }}-phpstan-${{ hashFiles('**/composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-phpstan-"

- name: "Run phpstan/phpstan"
run: "vendor/bin/phpstan analyse --configuration=phpstan.neon"

@@ -6,6 +6,7 @@ it: coding-standards dependency-analysis static-code-analysis doctrine tests ##

.PHONY: code-coverage
code-coverage: vendor ## Collects coverage from running unit tests with phpunit/phpunit
mkdir -p .build/phpunit
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text

.PHONY: coding-standards
@@ -17,4 +17,4 @@ parameters:
paths:
- src/
- test/
tmpDir: %currentWorkingDirectory%/.build/phpstan
tmpDir: %currentWorkingDirectory%/.build/phpstan/

0 comments on commit f205bff

Please sign in to comment.
You can’t perform that action at this time.