composer.json
{
"name": "schnittstabil/array_some",
"type": "library",
"description": "Checks whether some element resp. key in an array passes a test implemented by a callback function.",
"license": "MIT",
"keywords": ["some", "any", "element", "key", "exists", "array"],
"authors": [
{
"name": "Michael Mayer",
"email": "michael@schnittstabil.de"
}
],
"autoload": {
"files": ["src/array_some.php"]
},
"autoload-dev": {
"psr-4": { "Schnittstabil\\ArraySome\\": "tests" }
},
"require": {
"php": ">=5.6.0"
},
"require-dev": {
"codeclimate/php-test-reporter": "^0.3.0",
"fabpot/php-cs-fixer": "^1.10",
"satooshi/php-coveralls": "^1.0",
"schnittstabil/sugared-phpunit": "^0.3.0",
"squizlabs/php_codesniffer": "^2.6"
},
"scripts": {
"clean": "rm -rf build/",
"doc": [
"sugared-sami"
],
"lint": [
"phpcs -s --standard=PSR1,PSR2 src/ tests/",
"php-cs-fixer fix --dry-run --diff src",
"php-cs-fixer fix --dry-run --diff tests"
],
"test": [
"sugared-phpunit",
"composer lint"
]
}
}