-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
299 additions
and
550 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
vendor/ | ||
composer.lock | ||
/vendor | ||
/composer.lock |
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 |
---|---|---|
@@ -1,18 +1,28 @@ | ||
filter: | ||
excluded_paths: | ||
- tests/* | ||
- vendor/* | ||
- Tests/* | ||
|
||
checks: | ||
php: | ||
code_rating: true | ||
duplication: true | ||
|
||
build: | ||
tests: | ||
environment: | ||
redis: false | ||
docker: true | ||
|
||
dependencies: | ||
override: | ||
- | ||
command: ./vendor/bin/phpunit --coverage-clover ./clover.xml | ||
coverage: | ||
file: clover.xml | ||
format: clover | ||
- docker-compose up -d --remove-orphans --build | ||
- docker-compose exec -T php /usr/local/bin/php /usr/local/bin/composer install | ||
|
||
nodes: | ||
coverage: | ||
tests: | ||
override: | ||
- command: docker-compose run --rm -T php /usr/local/bin/php /app/vendor/bin/phpunit --coverage-clover=coverage.xml | ||
coverage: | ||
file: coverage.xml | ||
format: clover |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
FROM php:7.4-fpm-alpine | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER 1 | ||
|
||
RUN apk add git build-base php7-dev && \ | ||
pecl -q install xdebug && \ | ||
docker-php-ext-enable xdebug && \ | ||
curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | ||
|
||
WORKDIR /app |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
phpunit: | ||
docker-compose run --rm -T php /usr/local/bin/php /app/vendor/bin/phpunit | ||
|
||
phpstan: | ||
docker-compose run --rm -T php /usr/local/bin/php /app/vendor/bin/phpstan analyse | ||
|
||
coverage: | ||
docker-compose run --rm -T php /usr/local/bin/php /app/vendor/bin/phpunit --coverage-html=vendor/coverage | ||
|
||
composer-update: | ||
docker-compose run --rm -T php /usr/local/bin/php /usr/local/bin/composer update |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.