Skip to content

Commit

Permalink
Merge pull request #638 from phpDocumentor/task/improve-tests
Browse files Browse the repository at this point in the history
[TASK] Move Cache of development tools into /.cache
  • Loading branch information
jaapio authored Oct 29, 2023
2 parents 1bf319a + 8d85944 commit bdda759
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/vendor/
/.build
.phpunit.cache
.deptrac.cache
/.psalm
/.cache
/**/temp
/output/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ cleanup-cache:

.PHONY: test-architecture
test-architecture: vendor ## Runs deptrac to enfore architecural rules
$(PHP_BIN) ./vendor/bin/deptrac --config-file deptrac.packages.yaml
$(PHP_BIN) ./vendor/bin/deptrac --config-file deptrac.packages.yaml --cache-file=.cache/.deptrac.cache

vendor: composer.json composer.lock
composer validate --no-check-publish
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ parameters:
# - packages/guides-markdown/tests
- packages/guides-restructured-text/tests

tmpDir: .build/phpstan/
tmpDir: .cache/phpstan/
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
displayDetailsOnTestsThatTriggerErrors="true"
cacheDirectory=".phpunit.cache"
cacheDirectory=".cache/.phpunit.cache"
requireCoverageMetadata="false"
>
<testsuites>
Expand Down
2 changes: 1 addition & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<psalm
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
cacheDirectory=".psalm/cache"
cacheDirectory=".cache/psalm"
errorLevel="5"
errorBaseline="psalm-baseline.xml"
findUnusedBaselineEntry="true"
Expand Down

0 comments on commit bdda759

Please sign in to comment.