Skip to content

Commit ca9b920

Browse files
committed
update dependencies
1 parent 62b8294 commit ca9b920

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1740
-1840
lines changed

.travis.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
language: php
22

33
php:
4-
- 7.2
5-
- 7.3
6-
- 7.4snapshot
4+
- 7.4
75

86
matrix:
97
allow_failures:
@@ -19,16 +17,13 @@ before_script:
1917

2018
install:
2119
- travis_retry composer install --no-interaction --no-suggest
22-
- travis_retry wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar
23-
- chmod +x ocular.phar
24-
- composer show
2520

2621
script:
2722
- ./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-clover=coverage.clover
28-
- if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/psalm --config=psalm.xml; fi
29-
- if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/phpstan analyse src --level 7; fi
30-
- if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
23+
- if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/psalm --config=psalm.xml; fi
24+
- if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/phpstan analyse src --level 7; fi
25+
- if [ $TRAVIS_PHP_VERSION = "7.4" ]; then ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run; fi
3126

3227
after_script:
33-
- if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then wget -c -nc --retry-connrefused --tries=0 https://scrutinizer-ci.com/ocular.phar; fi
34-
- if [ "$TRAVIS_PHP_VERSION" == "7.2" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
28+
- if [ $TRAVIS_PHP_VERSION = "7.4" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
29+
- if [ $TRAVIS_PHP_VERSION = "7.4" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

bin/long_pooling

Lines changed: 0 additions & 64 deletions
This file was deleted.

bin/web_hook

Lines changed: 0 additions & 67 deletions
This file was deleted.

composer.json

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,23 @@
1818
"autoload": {
1919
"psr-4": {
2020
"ServiceBus\\TelegramBot\\": "src/"
21-
},
22-
"files": [
23-
"src/Serializer/functions.php"
24-
]
21+
}
2522
},
2623
"autoload-dev": {
2724
"psr-4": {
2825
"ServiceBus\\TelegramBot\\Tests\\": "tests/"
29-
},
30-
"files": [
31-
"src/Serializer/functions.php"
32-
]
26+
}
3327
},
3428
"require": {
35-
"php": ">=7.3",
29+
"php": ">=7.4",
3630
"ext-json": "*",
37-
"php-service-bus/http-client": "v4.0.*",
38-
"php-service-bus/mutex": "v4.0.*",
31+
"php-service-bus/common": "v4.1.*",
32+
"php-service-bus/http-client": "v4.1.*",
33+
"php-service-bus/mutex": "v4.1.*",
3934
"symfony/serializer-pack": "^v1",
40-
"moneyphp/money": "v3.2.*",
41-
"symfony/validator": "v5.0.*",
42-
"doctrine/annotations": "v1.8.*",
35+
"moneyphp/money": "v3.3.*",
36+
"symfony/validator": "v5.1.*",
37+
"doctrine/annotations": "v1.10.*",
4338
"doctrine/cache": "v1.10.*",
4439
"amphp/log": "^1",
4540
"amphp/socket": "^1",
@@ -48,10 +43,10 @@
4843
},
4944
"require-dev": {
5045
"php-service-bus/code-style-config": "v0.1.*",
51-
"phpunit/phpunit": "v8.3.*",
52-
"vimeo/psalm": "v3.4.*",
53-
"phpstan/phpstan": "v0.11.*",
54-
"symfony/dotenv": "v4.2.*"
46+
"phpunit/phpunit": "v9.1.*",
47+
"vimeo/psalm": "v3.11.*",
48+
"phpstan/phpstan": "v0.12.*",
49+
"symfony/dotenv": "v5.1.*"
5550
},
5651
"prefer-stable": true,
5752
"minimum-stability": "dev",

0 commit comments

Comments
 (0)