2021-02-26 16:16:17 +00:00
|
|
|
{
|
|
|
|
"name": "beberlei/assert",
|
|
|
|
"description": "Thin assertion library for input validation in business models.",
|
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Benjamin Eberlei",
|
|
|
|
"email": "kontakt@beberlei.de",
|
|
|
|
"role": "Lead Developer"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Richard Quadling",
|
|
|
|
"email": "rquadling@gmail.com",
|
|
|
|
"role": "Collaborator"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"license": "BSD-2-Clause",
|
|
|
|
"keywords": [
|
|
|
|
"assert",
|
|
|
|
"assertion",
|
|
|
|
"validation"
|
|
|
|
],
|
2021-11-15 15:33:35 +00:00
|
|
|
"config": {
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"php": "^7"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"friendsofphp/php-cs-fixer": "*",
|
|
|
|
"phpstan/phpstan-shim": "*",
|
|
|
|
"phpunit/phpunit": ">=6.0.0 <8"
|
|
|
|
},
|
2021-02-26 16:16:17 +00:00
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Assert\\": "lib/Assert"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib/Assert/functions.php"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"Assert\\Tests\\": "tests/Assert/Tests"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"tests/Assert/Tests/Fixtures/functions.php"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"assert:generate-docs": "php bin/generate_method_docs.php",
|
|
|
|
"assert:cs-lint": "php-cs-fixer fix --diff -vvv --dry-run",
|
|
|
|
"assert:cs-fix": "php-cs-fixer fix . -vvv || true",
|
|
|
|
"assert:sa-code": "vendor/bin/phpstan analyse --configuration=phpstan-code.neon --no-progress --ansi -l 7 bin lib",
|
|
|
|
"assert:sa-tests": "vendor/bin/phpstan analyse --configuration=phpstan-tests.neon --no-progress --ansi -l 7 tests"
|
|
|
|
}
|
|
|
|
}
|