From 72a7c29ed68400277719f88d591bcf4694062812 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bl=C3=A4ul?= Date: Fri, 2 Feb 2018 17:31:26 +0100 Subject: [PATCH] Updated remaining occurrences for old class/project name. --- ParseCsvForPhp.php | 2 +- examples/basic.php | 4 ++-- examples/conditions.php | 4 ++-- examples/download.php | 4 ++-- examples/limit.php | 4 ++-- tests/methods/ConstructTest.php | 15 +-------------- tests/methods/ParseTest.php | 3 --- tests/phpunit.xml | 2 +- tests/properties/BaseClass.php | 5 +---- tests/properties/default_values_test.php | 15 +-------------- tests/properties/worthless_test.php | 3 --- 11 files changed, 13 insertions(+), 48 deletions(-) diff --git a/ParseCsvForPhp.php b/ParseCsvForPhp.php index cf9db76..f352e95 100644 --- a/ParseCsvForPhp.php +++ b/ParseCsvForPhp.php @@ -3,7 +3,7 @@ class ParseCsvForPhp { /* - Class: parseCSV v1.0.0 + Class: ParseCsvForPhp v1.0.0 https://github.com/parsecsv/parsecsv-for-php Fully conforms to the specifications lined out on Wikipedia: diff --git a/examples/basic.php b/examples/basic.php index 8e48d45..441b10b 100644 --- a/examples/basic.php +++ b/examples/basic.php @@ -2,11 +2,11 @@ csv = null; - } - public function test_offset_param() { $offset = 10; $this->csv = new ParseCsvForPhp(null, $offset); diff --git a/tests/methods/ParseTest.php b/tests/methods/ParseTest.php index b097b34..95cc27b 100644 --- a/tests/methods/ParseTest.php +++ b/tests/methods/ParseTest.php @@ -3,9 +3,6 @@ class ParseTest extends PHPUnit\Framework\TestCase { /** - * CSV - * The parseCSV object - * * @access protected * @var ParseCsvForPhp */ diff --git a/tests/phpunit.xml b/tests/phpunit.xml index 6f06252..4fe33f2 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -10,7 +10,7 @@ stopOnIncomplete="true" stopOnSkipped="false"> - + properties/ methods/ diff --git a/tests/properties/BaseClass.php b/tests/properties/BaseClass.php index 3515c10..45cbfb5 100644 --- a/tests/properties/BaseClass.php +++ b/tests/properties/BaseClass.php @@ -3,11 +3,8 @@ class BaseClass extends PHPUnit\Framework\TestCase { /** - * CSV - * The parseCSV object - * * @access protected - * @var ParseCsvForPhp + * @var ParseCsvForPhp object */ protected $csv; diff --git a/tests/properties/default_values_test.php b/tests/properties/default_values_test.php index cc412a9..5a9db04 100644 --- a/tests/properties/default_values_test.php +++ b/tests/properties/default_values_test.php @@ -3,11 +3,8 @@ class default_values_properties_Test extends PHPUnit\Framework\TestCase { /** - * CSV - * The parseCSV object - * * @access protected - * @var ParseCsvForPhp + * @var ParseCsvForPhp object */ protected $csv = null; @@ -22,16 +19,6 @@ class default_values_properties_Test extends PHPUnit\Framework\TestCase { $this->csv = new ParseCsvForPhp(); } - /** - * Tear down - * Tear down our test environment objects - * - * @access public - */ - public function tearDown() { - $this->csv = null; - } - public function test_heading_default() { $this->assertTrue(is_bool($this->csv->heading)); $this->assertTrue($this->csv->heading); diff --git a/tests/properties/worthless_test.php b/tests/properties/worthless_test.php index 5adb020..09021f8 100644 --- a/tests/properties/worthless_test.php +++ b/tests/properties/worthless_test.php @@ -3,9 +3,6 @@ class worthless_properties_Test extends PHPUnit\Framework\TestCase { /** - * CSV - * The parseCSV object - * * @access protected * @var ParseCsvForPhp */