Skip to content

Commit

Permalink
Merge pull request #7 from peter279k/test_enhancement
Browse files Browse the repository at this point in the history
Test enhancement
  • Loading branch information
rap2hpoutre authored Nov 5, 2018
2 parents 371936c + da9d32e commit d11672b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
Expand All @@ -19,4 +16,4 @@ script:
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi

5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
"phpunit/phpunit": "^6.5"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 3 additions & 2 deletions test/FinderTest.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php namespace SimilarText\Test;

use \SimilarText\Finder;
use SimilarText\Finder;
use PHPUnit\Framework\TestCase;

/**
* Class FinderTest
* @package SimilarText\Test
*/
class FinderTest extends \PHPUnit_Framework_TestCase
class FinderTest extends TestCase
{
/**
* Test first() method
Expand Down

0 comments on commit d11672b

Please sign in to comment.