PHP 8.1 compatibility - Return type

Created on 16 January 2023, about 2 years ago
Updated 23 April 2023, almost 2 years ago
πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States daniel korte Brooklyn, NY

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 7.x + Environment: PHP 5.6 & MySQL 5.5
    last update almost 2 years ago
    Patch Failed to Apply
  • πŸ‡ΊπŸ‡¦Ukraine Igumnov_aleksey

    These issues are also related to deprecation compatibility - Return type. Use phpstan was found next issues:
    Line modules/contrib/feeds/libraries/ParserCSV.inc
    ------ -------------------------------------------------------------------------------------------------------------------------------------------
    32 Return type mixed of method ParserCSVIterator::rewind() is not covariant with tentative return type void of method Iterator::rewind().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.
    39 Return type mixed of method ParserCSVIterator::next() is not covariant with tentative return type void of method Iterator::next().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.
    47 Return type mixed of method ParserCSVIterator::valid() is not covariant with tentative return type bool of method Iterator::valid().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.
    51 Return type mixed of method ParserCSVIterator::current() is not covariant with tentative return type mixed of method Iterator::current().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.
    59 Return type mixed of method ParserCSVIterator::key() is not covariant with tentative return type mixed of method Iterator::key().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.
    ------ -------------------------------------------------------------------------------------------------------------------------------------------

    ------ --------------------------------------------------------------------------------------------------------------------------------------------------
    Line modules/contrib/feeds/plugins/FeedsParser.inc
    ------ --------------------------------------------------------------------------------------------------------------------------------------------------
    757 Return type mixed of method FeedsDateTime::setTimezone() is not covariant with tentative return type DateTime of method DateTime::setTimezone().
    πŸ’‘ Make it covariant, or use the #[\ReturnTypeWillChange] attribute to temporarily suppress the error.

  • Status changed to Needs work almost 2 years ago
  • πŸ‡©πŸ‡ͺGermany tobiasb Berlin

    CI can not apply the patch.

Production build 0.71.5 2024