mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
Extend test coverage to PHP 8.3
This commit is contained in:
@@ -21,7 +21,7 @@ class DataRowCountTest extends TestCase {
|
||||
$this->csv = new Csv();
|
||||
}
|
||||
|
||||
public function countRowsProvider() {
|
||||
public static function countRowsProvider() {
|
||||
return [
|
||||
'auto-double-enclosure' => [
|
||||
'auto-double-enclosure.csv',
|
||||
|
||||
@@ -63,7 +63,7 @@ class ParseTest extends TestCase {
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function autoDetectionProvider() {
|
||||
public static function autoDetectionProvider() {
|
||||
return [
|
||||
'UTF8_no_BOM' => [__DIR__ . '/../example_files/UTF-8_sep_row_but_no_BOM.csv'],
|
||||
'UTF8' => [__DIR__ . '/../example_files/UTF-8_with_BOM_and_sep_row.csv'],
|
||||
@@ -294,7 +294,7 @@ class ParseTest extends TestCase {
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function autoQuotesDataProvider(): array {
|
||||
public static function autoQuotesDataProvider(): array {
|
||||
return array(
|
||||
array('auto-double-enclosure.csv', '"'),
|
||||
array('auto-single-enclosure.csv', "'"),
|
||||
|
||||
Reference in New Issue
Block a user