Skip to content

Commit

Permalink
Always ignore dependency analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Mar 3, 2024
1 parent 6f35382 commit 96976bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .nomad/scripts/prestart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ php artisan route:cache --no-interaction --verbose
php artisan cache:clear --no-interaction --verbose
php artisan migrate --no-interaction --force --verbose

if [ ${APP_ENV} = "production" ]
then
export SKIP_DEPENDENCY_ANALYZER=true
fi

if [ ${APP_ENV} != "sandbox" ]
then
export SKIP_PHPSTAN_CHECKS=true
Expand Down
6 changes: 2 additions & 4 deletions config/enlightn.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,8 @@
\Enlightn\Enlightn\Analyzers\Performance\CacheHeaderAnalyzer::class,
\Enlightn\Enlightn\Analyzers\Security\HSTSHeaderAnalyzer::class,
] : []),
...(env('SKIP_DEPENDENCY_ANALYZER') === true ? [
\Enlightn\Enlightn\Analyzers\Security\StableDependencyAnalyzer::class,
\Enlightn\Enlightn\Analyzers\Security\VulnerableDependencyAnalyzer::class,
] : []),
\Enlightn\Enlightn\Analyzers\Security\StableDependencyAnalyzer::class,
\Enlightn\Enlightn\Analyzers\Security\VulnerableDependencyAnalyzer::class,
],

/*
Expand Down

0 comments on commit 96976bc

Please sign in to comment.