-
-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Description
Using the phpdoc/phpdoc:latest Docker image, and only if I pass along an XML config file, I get the following error.
WITHOUT a config file, the documentation parsing works flawless.
Expected behavior
Speakable error message, or the documentation should get parsed…
Actual behavior
Using different XML configs (initially I had still an old one… but updated it & tried agatin), I always get the following error:
Attaching to phpdoc-1
phpdoc-1 | phpDocumentor 3.4.2-v3.5.3+10b8a76
phpdoc-1 |
phpdoc-1 |
phpdoc-1 | In Assert.php line 2074:
phpdoc-1 |
phpdoc-1 | "" is not a valid path
phpdoc-1 |
phpdoc-1 |
Steps to reproduce the problem
- Have a phpdoc XML-config file ready
- Setup a docker-compose.yml & add a service for the image "phpdoc/phpdoc:latest"
phpdoc:
image: phpdoc/phpdoc:latest
platform: linux/x86_64
restart: no
volumes:
command:
- Bind the XML config file to the service using "volumes:"
volumes:
- "./config.xml:/config.xml"
- "./app-code:/data"
- "./docs:/docs"
- Set the "command:" to include an XML config file
command: -c /config.xml -d /data -t /docs
- Run the docker-service:
docker compose up -d phpdoc
Your environment
Docker, macOS
- Version used: phpDocumentor 3.4.2-v3.5.3+10b8a76
- Install method: Docker image
- Operating system and version (e.g. Ubuntu 20.04, Windows 10): macOS 15
- Link to your project: n/a
- Attach code that is involved
Metadata
Metadata
Assignees
Labels
No labels