mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-11-26 20:34:59 +01:00
add roave security advisories, and psalm taint analysis (#31)
This commit is contained in:
parent
5029dc6bf8
commit
1c5398202f
@ -27,6 +27,7 @@ script:
|
||||
- composer test:unit
|
||||
- if [[ $NIGHTLY_BUILD != 'true' ]]; then composer cs:check; fi
|
||||
- if [[ $NIGHTLY_BUILD != 'true' ]]; then composer type:check; fi
|
||||
- if [[ $NIGHTLY_BUILD != 'true' ]]; then composer security:analysis; fi
|
||||
|
||||
after_script:
|
||||
- if [[ $NIGHTLY_BUILD != 'true' ]]; then composer code:coverage; fi
|
||||
|
@ -19,7 +19,8 @@
|
||||
"vimeo/psalm": "dev-master",
|
||||
"phpunit/phpunit": "^8.5",
|
||||
"friendsofphp/php-cs-fixer": "^2.16",
|
||||
"php-coveralls/php-coveralls": "^2.2"
|
||||
"php-coveralls/php-coveralls": "^2.2",
|
||||
"roave/security-advisories": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
@ -41,6 +42,16 @@
|
||||
"type:check": "psalm",
|
||||
"type:coverage": "psalm --shepherd",
|
||||
"test:unit": "phpunit",
|
||||
"code:coverage": "php-coveralls -v"
|
||||
"code:coverage": "php-coveralls -v",
|
||||
"security:analysis": "psalm --taint-analysis",
|
||||
"check": [
|
||||
"@cs:check",
|
||||
"@type:check",
|
||||
"@security:analysis",
|
||||
"@test:unit"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 1200
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user