-
-
Notifications
You must be signed in to change notification settings - Fork 44
docs: update documentation #115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jmleroux
wants to merge
8
commits into
badges:master
Choose a base branch
from
jmleroux:docker-doc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
19ad9f9
docs: documentation for Docker
jmleroux e4db206
chore: common docker config
jmleroux 1cdcfc0
chore: remove unused scripts
jmleroux 8831930
chore: PHP 8.4 as default container for make targets and PHP 8.4 test…
jmleroux f4c1756
fix: fix tests make target by making it a phony target. Fix phpunit i…
jmleroux 8093271
ci: dedicated job for PHP 8.4
jmleroux c9dfc66
ci: ignore deprecation errors for PHP 8.4
jmleroux b768dbe
ci: ignore deprecation errors for behat tests
jmleroux File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| CONTAINER ?= php83 | ||
| DOCKER_RUN=docker compose run --rm $(CONTAINER) | ||
|
|
||
| setup: | ||
| docker compose build $(CONTAINER) | ||
| $(DOCKER_RUN) composer update | ||
|
|
||
| tests: | ||
| docker compose run --rm $(CONTAINER) bin/php-cs-fixer fix --verbose --diff --dry-run | ||
| docker compose run --rm $(CONTAINER) bin/phpspec run --format=pretty | ||
| docker compose run --rm $(CONTAINER) bin/behat --snippets-for | ||
|
|
||
| matrix-tests: | ||
| CONTAINER=php81 $(MAKE) setup | ||
| CONTAINER=php81 $(MAKE) tests | ||
|
|
||
| CONTAINER=php82 $(MAKE) setup | ||
| CONTAINER=php82 $(MAKE) tests | ||
|
|
||
| CONTAINER=php83 $(MAKE) setup | ||
| CONTAINER=php83 $(MAKE) tests | ||
|
|
||
| doc-images: | ||
| docker compose run --rm php83 rm -f doc/flat.svg doc/flat-square.svg doc/plastic.svg doc/for-the-badge.svg | ||
|
|
||
| docker compose run --rm php83 bin/poser poser FLAT blue -s "flat" -p "doc/flat.svg" | ||
| docker compose run --rm php83 bin/poser poser "FLAT SQUARE" blue -s "flat-square" -p "doc/flat-square.svg" | ||
| docker compose run --rm php83 bin/poser poser PLASTIC blue -s "plastic" -p "doc/plastic.svg" | ||
| docker compose run --rm php83 bin/poser poser "FOR THE BADGE" blue -s "for-the-badge" -p "doc/for-the-badge.svg" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,28 @@ | ||
| x-php-service: &php-service | ||
| working_dir: /application | ||
| stdin_open: true | ||
| volumes: | ||
| - .:/application:cached | ||
| environment: | ||
| - COMPOSER_HOME=/tmp/.composer | ||
|
|
||
| services: | ||
| php81: | ||
| <<: *php-service | ||
| build: | ||
| context: .docker/php81 | ||
| working_dir: /application | ||
| stdin_open: true | ||
| volumes: | ||
| - .:/application:cached | ||
|
|
||
| php82: | ||
| <<: *php-service | ||
| build: | ||
| context: .docker/php82 | ||
| working_dir: /application | ||
| stdin_open: true | ||
| volumes: | ||
| - .:/application:cached | ||
|
|
||
| php83: | ||
| <<: *php-service | ||
| build: | ||
| context: .docker/php83 | ||
| working_dir: /application | ||
| stdin_open: true | ||
| volumes: | ||
| - .:/application:cached | ||
|
|
||
| php84: | ||
| <<: *php-service | ||
| build: | ||
| context: .docker/php84 | ||
| working_dir: /application | ||
| stdin_open: true | ||
| volumes: | ||
| - .:/application:cached |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.