Problem/Motivation

BrowserTestBase lacks a public static $modules = []; forcing implementations to write every time the docs instead of simply {@inheritdoc}.

Proposed resolution

Add public static $modules = []; in BrowserTestBase as KernelTestBase has.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

claudiu.cristea created an issue. See original summary.

claudiu.cristea’s picture

Version: 8.3.x-dev » 8.2.x-dev
StatusFileSize
new805 bytes
claudiu.cristea’s picture

Title: Add an empty $module property in BTB » Add an empty $module property in BrowserTestBase
Status: Active » Needs review
claudiu.cristea’s picture

Title: Add an empty $module property in BrowserTestBase » Add an empty $modules property in BrowserTestBase
claudiu.cristea’s picture

StatusFileSize
new808 bytes
new401 bytes

Improved @var in docs.

claudiu.cristea’s picture

claudiu.cristea’s picture

StatusFileSize
new808 bytes
new600 bytes

According to https://www.drupal.org/coding-standards/docs#order, @var should precede @see.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Nice finding!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +rc eligible

I think this change is really just a docs change and therefore eligible for 8.2.x.

Committed and pushed 41cab62 to 8.3.x and 0204b8e to 8.2.x. Thanks!

  • alexpott committed 41cab62 on 8.3.x
    Issue #2801883 by claudiu.cristea: Add an empty $modules property in...

  • alexpott committed 0204b8e on 8.2.x
    Issue #2801883 by claudiu.cristea: Add an empty $modules property in...

Status: Fixed » Closed (fixed)

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