Issue #3554895 by dydave: Fixed failing tests compatibility with D11.
https://www.drupal.org/project/block_class/issues/3554895
Automated tests: Fixed compatibility with Drupal 11:
- Extended migration tests coverage to all supported Core versions, since contrib themes
bartikandsevenused in the tests have a D11 release. - Configured PHPSTAN job validation to allow failure to be more lenient with project maintainers et the changes of coding standards.
- Updated data provider method
providerTestto match most recent API standards, see for example:Drupal\Tests\block\Unit\Menu\lockLocalTasksTest::providerTestBlockAdminDisplay