Skip to content

Commit dc1fd06

Browse files
author
Eduard Surov
committed
CodeClimate integration removed
1 parent 6326952 commit dc1fd06

File tree

7 files changed

+38
-29
lines changed

7 files changed

+38
-29
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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ 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: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml
1213

13-
after_script:
14-
- vendor/bin/test-reporter
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash -s "build/logs")
16+
- wget https://scrutinizer-ci.com/ocular.phar
17+
- php ocular.phar code-coverage:upload --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-patch/v/stable)](https://packagist.org/packages/remorhaz/php-json-patch)
44
[![License](https://poser.pugx.org/remorhaz/php-json-patch/license)](https://packagist.org/packages/remorhaz/php-json-patch)
55
[![Build Status](https://travis-ci.org/remorhaz/php-json-patch.svg?branch=master)](https://travis-ci.org/remorhaz/php-json-patch)
6-
[![Code Climate](https://codeclimate.com/github/remorhaz/php-json-patch/badges/gpa.svg)](https://codeclimate.com/github/remorhaz/php-json-patch)
7-
[![Test Coverage](https://codeclimate.com/github/remorhaz/php-json-patch/badges/coverage.svg)](https://codeclimate.com/github/remorhaz/php-json-patch/coverage)
6+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/remorhaz/php-json-patch/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/remorhaz/php-json-patch/?branch=master)
7+
[![codecov](https://codecov.io/gh/remorhaz/php-json-patch/branch/master/graph/badge.svg)](https://codecov.io/gh/remorhaz/php-json-patch)
88

99
This library implements [RFC6902](https://tools.ietf.org/html/rfc6902)-compliant JSON patch tool.
1010

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=7.1",
16-
"remorhaz/php-json-data": "~0.4.2",
17-
"remorhaz/php-json-pointer": "~0.5.0"
15+
"php": "^7.1",
16+
"remorhaz/php-json-data": "^0.4.2",
17+
"remorhaz/php-json-pointer": "^0.5.1"
1818
},
1919
"require-dev": {
20-
"phpunit/phpunit": ">=7.0.1 <8.0",
21-
"codeclimate/php-test-reporter": "dev-master"
20+
"phpunit/phpunit": "^7.0.1"
2221
},
2322
"autoload": {
2423
"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)