-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
74 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
# More info at: | ||
# https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*.php] | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = tab | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.php] | ||
indent_style = tab | ||
|
||
[*.yml] | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
vendor/ | ||
composer.lock | ||
coverage.xml | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
build: | ||
nodes: | ||
analysis: | ||
tests: | ||
override: | ||
- php-scrutinizer-run | ||
coverage: | ||
tests: | ||
override: | ||
- command: 'php vendor/bin/phpunit --coverage-clover coverage.xml' | ||
coverage: | ||
file: 'coverage.xml' | ||
format: 'clover' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
{ | ||
"name": "sunrise/vin", | ||
"description": "Sunrise VIN", | ||
"keywords": ["fenric", "sunrise", "vin"], | ||
"homepage": "https://github.com/sunrise-php/vin", | ||
"license": "MIT", | ||
"authors": [{ | ||
"name": "Anatoly Fenric", | ||
"email": "anatoly@fenric.ru", | ||
"homepage": "https://anatoly.fenric.ru/" | ||
}], | ||
"require": { | ||
"php": "^7.1" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "7.5.1" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"data/manufacturers.php", | ||
"data/regions.php" | ||
], | ||
"psr-4": { | ||
"Sunrise\\Vin\\": "src/" | ||
} | ||
} | ||
"name": "sunrise/vin", | ||
"description": "Sunrise VIN", | ||
"keywords": ["fenric", "sunrise", "vin"], | ||
"homepage": "https://github.com/sunrise-php/vin", | ||
"license": "MIT", | ||
"authors": [{ | ||
"name": "Anatoly Fenric", | ||
"email": "anatoly@fenric.ru", | ||
"homepage": "https://anatoly.fenric.ru/" | ||
}], | ||
"require": { | ||
"php": "^7.1" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "7.5.1" | ||
}, | ||
"autoload": { | ||
"files": [ | ||
"data/manufacturers.php", | ||
"data/regions.php" | ||
], | ||
"psr-4": { | ||
"Sunrise\\Vin\\": "src/" | ||
} | ||
}, | ||
"scripts": { | ||
"test": [ | ||
"phpunit --colors=always --coverage-text" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit colors="true"> | ||
<testsuites> | ||
<testsuite name="Sunrise VIN Test Suite"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<testsuites> | ||
<testsuite name="Sunrise VIN Test Suite"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory>./src</directory> | ||
</whitelist> | ||
</filter> | ||
</phpunit> |