Problem/motivation

PHP Fatal error:  Cannot make static method Drupal\Tests\ckeditor5\Kernel\SmartDefaultSettingsTest::provider() non static in class Drupal\Tests\linkit\Kernel\CKEditor4To5Upgrade\UpgradePathTest in .../linkit/tests/src/Kernel/CKEditor4To5Upgrade/UpgradePathTest.php on line 120
PHP Fatal error:  Cannot make static method Drupal\Tests\ckeditor5\Kernel\ValidatorsTest::provider() non static in class Drupal\Tests\linkit\Kernel\ValidatorsTest in .../linkit/tests/src/Kernel/ValidatorsTest.php on line 39
PHP Fatal error:  Cannot make static method Drupal\Tests\ckeditor5\Kernel\ValidatorsTest::providerPair() non static in class Drupal\Tests\linkit\Kernel\ValidatorsTest in .../linkit/tests/src/Kernel/ValidatorsTest.php on line 131

code>

Steps to reproduce

  1. Go to...
  2. Click on...
  3. Observe [describe the expected and actual output]

Proposed resolution

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.

Comments

collinhaines created an issue. See original summary.

collinhaines’s picture

Status: Active » Needs review
StatusFileSize
new1.3 KB
smulvih2’s picture

Status: Needs review » Reviewed & tested by the community

RTBC, this patch fixes the errors on my automated tests.

ryan-l-robinson’s picture

Patch solved the issue for me.

smulvih2’s picture

Version: 6.1.x-dev » 7.x-dev
Status: Reviewed & tested by the community » Closed (duplicate)
Parent issue: » #3446130: Drupal 11 compatibility

Changes seem to be included in latest release 7.0.2:

I think this ticket can be closed as duplicate.