File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ install:
4040 - rm $HOME/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini;
4141 - echo "memory_limit=2048M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
4242 - composer require symfony/symfony:${SYMFONY_VERSION} --no-update
43- - composer install --ignore-platform-reqs # ext-amqp is not installed
43+ - composer install
4444 - if [ "$FUNCTIONAL_TESTS" = true ]; then docker --version; fi
4545 - if [ "$FUNCTIONAL_TESTS" = true ]; then docker-compose --version; fi
4646 - if [ "$FUNCTIONAL_TESTS" = true ]; then bin/dev -b; fi
4747
4848script :
49- - if [ "$PHPSTAN" = true ]; then php -d memory_limit=512M bin/phpstan analyse -l 1 -c phpstan.neon pkg/amqp-ext pkg/async-event-dispatcher pkg/dbal pkg/enqueue pkg/enqueue-bundle pkg/fs pkg/gearman pkg/job-queue pkg/null pkg/pheanstalk pkg/redis pkg/simple-client pkg/sqs pkg/stomp pkg/test pkg/rdkafka; fi
49+ - if [ "$PHPSTAN" = true ]; then composer require "phpstan/phpstan:0.7.0" ; php -d memory_limit=512M bin/phpstan analyse -l 1 -c phpstan.neon pkg/amqp-ext pkg/async-event-dispatcher pkg/dbal pkg/enqueue pkg/enqueue-bundle pkg/fs pkg/gearman pkg/job-queue pkg/null pkg/pheanstalk pkg/redis pkg/simple-client pkg/sqs pkg/stomp pkg/test pkg/rdkafka; fi
5050 - if [ "$PHP_CS_FIXER" = true ]; then IFS=$'\n'; COMMIT_SCA_FILES=($(git diff --name-only --diff-filter=ACMRTUXB "${TRAVIS_COMMIT_RANGE}")); unset IFS; fi
5151 - if [ "$PHP_CS_FIXER" = true ]; then ./bin/php-cs-fixer fix --config=.php_cs.dist -v --dry-run --stop-on-violation --using-cache=no --path-mode=intersection -- "${COMMIT_SCA_FILES[@]}"; fi
5252 - if [ "$UNIT_TESTS" = true ]; then bin/phpunit --exclude-group=functional; fi
Original file line number Diff line number Diff line change 3535 "symfony/event-dispatcher" : " ^2.8|^3" ,
3636 "symfony/console" : " ^2.8|^3" ,
3737 "friendsofphp/php-cs-fixer" : " ^2" ,
38- "empi89/php-amqp-stubs" : " *@dev" ,
39- "phpstan/phpstan" : " ^0.7.0"
38+ "empi89/php-amqp-stubs" : " *@dev"
4039 },
4140 "autoload" : {
4241 "files" : [
5150 }
5251 },
5352 "config" : {
54- "bin-dir" : " bin"
53+ "bin-dir" : " bin" ,
54+ "platform" : {
55+ "ext-amqp" : " 1.7" ,
56+ "ext-gearman" : " 1.1" ,
57+ "ext-rdkafka" : " 3.3"
58+ }
5559 },
5660 "repositories" : [
5761 {
You can’t perform that action at this time.
0 commit comments