-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
php 8+ only, usable with phpunit 10 and 11
- Loading branch information
Showing
5 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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,3 @@ | ||
FROM php:8.3-fpm | ||
RUN apt -y update && apt -y install git unzip | ||
COPY --from=composer/composer:2-bin /composer /usr/bin/composer |
This file contains 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,16 @@ | ||
build: | ||
docker build . -t phpunit_exceptions_image -f Dockerfile | ||
|
||
composer-update: build | ||
docker run -w /app -v $(shell pwd):/app phpunit_exceptions_image composer update | ||
sudo chmod 777 -R vendor | ||
|
||
composer-install: build | ||
docker run -w /app -v $(shell pwd):/app phpunit_exceptions_image composer install | ||
sudo chmod 777 -R vendor | ||
|
||
phpstan: | ||
docker run -w /app -v $(shell pwd):/app phpunit_exceptions_image composer phpstan | ||
|
||
phpunit: | ||
docker run -w /app -v $(shell pwd):/app phpunit_exceptions_image composer phpunit |
This file contains 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 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 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