Skip to content

Commit 49a0946

Browse files
committed
update php version to 7.4
1 parent c1f9e0e commit 49a0946

17 files changed

+367
-435
lines changed

.travis.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
language: php
22

33
php:
4-
- 7.3
54
- 7.4snapshot
65

7-
matrix:
8-
allow_failures:
9-
- php: 7.4snapshot
10-
116
cache:
127
directories:
138
- $HOME/.cache/composer
@@ -24,10 +19,10 @@ install:
2419

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

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

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## What is it?
2-
[![Build Status](https://travis-ci.org/php-service-bus/mutex.svg?branch=v3.3)](https://travis-ci.org/php-service-bus/mutex)
3-
[![Code Coverage](https://scrutinizer-ci.com/g/php-service-bus/mutex/badges/coverage.png?b=v3.3)](https://scrutinizer-ci.com/g/php-service-bus/mutex/?branch=v3.3)
4-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/php-service-bus/mutex/badges/quality-score.png?b=v3.3)](https://scrutinizer-ci.com/g/php-service-bus/mutex/?branch=v3.3)
2+
[![Build Status](https://travis-ci.org/php-service-bus/mutex.svg?branch=v4.0)](https://travis-ci.org/php-service-bus/mutex)
3+
[![Code Coverage](https://scrutinizer-ci.com/g/php-service-bus/mutex/badges/coverage.png?b=v4.0)](https://scrutinizer-ci.com/g/php-service-bus/mutex/?branch=v4.0)
4+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/php-service-bus/mutex/badges/quality-score.png?b=v4.0)](https://scrutinizer-ci.com/g/php-service-bus/mutex/?branch=v4.0)
55

66
This component is part of the [PHP Service Bus](https://github.com/php-service-bus/service-bus): mutexes implementation.
77
> The code is partly based on the [amp/sync](https://github.com/amphp/sync) project.

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727
}
2828
},
2929
"require": {
30-
"php": ">=7.3",
31-
"amphp/amp": "v2.2.*",
32-
"amphp/file": "v0.3.*"
30+
"php": ">=7.4",
31+
"amphp/amp": "v2.4.*",
32+
"amphp/file": "v1.0.*"
3333
},
3434
"require-dev": {
35-
"php-service-bus/code-style-config": "v0.1.*",
36-
"phpunit/phpunit": "v8.3.*",
37-
"vimeo/psalm": "v3.4.*",
35+
"php-service-bus/code-style-config": "v1.1.*",
36+
"phpunit/phpunit": "v8.4.*",
37+
"vimeo/psalm": "v3.7.*",
3838
"phpstan/phpstan": "v0.11.*"
3939
},
4040
"prefer-stable": true,

0 commit comments

Comments
 (0)