Skip to content

Test enhancement #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly
matrix:
allow_failures:
- php: nightly
before_script:
- composer self-update
- composer install
Expand Down
60 changes: 30 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,42 @@
"bazzline",
"psr",
"psr-4",
"php",
"php56",
"php7",
"component",
"filesystem",
"easy",
"csv",
"easycsv",
"adapter",
"read",
"write",
"lgpl",
"filter",
"import",
"export",
"headline",
"invoke",
"tranversable",
"iterator",
"reusable",
"free as in freedom",
"low",
"memory",
"php",
"php56",
"php7",
"component",
"filesystem",
"easy",
"csv",
"easycsv",
"adapter",
"read",
"write",
"lgpl",
"filter",
"import",
"export",
"headline",
"invoke",
"tranversable",
"iterator",
"reusable",
"free as in freedom",
"low",
"memory",
"usage"
],
"type": "library",
"require": {
"net_bazzline/php_component_cli_readline": "1.3.*",
"net_bazzline/php_component_generic_agreement": "1.0.*",
"net_bazzline/php_component_toolbox": ">=1.3",
"php": "^5.6||^7.0"
"net_bazzline/php_component_cli_readline": "^1.2",
"net_bazzline/php_component_generic_agreement": "^1.0",
"net_bazzline/php_component_toolbox": "^1.3",
"php": ">=5.6"
},
"require-dev": {
"mikey179/vfsstream": "1.6.*",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "5.7.*"
"mikey179/vfsstream": "^1.6",
"mockery/mockery": "^0.9",
"phpunit/phpunit": "^5.7 || ^6.5"
},
"license": "LGPL-3.0",
"authors": [
Expand Down
5 changes: 5 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@
<directory>test/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">source</directory>
</whitelist>
</filter>
</phpunit>
6 changes: 3 additions & 3 deletions test/AbstractTestCase.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author stev leibelt <artodeto@bazzline.net>
* @since 2015-04-24
* @since 2015-04-24
*/

namespace Test\Net\Bazzline\Component\Csv;
Expand All @@ -19,9 +19,9 @@
use Net\Bazzline\Component\Csv\Writer\WriterInterface;
use Net\Bazzline\Component\GenericAgreement\Data\FilterableInterface;
use org\bovigo\vfs\vfsStream;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

abstract class AbstractTestCase extends PHPUnit_Framework_TestCase
abstract class AbstractTestCase extends TestCase
{
/** @var FilteredReaderFactory */
private $filteredReaderFactory;
Expand Down
4 changes: 2 additions & 2 deletions test/EasyCsvReaderAdapterTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author stev leibelt <artodeto@bazzline.net>
* @since 2015-05-17
* @since 2015-05-17
*/

namespace Test\Net\Bazzline\Component\Csv;
Expand Down Expand Up @@ -47,7 +47,7 @@ public function testGetHeaders(EasyCsvReaderAdapter $reader)
"column1",
"column2",
"column3"
],
],
$reader->getHeaders()
);
}
Expand Down