File tree Expand file tree Collapse file tree 5 files changed +71
-0
lines changed
Expand file tree Collapse file tree 5 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ ; This file is for unifying the coding style for different editors and IDEs.
2+ ; More information at http://editorconfig.org
3+
4+ root = true
5+
6+ [* ]
7+ charset = utf-8
8+ indent_size = 4
9+ indent_style = space
10+ end_of_line = lf
11+ insert_final_newline = true
12+ trim_trailing_whitespace = true
13+
14+ [* .md ]
15+ trim_trailing_whitespace = false
Original file line number Diff line number Diff line change 1+ # Path-based git attributes
2+ # https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+ # Ignore all test and documentation with "export-ignore".
5+ /.gitattributes export-ignore
6+ /.gitignore export-ignore
7+ /.travis.yml export-ignore
8+ /phpunit.xml.dist export-ignore
9+ /.scrutinizer.yml export-ignore
10+ /tests export-ignore
Original file line number Diff line number Diff line change 1+ filter :
2+ excluded_paths : [tests/*]
3+
4+ checks :
5+ php :
6+ remove_extra_empty_lines : true
7+ remove_php_closing_tag : true
8+ remove_trailing_whitespace : true
9+ fix_use_statements :
10+ remove_unused : true
11+ preserve_multiple : false
12+ preserve_blanklines : true
13+ order_alphabetically : true
14+ fix_php_opening_tag : true
15+ fix_linefeed : true
16+ fix_line_ending : true
17+ fix_identation_4spaces : true
18+ fix_doc_comments : true
19+
20+ tools :
21+ external_code_coverage : true
Original file line number Diff line number Diff line change 1+ preset : laravel
2+
3+ linting : true
Original file line number Diff line number Diff line change 1+ language : php
2+
3+ php :
4+ - 5.6
5+ - 7.0
6+ - 7.1
7+
8+ env :
9+ matrix :
10+ - COMPOSER_FLAGS="--prefer-lowest"
11+ - COMPOSER_FLAGS=""
12+
13+ before_script :
14+ - travis_retry composer self-update
15+ - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
16+
17+ script :
18+ - phpunit --coverage-text --coverage-clover=coverage.clover
19+
20+ after_script :
21+ - wget https://scrutinizer-ci.com/ocular.phar
22+ - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
You can’t perform that action at this time.
0 commit comments