diff --git a/.travis.yml b/.travis.yml index d398c9d..4e7dccd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,13 @@ language: php php: - - 5.2 - - 5.3 - - 5.4 - - 5.5 - - 5.6 + - 5.4 + - 5.5 + - 5.6 before_script: - - composer self-update - - echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - - composer install --prefer-dist --no-interaction + - composer self-update + - composer install --prefer-dist --no-interaction script: - - phpunit --coverage-text + - phpunit --coverage-text diff --git a/composer.json b/composer.json index 548459a..5a96b17 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "role": "Developer (original JS version)" }], "require": { - "php": ">=5.2", + "php": ">=5.4", "ext-tidy": ">=1.2" }, "autoload": { diff --git a/tests/ReadabilityTest.php b/tests/ReadabilityTest.php index b36d234..8107e63 100644 --- a/tests/ReadabilityTest.php +++ b/tests/ReadabilityTest.php @@ -20,14 +20,6 @@ class ReadabilityTested extends Readability class ReadabilityTest extends \PHPUnit_Framework_TestCase { - protected function setUp() - { - } - - protected function tearDown() - { - } - public function testConstructDefault() { $readability = new ReadabilityTested('');