Skip to content

Issue #3439495 by DYdave: Automated testing on GitlabCI: Fixed phpunit errors:...

https://www.drupal.org/project/dashboards/issues/3439495

Automated testing on GitlabCI: Fix job errors and try to pass all tests

  • Fixed phpunit errors: Fixed Functional tests crashing due to error InvalidPluginDefinitionException: The dashboard entity type did not specify a default form class. and fixed FunctionalJavascript tests failing assertions.
  • Fixed all stylelint errors.
  • Fixed all phpcs errors Use statements should be sorted alphabetically. and Multi-line function declarations must have a trailing comma after the last parameter in all the reported files.
  • Fixed all cspell errors such as typos or spelling. Added file .cspell-project-words.txt to ignore certain keywords and excluded the chart.js library from validation.
  • Fixed all eslint errors and added file .eslintignore to exclude the chart.js library from validation.
  • Fixed all phpstan errors and added test dependencies to integrated contrib modules.
Edited by David Suissa

Merge request reports