Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Commit

Permalink
Update dot files
Browse files Browse the repository at this point in the history
  • Loading branch information
ElfSundae committed Sep 15, 2019
1 parent 4fd416d commit f02217e
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 22 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
@@ -0,0 +1,15 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2
31 changes: 16 additions & 15 deletions .gitattributes
@@ -1,16 +1,17 @@
# Path-based git attributes
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
* text=auto

# Ignore all test and documentation with "export-ignore".
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/.php_cs.dist export-ignore
/.scrutinizer.yml export-ignore
/.sensiolabs.yml export-ignore
/.styleci.yml export-ignore
/.travis.yml export-ignore
/phpunit.xml export-ignore
/phpunit.xml.dist export-ignore
/.github export-ignore
/docs export-ignore
/tests export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.php_cs export-ignore
.php_cs.dist export-ignore
.scrutinizer.yml export-ignore
.sensiolabs.yml export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
phpcs.xml.dist export-ignore
phpunit.xml export-ignore
phpunit.xml.dist export-ignore
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -2,3 +2,6 @@
/build
composer.phar
composer.lock
/phpunit.xml
.phpunit.result.cache
.php_cs.cache
7 changes: 4 additions & 3 deletions .scrutinizer.yml
@@ -1,12 +1,13 @@
build:
nodes:
analysis:
project_setup:
override: true
tests:
override: [php-scrutinizer-run]

filter:
excluded_paths:
- "tests/"
excluded_paths: [tests/*]

checks:
php:
Expand All @@ -26,5 +27,5 @@ checks:

tools:
external_code_coverage:
timeout: 1200
timeout: 600
runs: 4
11 changes: 7 additions & 4 deletions .travis.yml
Expand Up @@ -6,21 +6,24 @@ php:
- 7.0
- 7.1
- 7.2
- hhvm
- 7.3

# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

## Cache composer
cache:
directories:
- $HOME/.composer/cache

matrix:
include:
- php: 5.6
env: 'COMPOSER_FLAGS="--prefer-lowest --prefer-stable"'
- php: 7.1
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist --no-suggest
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
Expand Down

0 comments on commit f02217e

Please sign in to comment.