Skip to content

Commit a1ab2da

Browse files
committed
Dependencies and Travis CI config updated
1 parent 52843f6 commit a1ab2da

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ matrix:
44
include:
55
- php: '7.3'
66
env: XDEBUG=YES
7-
- php: '7.4snapshot'
8-
env: XDEBUG=NO
7+
- php: '7.4'
8+
env: XDEBUG=YES
99

1010
install:
1111
- mkdir -p ./build/logs
@@ -14,7 +14,7 @@ install:
1414

1515
script:
1616
- vendor/bin/phpcs -sp --report-junit=build/logs/phpcs.xml
17-
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml; else vendor/bin/phpunit; fi
17+
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml; else vendor/bin/phpunit; fi
1818
- if [ "$XDEBUG" == "YES" ]; then vendor/bin/infection --coverage=build/logs --threads=4 --no-progress; fi
1919

2020
after_success:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
### Added
9+
- Upgraded `remorhaz/php-json-pointer`.
10+
711
## [0.5.0] - 2019-11-20
812
### Added
913
- Implementation totally refactored.

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"php": "^7.3",
2020
"ext-intl": "*",
2121
"remorhaz/php-json-data": "^0.5.2",
22-
"remorhaz/php-json-pointer": "^0.6.5"
22+
"remorhaz/php-json-pointer": "^0.6.7"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^8.4.3",
26-
"infection/infection": "^0.14.2",
27-
"squizlabs/php_codesniffer": "^3.5.2"
25+
"phpunit/phpunit": "^9.0.1",
26+
"infection/infection": "^0.15.3",
27+
"squizlabs/php_codesniffer": "^3.5.4"
2828
},
2929
"autoload": {
3030
"psr-4": {
@@ -41,12 +41,12 @@
4141
"vendor/bin/phpcs"
4242
],
4343
"test": [
44-
"vendor/bin/phpunit --coverage-xml=build/log/coverage-xml --log-junit=build/log/phpunit.junit.xml"
44+
"vendor/bin/phpunit --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/junit.xml"
4545
],
4646
"infection": [
4747
"@test",
48-
"mkdir -p build/log/infection",
49-
"vendor/bin/infection --threads=4 --coverage=build/log --no-progress"
48+
"mkdir -p build/logs/infection",
49+
"vendor/bin/infection --threads=4 --coverage=build/logs --no-progress"
5050
]
5151
}
5252
}

php-7.4.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-rc-cli
1+
FROM php:7.4-cli
22

33
RUN apt-get update && apt-get install -y \
44
zip \

phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<phpunit
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.4/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.0/phpunit.xsd"
55
forceCoversAnnotation="true"
66
colors="true"
77
defaultTestSuite="unit">

0 commit comments

Comments
 (0)