- ๐ฎ๐ณIndia Binoli Lalani Gujarat
binoli lalani โ made their first commit to this issueโs fork.
- ๐ฆ๐บAustralia mstrelan
Updated title with identifier and added steps to reproduce. There are currently 14 remaining errors.
- ๐ฆ๐บAustralia mstrelan
Updating IS to reflect changes to PHPStan over the last couple years (baseline, identifiers)
- ๐ฆ๐บAustralia mstrelan
I think this fix is just covering up a code smell. The method
getExpectedUnauthorizedEntityAccessCacheability
exists in\Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
but not in\Drupal\Tests\rest\Functional\ResourceTestBase
, yet the test trait that calls this method is added to classes that don't extend fromEntityResourceTestBase
. If we're saying this method needs to exist in all child classes then we might as well just add it to the base, but that makes it clear that it doesn't belong there. Ideally it should be refactored out of the shared trait, or failing that we should check if$this instanceof EntityResourceTestBase
before calling that function. - ๐ณ๐ฟNew Zealand quietone
Rebase with conflicts in the baseline, which I then rebuilt.
The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐บ๐ธUnited States smustgrave
Going to go out on a limb and mark this one. If premature I apologize.