Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Commit

Permalink
Update symfony/console requirement from ^4.1 to ^4.1 || ^5.0 (#14)
Browse files Browse the repository at this point in the history
* Update symfony/console requirement from ^4.1 to ^4.1 || ^5.0

Updates the requirements on [symfony/console](https://github.com/symfony/console) to permit the latest version.
- [Release notes](https://github.com/symfony/console/releases)
- [Changelog](https://github.com/symfony/console/blob/master/CHANGELOG.md)
- [Commits](symfony/console@v4.1.0...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Added amqp to php for testing
  • Loading branch information
dependabot-preview[bot] authored and pkruithof committed Nov 26, 2019
1 parent 77ad4b0 commit 855d4f8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"name": "casco/amqp",
"license": "proprietary",
"type": "library",
"description": "Library for easy integration with humus/amqp",
"config": {
"sort-packages": true
},
"require": {
"ext-pcntl": "^7.2",
"php-amqplib/php-amqplib": "^2.8",
"prolic/humus-amqp": "^1.4",
"symfony/console": "^4.3",
"symfony/http-kernel": "^4.3"
"symfony/console": "^4.3 || ^5.0",
"symfony/http-kernel": "^4.3 || ^5.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0",
Expand Down
16 changes: 16 additions & 0 deletions docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
FROM php:7.2.11-cli-alpine3.7

RUN apk add --no-cache \
rabbitmq-c-dev

RUN docker-php-ext-install \
bcmath \
sockets \
pcntl

RUN apk add --virtual .build-dependencies --no-cache \
autoconf \
# g++ \
gcc \
# git \
libc-dev \
make \
&& pecl channel-update pecl.php.net \
&& pecl install amqp \
&& docker-php-ext-enable amqp \
# cleanup
&& apk del .build-dependencies

RUN curl -sS -o /tmp/composer-setup.php https://getcomposer.org/installer \
&& curl -sS -o /tmp/composer-setup.sig https://composer.github.io/installer.sig \
&& php -r "if (hash('SHA384', file_get_contents('/tmp/composer-setup.php')) !== trim(file_get_contents('/tmp/composer-setup.sig'))) { unlink('/tmp/composer-setup.php'); echo 'Invalid installer' . PHP_EOL; exit(1); }" \
Expand Down

0 comments on commit 855d4f8

Please sign in to comment.