mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-24 04:47:46 +00:00
Change all content from rst format to markdown and correct spelling/grammar
This commit is contained in:
23
docs/source/development/FAQ.md
Normal file
23
docs/source/development/FAQ.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# Frequently asked questions
|
||||
|
||||
## Continuous integration
|
||||
|
||||
Pipeline fails, but php-cs-fixer doesn't alert me when running it locally?
|
||||
========================================
|
||||
|
||||
It is possible that you run php-cs-fixer on your local instance of chill and no fixes are made.
|
||||
Everything seems fine, so you push. However, once the pipeline is run in gitlab, you're notified that it failed due to php
|
||||
cs errors.
|
||||
|
||||
In this case it's likely that you have to update your version of php-cs-fixer.
|
||||
php-cs-fixer is installed when building the docker image: https://gitea.champs-libres.be/Chill-project/chill-skeleton-basic/src/branch/main/Dockerfile#L50
|
||||
|
||||
Consequently, to update php-cs-fixer, we have to update the image by building it again.
|
||||
|
||||
For this the following commands can be used.
|
||||
|
||||
```
|
||||
docker compose build --pull php
|
||||
# replace existing containers
|
||||
docker compose up -d --force-recreate php
|
||||
```
|
||||
Reference in New Issue
Block a user