- π³πΏNew Zealand quietone
Closed π Remove unused variables [$resource,$key] from ResourceTest Closed: duplicate as a duplicate, adding credit.
Adding parent.
- π³πΏNew Zealand quietone
Discussed this longwave and they suggested a different parent. I am changing the parent now. I will add a comment to the previous parent since this is using a sniff.
- π³πΏNew Zealand quietone
Change parent to the meta implementing this sniff.
- π³πΏNew Zealand quietone
While working on this I found two tests that seem to have lost test coverage from earlier changes. Because of that and the size of this was growing I decided to split this up.
- π³πΏNew Zealand quietone
There is an error on core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
Drupal\Tests\views\Unit\Controller\ViewAjaxControllerTest::testAjaxView TypeError: Drupal\Tests\views\Unit\Controller\ViewAjaxControllerTest::setupValidMocks(): Return value must be of type array, MockObject_ViewExecutable_903e6638 returned core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php:435 core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php:197
because setupValidMocks has a return type hint of array but it does not return an array. It returns a mock. Changed in π Add array return typehints to protected test helper methods Needs review
- First commit to issue fork.
- πΊπΈUnited States smustgrave
Appears to be a pretty valid open question.
When I opened the current implementation of core/modules/field/tests/src/Unit/Plugin/migrate/process/d6/FieldInstanceSettingsTest.php I actually see that $migration is flagged as an unused variable
- πΊπΈUnited States smustgrave
Believe feedback has been addressed for this one.
- π¬π§United Kingdom longwave UK
NW for some additional removals and also a question about the configuration file.
- πΊπΈUnited States smustgrave
Removed the suggestions, had to re-run tests 2 times for random failures.
-
alexpott β
committed 0635e0df on 11.x
Issue #3251754 by spokje, quietone, longwave, smustgrave, mallezie,...
-
alexpott β
committed 0635e0df on 11.x
Automatically closed - issue fixed for 2 weeks with no activity.