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
- Go to...
- Click on...
- 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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | linkit--testing-static-methods--3457958.patch | 1.3 KB | collinhaines |
Comments
Comment #2
collinhaines commentedComment #3
smulvih2RTBC, this patch fixes the errors on my automated tests.
Comment #4
ryan-l-robinson commentedPatch solved the issue for me.
Comment #5
smulvih2Changes seem to be included in latest release 7.0.2:
I think this ticket can be closed as duplicate.