Skip to content

Commit

Permalink
chore: Update static files.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 15, 2021
1 parent 15ad14f commit 1a9330e
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/.env.example export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/phpunit.xml export-ignore
/README.md export-ignore
/tests export-ignore
/spec export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
infection.json.dist export-ignore
grumphp.yml.dist export-ignore
phpspec.yml.dist export-ignore
/docs export-ignore
/docker export-ignore
docker-compose.yaml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.env
/test.php
/composer.lock
.phpunit.result.cache
21 changes: 21 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
build:
nodes:
analysis:
environment:
php:
version: 7.4
tests:
override:
- php-scrutinizer-run

filter:
paths:
- 'src/*'

tools:
external_code_coverage:
timeout: 600
php_loc: true
php_pdepend: true
php_sim: true
php_changetracking: true
19 changes: 19 additions & 0 deletions grumphp.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
imports:
- { resource: vendor/drupol/php-conventions/config/php73/grumphp.yml }

parameters:
tasks.phpstan.configuration: phpstan.neon
extra_tasks:
psalm:
show_info: true
phpspec:
verbose: true
clover_coverage:
clover_file: build/logs/clover.xml
level: 80
infection:
threads: 10
test_framework: phpspec
configuration: infection.json.dist
min_msi: 50
min_covered_msi: 50
18 changes: 18 additions & 0 deletions infection.json.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"timeout": 10,
"source": {
"directories": [
"src"
]
},
"logs": {
"text": "build/infection.log",
"summary": "build/summary.log",
"debug": "build/debug.log",
"perMutator": "build/per-mutator.md",
"badge": {
"branch": "master"
}
},
"testFramework":"phpspec"
}

0 comments on commit 1a9330e

Please sign in to comment.