Extend test coverage to PHP 8.3

This commit is contained in:
Christian Bläul
2024-08-29 17:05:04 +02:00
parent 27ab8a3e05
commit 259e9a6c31
7 changed files with 69 additions and 6 deletions

View File

@@ -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', "'"),