You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the docker on-liner to install the project.
~/dev/microsymfony🔒
❯ make test
PHPUnit 11.5.2 by Sebastian Bergmann and contributors.
Runtime: PHP 8.3.8
Configuration: /home/florent/dev/microsymfony/phpunit.xml.dist
................... 19 / 19 (100%)PHP Warning: file_put_contents(/home/florent/dev/microsymfony/.phpunit.result.cache): Failed to open stream: Permission denied in /home/florent/dev/microsymfony/vendor/phpunit/phpunit/sr
c/Runner/ResultCache/DefaultResultCache.php on line 160
Warning: file_put_contents(/home/florent/dev/microsymfony/.phpunit.result.cache): Failed to open stream: Permission denied in /home/florent/dev/microsymfony/vendor/phpunit/phpunit/src/Runner/ResultCache/DefaultResultCache.php on line 160
Time: 00:00.278, Memory: 34.00 MB
OK (19 tests, 26 assertions)
It's probably an issue with the fact that it's installed as root:
You are using Linux, I guess? I can't reproduce on macOS.
Maybe a note about this potential problem should be added in the doc.
I remember with Linux, Docker rights are a little more tricky than on macOS.
Because in this case, the project is created as root while with mac it is installed with the current user rights.
MicroSymfony version(s) affected
latest (today)
Description
I used the docker on-liner to install the project.
It's probably an issue with the fact that it's installed as root:
How to reproduce
Normal install using docker:
Possible Solution
Use a chown command after docker install such as
This fixes the issue.
Additional Context
No response
The text was updated successfully, but these errors were encountered: