Fix issues reported by Upgrade Status

Created on 19 September 2023, about 1 year ago

Upgrade Status reports these issues:

  1. modules/contrib/csv_serialization/src/Encoder/CsvEncoder.php ... line 152 ... Call to deprecated method setNewline() of class League\Csv\Writer: Since version 9.10.0
  2. modules/contrib/csv_serialization/src/Encoder/CsvEncoder.php ... line 170 ... Call to deprecated method getContent() of class League\Csv\AbstractCsv: since version 9.7.0
  3. modules/contrib/csv_serialization/src/EventSubscriber/CsvSubscriber.php ... line 20 ... Parameter $event of method Drupal\csv_serialization\EventSubscriber\CsvSubscriber::onKernelRequest() has typehint with deprecated class Symfony\Component\HttpKernel\Event\GetResponseEvent: since Symfony 4.3, use RequestEvent instead
  4. modules/contrib/csv_serialization/csv_serialization.info.yml ... line 0 ... Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687.
  5. modules/contrib/csv_serialization/composer.json ... line 0 ... The drupal/core requirement is not compatible with the next major version of Drupal. Either remove it or update it to be compatible. See https://drupal.org/node/2514612#s-drupal-9-compatibility.
πŸ› Bug report
Status

Closed: works as designed

Version

2.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bhogue
  • Status changed to Closed: works as designed about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States markdorison

    Hi @bhogue!
    These issues are resolved on the 3.x branch of the module which contains D10 compatibility. Some more details from the D10 note on the project page:

    It is not possible to support both Drupal 9.x and 10.x in a single release πŸ› CsvEncoder::encode must be compatible with Symfony\Component\Serializer\Encoder\EncoderInterface::encode Fixed of this module due to a breaking change in EncoderInterface::encode() between Symfony 4.4 (D9) and Symfony 6.2 (D10). When preparing for an upgrade to Drupal 10 we recommend that you widen your Composer version constraints to allow either 2.x or 3.x: composer require drupal/csv_serialization:^2.0 || ^3.0. This will allow the module to be automatically upgraded when you upgrade Drupal core.

Production build 0.71.5 2024