Skip to content

Commit

Permalink
force correct environment to prepare the cache before running psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
transistive committed Sep 16, 2024
1 parent 03d771b commit cf78648
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
},
"scripts": {
"psalm": "php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true",
"psalm": "APP_ENV=dev php bin/console.php cache:warmup && vendor/bin/psalm --show-info=true",
"fix-cs": "vendor/bin/php-cs-fixer fix",
"check-cs": "vendor/bin/php-cs-fixer fix --dry-run",
"ci-symfony-install-version": "./.github/scripts/setup-symfony-env.bash"
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</projectFiles>
<plugins>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin">
<containerXml>var/cache/test/Neo4j_Neo4jBundle_Tests_App_TestKernelTestDebugContainer.xml</containerXml>
<containerXml>var/cache/dev/Neo4j_Neo4jBundle_Tests_App_TestKernelDevDebugContainer.xml</containerXml>
</pluginClass>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
Expand Down

0 comments on commit cf78648

Please sign in to comment.