By mstrelan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.1.x
Introduced in version:
11.1.0
Issue links:
Description:
All files matching the pattern */tests/* must now use strict types. Add declare(strict_types=1); to all such tests.
Example
<?php
declare(strict_types=1);
namespace Drupal\Tests\my_module\Unit;
This excludes any path that also matches */fixtures/*.
Impacts:
Module developers