Skip to content

Commit

Permalink
fix(security): switch to the new security checker
Browse files Browse the repository at this point in the history
  • Loading branch information
mremi committed Mar 15, 2021
1 parent fb83c1e commit a9d4331
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ v0.4.0
* Added support of dd function
* Replaced deprecated localheinz/composer-normalize in favor of ergebnis one
* Allow PHP ^8.0
* Switch to the new security checker

v0.3.1
------
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ app-install: ## to install app
composer install --prefer-dist

app-security-check: ## to check if any security issues in the PHP dependencies
vendor/bin/security-checker security:check
rm -f local-php-security-checker
curl -sSL https://github.com/fabpot/local-php-security-checker/releases/download/v1.0.0/local-php-security-checker_1.0.0_linux_amd64 -o local-php-security-checker
chmod a+x local-php-security-checker
./local-php-security-checker

app-static-analysis: ## to run static analysis
php -dmemory_limit=-1 vendor/bin/phpstan analyze src tests -l 7
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"nikic/php-parser": "^4.3",
"phpstan/phpstan-phpunit": "^0.12",
"phpunit/phpunit": "^8.5",
"sensiolabs/security-checker": "^6.0",
"symfony/var-dumper": "^5.0"
},
"extra": {
Expand Down

0 comments on commit a9d4331

Please sign in to comment.