Let's make the Synonyms module PHP8 compatible.

CommentFileSizeAuthor
#2 3256802-02.patch506 bytesdevad

Comments

devad created an issue. See original summary.

devad’s picture

Issue summary: View changes
StatusFileSize
new506 bytes
1) Drupal\Tests\synonyms\Functional\AdminFunctionalityTest::testSynonymsAdmin
Exception: Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Drupal\synonyms\Form\SynonymForm->form()() (Line: 131)

Patch included.

  • devad committed aede0a2 on 2.1.x
    Issue #3256802 by devad: PHP8 deprecations
    
devad’s picture

Status: Active » Fixed

Committed and fixed for now. Feel free to reopen if more PHP8 deprecations are found.

  • devad committed 178ba18 on 2.1.x
    Issue #3256802 by devad: PHP8 deprecations
    
devad’s picture

The commits above and below are for:

> Drupal\Core\Composer\Composer::upgradePHPUnit
PHP Fatal error:  Declaration of Drupal\Tests\synonyms_autocomplete\Functional\AdminFunctionalityTest::setUp() must be compatible with Drupal\Tests\BrowserTestBase::setUp(): void in /var/www/html/modules/contrib/synonyms/modules/synonyms_autocomplete/tests/src/Functional/AdminFunctionalityTest.php on line 30

  • devad committed 29dce6e on 2.1.x
    Issue #3256802 by devad: PHP8 deprecations
    

Status: Fixed » Closed (fixed)

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