| @@ -388,9 +388,9 @@ | ||
| 388 | 388 | $data_type_after[ $column['column_name'] ] = "'"; |
| 389 | 389 | } |
| 390 | 390 | } |
| 391 | 391 | |
| 392 | - // phpcs:disable Squiz.PHP.DiscouragedFunctions.Discouraged | |
| 392 | + // phpcs:disable Squiz.PHP.DiscouragedFunctions.Discouraged, PluginCheck.CodeAnalysis.PHPErrorReporting.IniDirectiveDisplay_errors | |
| 393 | 393 | echo '<p>Enabling buffering...</p>'; |
| 394 | 394 | set_time_limit( 0 ); |
| 395 | 395 | @ini_set( 'zlib.output_compression', false ); |
| 396 | 396 | @ini_set( 'implicit_flush', true ); |
| @@ -398,9 +398,9 @@ | ||
| 398 | 398 | @ini_set( 'display_errors', false ); |
| 399 | 399 | ob_implicit_flush( true ); |
| 400 | 400 | echo '<p>Reading CSV file...</p>'; |
| 401 | 401 | @ini_set( 'auto_detect_line_endings', true ); |
| 402 | - // phpcs:enable Squiz.PHP.DiscouragedFunctions.Discouraged | |
| 402 | + // phpcs:enable Squiz.PHP.DiscouragedFunctions.Discouraged, PluginCheck.CodeAnalysis.PHPErrorReporting.IniDirectiveDisplay_errors | |
| 403 | 403 | |
| 404 | 404 | if ( false !== ( $fp = fopen( $file_name, 'rb' ) ) ) { // phpcs:ignore |
| 405 | 405 | $wpdadb = WPDADB::get_db_connection( $schema_name ); |
| 406 | 406 | if ( null !== $wpdadb ) { |