Skip to content

Commit

Permalink
Version 4 last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Gladyshev committed Jan 4, 2021
1 parent 8401272 commit f17f3ba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: php

php:
- 5.6
- 7.0
- 7.2
- 7.3
- 7.4

# faster builds on new travis setup not using sudo
sudo: false
Expand All @@ -21,7 +21,7 @@ install:
before_script:
- composer install
- |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
if [ $TRAVIS_PHP_VERSION = '7.2' ]; then
PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
fi
Expand All @@ -30,7 +30,7 @@ script:

after_script:
- |
if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
if [ $TRAVIS_PHP_VERSION = '7.2' ]; then
travis_retry wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Yandex Direct API v5 PHP client

Современный и удобный PHP-клиент [Yandex.Direct API](https://tech.yandex.ru/direct/doc/dg/concepts/about-docpage/).

[![Build Status](https://travis-ci.org/gladyshev/yandex-direct-client.svg?branch=master)](https://travis-ci.org/gladyshev/yandex-direct-client)
[![Scrutinizer Code Coverage](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/?branch=master)
[![Build Status](https://travis-ci.org/gladyshev/yandex-direct-client.svg?branch=v4.x)](https://travis-ci.org/gladyshev/yandex-direct-client)
[![Scrutinizer Code Coverage](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/badges/coverage.png?b=v4.x)](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/?branch=v4.x)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/badges/quality-score.png?b=v4.x)](https://scrutinizer-ci.com/g/gladyshev/yandex-direct-client/?branch=v4.x)

## Требования
* PHP 7.2 и выше
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"autoload-dev": {
"psr-4": {
"Yandex\\Direct\\Test\\": "tests/"
"Gladyshev\\Yandex\\Direct\\Tests\\": "tests/"
}
},
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions tests/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
* @date 04.04.17 12:00
*/

namespace Yandex\Direct\Test;
namespace Gladyshev\Yandex\Direct\Tests;

use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;

/**
* Class Helper
* @package Yandex\Direct\Test
*/
class Helper
{
Expand Down

0 comments on commit f17f3ba

Please sign in to comment.