Skip to content

Commit 2882bd2

Browse files
author
Igor Chepurnoy
committed
update TestCase, Switched to asset-packagist.org
1 parent cb35500 commit 2882bd2

File tree

4 files changed

+22
-15
lines changed

4 files changed

+22
-15
lines changed

.travis.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
language: php
22

33
php:
4-
- 5.4
5-
- 5.5
6-
- 5.6
7-
- 7.0
4+
- 7.1
85

96
# faster builds on new travis setup not using sudo
107
sudo: false
@@ -13,14 +10,12 @@ sudo: false
1310
cache:
1411
directories:
1512
- $HOME/.composer/cache
16-
- vendor
1713

1814
install:
1915
- travis_retry composer self-update && composer --version
20-
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
2116
- export PATH="$HOME/.composer/vendor/bin:$PATH"
2217
- travis_retry composer install --prefer-dist --no-interaction
2318

2419
script:
2520
- vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --diff
26-
- phpunit --verbose $PHPUNIT_FLAGS
21+
- phpunit

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
Yii2 Cron Log
2-
=============
3-
Component for logging cron jobs
1+
<p align="center">
2+
<a href="https://github.com/yiisoft" target="_blank">
3+
<img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
4+
</a>
5+
<h1 align="center">Yii2 Cron Log Extension</h1>
6+
<br>
7+
</p>
8+
9+
Component for logging cron jobs.
410

511
[![Latest Stable Version](https://poser.pugx.org/yii2mod/yii2-cron-log/v/stable)](https://packagist.org/packages/yii2mod/yii2-cron-log) [![Total Downloads](https://poser.pugx.org/yii2mod/yii2-cron-log/downloads)](https://packagist.org/packages/yii2mod/yii2-cron-log) [![License](https://poser.pugx.org/yii2mod/yii2-cron-log/license)](https://packagist.org/packages/yii2mod/yii2-cron-log) [![Build Status](https://travis-ci.org/yii2mod/yii2-cron-log.svg?branch=master)](https://travis-ci.org/yii2mod/yii2-cron-log)
612

@@ -17,7 +23,7 @@ php composer.phar require --prefer-dist yii2mod/yii2-cron-log "*"
1723

1824
or add
1925

20-
```json
26+
```
2127
"yii2mod/yii2-cron-log": "*"
2228
```
2329

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"email": "disemx@gmail.com"
1515
},
1616
{
17-
"name": "Igor Chepurnoy",
18-
"email": "igorzfort@gmail.com"
17+
"name": "Igor Chepurnoi",
18+
"email": "chepurnoi.igor@gmail.com"
1919
}
2020
],
2121
"require": {
@@ -29,5 +29,11 @@
2929
"psr-4": {
3030
"yii2mod\\cron\\": ""
3131
}
32-
}
32+
},
33+
"repositories": [
34+
{
35+
"type": "composer",
36+
"url": "https://asset-packagist.org"
37+
}
38+
]
3339
}

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* This is the base class for all yii framework unit tests.
1010
*/
11-
class TestCase extends \PHPUnit_Framework_TestCase
11+
class TestCase extends \PHPUnit\Framework\TestCase
1212
{
1313
protected function setUp()
1414
{

0 commit comments

Comments
 (0)