composer.json
{
"name": "keboola/php-temp",
"description": "Temp library handles application temporary files",
"license": "MIT",
"keywords": [
"filesystem",
"temp"
],
"authors": [
{
"name": "Keboola",
"email": "devel@keboola.com"
}
],
"require": {
"php": ">=7.1",
"symfony/filesystem": ">2.8"
},
"require-dev": {
"phpunit/phpunit": "^7.0|^8.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"phpstan/phpstan-shim": "^0.11",
"keboola/coding-standard": "^8.0",
"infection/infection": "^0.12"
},
"autoload": {
"psr-4": {
"Keboola\\Temp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\Temp\\Tests\\": "tests/"
}
},
"scripts": {
"tests": "phpunit --coverage-clover build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml",
"phpstan": "phpstan analyse ./src ./tests --level=max --no-progress -c phpstan.neon",
"phpcs": "phpcs -n --ignore=vendor --extensions=php .",
"phplint": "parallel-lint -j 10 --exclude vendor .",
"infection": "infection --threads=4 --min-covered-msi=80 --coverage=build/logs",
"build": [
"@phplint",
"@phpcs",
"@phpstan",
"@tests",
"@infection"
],
"ci": [
"@composer validate --no-check-publish --no-check-all",
"@build"
]
},
"config": {
"sort-packages": true
}
}