-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from rasmusbe/v3
v3
- Loading branch information
Showing
13 changed files
with
1,451 additions
and
646 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 |
---|---|---|
|
@@ -10,5 +10,4 @@ trim_trailing_whitespace = true | |
insert_final_newline = true | ||
|
||
[*.php] | ||
indent_style = space | ||
indent_size = 4 |
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 +1,3 @@ | ||
vendor | ||
/.phpunit.result.cache | ||
/coverage |
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,15 +1,11 @@ | ||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- 7.2 | ||
- 7.3 | ||
- 7.4 | ||
|
||
install: | ||
- travis_retry composer install --no-interaction --prefer-source | ||
|
||
script: | ||
- vendor/bin/phpcs --standard=PSR2 src | ||
- vendor/bin/phpunit | ||
- composer test |
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,13 +1,16 @@ | ||
{ | ||
"name": "frozzare/personnummer", | ||
"name": "personnummer/personnummer", | ||
"type": "utility", | ||
"license": "MIT", | ||
"description": "Validate Swedish social security numbers", | ||
"authors": [ | ||
{ | ||
"name": "Fredrik Forsmo", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/frozzare" | ||
}, | ||
{ | ||
"name": "Rasmus Bengtsson", | ||
"homepage": "https://github.com/rasmusbe" | ||
} | ||
], | ||
"keywords": [ | ||
|
@@ -24,33 +27,40 @@ | |
"coordination" | ||
], | ||
"support": { | ||
"issues": "https://github.com/frozzare/php-personnummer/issues" | ||
"issues": "https://github.com/personnummer/php/issues" | ||
}, | ||
"require": { | ||
"php": ">=5.6" | ||
"php": ">=7.2" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "~4.0", | ||
"ext-json": "*", | ||
"squizlabs/php_codesniffer": "^3.4", | ||
"vladahejda/phpunit-assert-exception": "^1.0" | ||
"jchook/phpunit-assert-throws": "^1.0", | ||
"phpunit/phpunit": "^9.0", | ||
"phpcompatibility/php-compatibility": "^9.3", | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Frozzare\\Personnummer\\": "src/" | ||
"Personnummer\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Frozzare\\Tests\\Personnummer\\": "tests/" | ||
"Personnummer\\Tests\\": "tests/" | ||
} | ||
}, | ||
"scripts": { | ||
"lint": "vendor/bin/phpcs --standard=PSR2 src", | ||
"test": "vendor/bin/phpunit" | ||
"lint": "vendor/bin/phpcs --standard=ruleset.xml", | ||
"unittest": "vendor/bin/phpunit", | ||
"test": [ | ||
"@lint", | ||
"@unittest" | ||
] | ||
}, | ||
"config": { | ||
"platform": { | ||
"php": "5.6" | ||
"php": "7.3" | ||
} | ||
} | ||
} |
Oops, something went wrong.