Problem/Motivation

    /**
     * DEPRECATION WARNING! This method will be removed in the next major point release.
     *
     * @deprecated deprecated since version 9.1.0
     * @see AbstractCsv::getContent
     *
     * Retrieves the CSV content
     */
    public function __toString(): string
    {
        return $this->getContent();
    }

Comments

pobster created an issue. See original summary.

pobster’s picture

Issue summary: View changes
 ------ ---------------------------------------------------------------- 
  Line   src/Encoder/CsvEncoder.php                                      
 ------ ---------------------------------------------------------------- 
  161    Casting class League\Csv\AbstractCsv to string is deprecated.:  
         deprecated since version 9.1.0                                  
 ------ ---------------------------------------------------------------- 

 [ERROR] Found 1 error      
pobster’s picture

StatusFileSize
new804 bytes
pobster’s picture

Okay ... I don't quite get why I'm not able to queue a test for the 2.x branch? Well ... it applies, and runs.

  • grasmash committed 0db2f3b on 8.x-2.x authored by pobster
    Issue #3165718 by pobster: Address AbstractCsv casting deprecation issue
    
grasmash’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.