Skip to content

Commit 3de4a29

Browse files
authored
Fix composer cache (#361)
1 parent eeb3cfb commit 3de4a29

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
]);
2020

2121
return (new Config())
22-
->setCacheFile(__DIR__ . '/runtime/.php-cs-fixer.cache')
22+
->setCacheFile(__DIR__ . '/runtime/cache/.php-cs-fixer.cache')
2323
->setParallelConfig(ParallelConfigFactory::detect())
2424
->setRules([
2525
'@PER-CS2.0' => true,

docker/compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ services:
1212
APP_ENV: "${APP_ENV:-dev}"
1313
APP_DEBUG: ${APP_DEBUG:-true}
1414
SERVER_NAME: ":80"
15+
COMPOSER_CACHE_DIR: /app/runtime/cache/composer
1516
restart: unless-stopped
1617
ports:
1718
- "${DEV_PORT:-80}:80"
1819
volumes:
1920
- ../:/app
2021
- ../runtime:/app/runtime
21-
- ${COMPOSER_CACHE_DIR:-~/.cache/composer}:/var/www/.composer
2222
- caddy_data:/data
2323
- caddy_config:/config
2424
tty: true

docker/compose.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ services:
1212
APP_ENV: "test"
1313
APP_DEBUG: "false"
1414
SERVER_NAME: ":80"
15+
COMPOSER_CACHE_DIR: /app/runtime/cache/composer
1516
volumes:
1617
- ../:/app
1718
- ../runtime:/app/runtime
18-
- ${COMPOSER_CACHE_DIR:-~/.cache/composer}:/var/www/.composer
1919
- caddy_data:/data
2020
- caddy_config:/config
2121
tty: true

psalm.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
findUnusedCode="false"
66
ensureOverrideAttribute="false"
77
strictBinaryOperands="false"
8-
cacheDirectory="/app/runtime/psalm-cache"
8+
cacheDirectory="/app/runtime/cache/psalm"
99
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xmlns="https://getpsalm.org/schema/config"
1111
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

0 commit comments

Comments
 (0)