Skip to content

Commit 88fa91e

Browse files
committed
phpstan fix
1 parent 3e013f4 commit 88fa91e

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ install:
5555

5656
script:
5757
# misssing pkg/amqp-ext pkg/job-queue pkg/redis
58-
- if [ "$PHPSTAN" = true ]; then ./bin/phpstan analyse -l 1 -c phpstan.neon pkg/enqueue pkg/psr-queue pkg/fs pkg/simple-client; fi
59-
- if [ "$PHPSTAN" = true ]; then ./bin/phpstan analyse -l 1 -c phpstan.neon pkg/stomp pkg/dbal pkg/enqueue-bundle pkg/null pkg/sqs pkg/test; fi
60-
- if [ "$PHPSTAN" = true ]; then ./bin/phpstan analyse -l 1 -c phpstan.neon pkg/gearman pkg/pheanstalk pkg/async-event-dispatcher; fi
58+
- 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/psr-queue pkg/redis pkg/simple-client pkg/sqs pkg/stomp pkg/test; fi
6159
- if [ "$PHP_CS_FIXER" = true ]; then IFS=$'\n'; COMMIT_SCA_FILES=($(git diff --name-only --diff-filter=ACMRTUXB "${TRAVIS_COMMIT_RANGE}")); unset IFS; fi
6260
- 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
6361
- if [ "$UNIT_TESTS" = true ]; then bin/phpunit --exclude-group=functional; fi

‎phpstan.neon‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
parameters:
22
excludes_analyse:
33
- pkg/enqueue/Util/UUID.php
4-
- pkg/enqueue-bundle/Tests/Functional/App
4+
- pkg/enqueue-bundle/Tests/Functional/App
5+
- pkg/job-queue/Test/JobRunner.php
6+
- pkg/job-queue/Tests/Functional/app/AppKernel.php
7+
- pkg/redis/PhpRedis.php
8+
- pkg/redis/RedisConnectionFactory.php

0 commit comments

Comments
 (0)