Skip to content

Commit f6b6cc7

Browse files
author
Eduard Surov
committed
Freeze remorhaz/php-json-data version
1 parent e7c4ab3 commit f6b6cc7

File tree

7 files changed

+38
-28
lines changed

7 files changed

+38
-28
lines changed

.codeclimate.yml

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

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/.idea/
21
/build/
32
/vendor/
43
/composer.lock

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ language: php
33
php:
44
- '7.1'
55
- '7.2'
6+
- '7.3'
67

78
before_script:
89
- composer self-update
910
- composer install --prefer-source --no-interaction
1011

11-
script: vendor/bin/phpunit
12+
script:
13+
- vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml
1214

13-
after_script:
14-
- vendor/bin/test-reporter
15+
after_success:
16+
- bash <(curl -s https://codecov.io/bash -s "build/logs")
17+
- wget https://scrutinizer-ci.com/ocular.phar
18+
- php ocular.phar code-coverage:upload --access-token=$SCRUTINIZER_TOKEN --format=php-clover build/logs/clover.xml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Latest Stable Version](https://poser.pugx.org/remorhaz/php-json-pointer/v/stable)](https://packagist.org/packages/remorhaz/php-json-pointer)
44
[![License](https://poser.pugx.org/remorhaz/php-json-pointer/license)](https://packagist.org/packages/remorhaz/php-json-pointer)
55
[![Build Status](https://travis-ci.org/remorhaz/php-json-pointer.svg?branch=master)](https://travis-ci.org/remorhaz/php-json-pointer)
6-
[![Code Climate](https://codeclimate.com/github/remorhaz/php-json-pointer/badges/gpa.svg)](https://codeclimate.com/github/remorhaz/php-json-pointer)
7-
[![Test Coverage](https://codeclimate.com/github/remorhaz/php-json-pointer/badges/coverage.svg)](https://codeclimate.com/github/remorhaz/php-json-pointer/coverage)
6+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/remorhaz/php-json-pointer/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/remorhaz/php-json-pointer/?branch=master)
7+
[![codecov](https://codecov.io/gh/remorhaz/php-json-data/branch/master/graph/badge.svg)](https://codecov.io/gh/remorhaz/php-json-data)
88

99
This library implements [RFC6901](https://tools.ietf.org/html/rfc6901)-compliant JSON pointers.
1010

composer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "remorhaz/php-json-pointer",
33
"description": "JSON Pointer (RFC-6901) PHP implementation",
4-
"keywords": ["json", "json pointer", "RFC6901"],
4+
"keywords": ["json", "json pointer", "RFC6901", "rfc-6901"],
55
"homepage": "https://github.com/remorhaz/php-json-pointer",
66
"license": "MIT",
77
"authors": [
@@ -13,11 +13,10 @@
1313
],
1414
"require": {
1515
"php": ">=7.1",
16-
"remorhaz/php-json-data" : "~0.4.2"
16+
"remorhaz/php-json-data" : "0.4.2"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": ">=7.0.1 <8.0",
20-
"codeclimate/php-test-reporter": "dev-master"
19+
"phpunit/phpunit": "^7.0.1"
2120
},
2221
"autoload": {
2322
"psr-4": {

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: '3'
2+
3+
services:
4+
php:
5+
build:
6+
context: .
7+
dockerfile: php-7.3.Dockerfile
8+
volumes:
9+
- .:/app
10+
working_dir: /app

php-7.3.Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM php:7.3-cli
2+
3+
RUN apt-get update && apt-get install -y \
4+
zip \
5+
git \
6+
libicu-dev && \
7+
pecl install xdebug && \
8+
docker-php-ext-enable xdebug && \
9+
docker-php-ext-configure intl --enable-intl && \
10+
docker-php-ext-install intl
11+
12+
ENV COMPOSER_ALLOW_SUPERUSER=1 \
13+
COMPOSER_PROCESS_TIMEOUT=1200
14+
15+
RUN curl --silent --show-error https://getcomposer.org/installer | php -- \
16+
--install-dir=/usr/bin --filename=composer

0 commit comments

Comments
 (0)