-
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.
Release 1.0.0: PHP 7.4 compatibility (#1)
- Loading branch information
Showing
8 changed files
with
81 additions
and
94 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,11 +1,2 @@ | ||
language: php | ||
php: | ||
- '5.6' | ||
- '7.3' | ||
|
||
before_script: | ||
- composer self-update | ||
- composer install --no-interaction | ||
|
||
script: | ||
- composer test | ||
- make ci |
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,15 @@ | ||
.phony: install test cs-check cs-fix | ||
|
||
install: | ||
docker-compose run --rm php composer install --no-interaction --no-suggest | ||
|
||
test: | ||
docker-compose run --rm php vendor/bin/phpunit | ||
|
||
cs-check: | ||
docker-compose run --rm php vendor/bin/phpcs --standard=PSR2 src tests | ||
|
||
cs-fix: | ||
docker-compose run --rm php vendor/bin/phpcbf --standard=PSR2 src tests | ||
|
||
ci: install cs-check test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: '3.5' | ||
|
||
services: | ||
php: | ||
image: composer:latest | ||
container_name: php | ||
volumes: | ||
- .:/app:delegated | ||
working_dir: /app |
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