mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
01052bf8af
Add a composer.json file Bring in squizlabs/php_codesniffer and phpcompatibility/php-compatibility via composer Do php linting via jakub-onderka/php-parallel-lint
19 lines
585 B
JSON
19 lines
585 B
JSON
{
|
|
"name": "billz/raspap-webgui",
|
|
"homepage": "https://raspap.com/",
|
|
"license": "GPL-3.0",
|
|
"keywords": ["raspberrypi"],
|
|
"require-dev": {
|
|
"jakub-onderka/php-parallel-lint": "1.0.0",
|
|
"phpcompatibility/php-compatibility": "^9.3.5",
|
|
"squizlabs/php_codesniffer": "^3.5.5"
|
|
},
|
|
"scripts": {
|
|
"lint": "parallel-lint . --exclude vendor",
|
|
"phpcs": "phpcs -p -s --config-set installed_paths vendor/phpcompatibility/php-compatibility .",
|
|
"test": [
|
|
"composer lint",
|
|
"composer phpcs"
|
|
]
|
|
}
|
|
}
|