Skip to content

Commit

Permalink
Reduced minimal PHP version to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wapmorgan committed Jan 30, 2017
1 parent 43fe2df commit 1432f86
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "~5.7"
"phpunit/phpunit": "~4.8"
}
}
3 changes: 1 addition & 2 deletions tests/CompareTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php
require __DIR__.'/../vendor/autoload.php';
use PHPUnit\Framework\TestCase;
use wapmorgan\BinaryStream\BinaryStream;

class CompareTest extends TestCase {
class CompareTest extends PHPUnit_Framework_TestCase {
public function createStream($data) {
$fp = fopen('php://memory', 'wb');
fwrite($fp, $data);
Expand Down
3 changes: 1 addition & 2 deletions tests/MarkTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php
require __DIR__.'/../vendor/autoload.php';
use PHPUnit\Framework\TestCase;
use wapmorgan\BinaryStream\BinaryStream;

class MarkTest extends TestCase {
class MarkTest extends PHPUnit_Framework_TestCase {
public function createStream($data) {
$fp = fopen('php://memory', 'wb');
fwrite($fp, $data);
Expand Down
3 changes: 1 addition & 2 deletions tests/ReaderTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php
require __DIR__.'/../vendor/autoload.php';
use PHPUnit\Framework\TestCase;
use wapmorgan\BinaryStream\BinaryStream;

class ReaderTest extends TestCase {
class ReaderTest extends PHPUnit_Framework_TestCase {
public function createStream($data) {
$fp = fopen('php://memory', 'wb');
fwrite($fp, $data);
Expand Down
3 changes: 1 addition & 2 deletions tests/WriterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?php
require __DIR__.'/../vendor/autoload.php';
use PHPUnit\Framework\TestCase;
use wapmorgan\BinaryStream\BinaryStream;

class WriterTest extends TestCase {
class WriterTest extends PHPUnit_Framework_TestCase {
public function createStream($data) {
$fp = fopen('php://memory', 'wb');
fwrite($fp, $data);
Expand Down

0 comments on commit 1432f86

Please sign in to comment.