-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Drupal is moving towards strict type (https://www.drupal.org/project/drupal/issues/3404246, https://www.drupal.org/project/drupal/issues/3295295).
I have started adding improvements to PHPStan checks to run strict type checking, as part of this it includes a new dev package in the project called phpstan/phpstan-strict-rules. By default I've disabled most of the rules it provides apart from checking calls are strict.
The checks can be found in this PR localgovdrupal/localgov_project#153 where the previous deprecated check is now a static analysis check to report all modules for deprecations, strict calls and typing.
Overall there are only 129 strict type/call issues which is great as this means minimal work to update.
This ticket would be best used to track updating each module.
- localgov_alert_banner
- localgov_core
- localgov_demo
- localgov_directories
- localgov_events
- localgov_geo
- localgov_guides
- localgov_menu_link_group
- localgov_news
- localgov_openreferral
- localgov_page_components
- localgov_paragraphs
- localgov_search
- localgov_search_solr
- localgov_services
- localgov_step_by_step
- localgov_subsites
- localgov_workflows
- localgov (profile)