localgovdrupal / localgov_page_components

Reusable paragraphs library for LocalGovDrupal distribution.
GNU General Public License v2.0
0 stars 1 forks source link

Strict types support #49

Closed millnut closed 4 months ago

millnut commented 7 months ago

With Drupal core moving towards strict types, more info I've added a test pipeline in preparation https://github.com/localgovdrupal/localgov_project/pull/153 which has highlighted some failures which we should fix.

 ------ --------------------------------------------------------------------------------------------- 
  Line   modules/contrib/localgov_page_components/src/Plugin/Linkit/Matcher/PageComponentMatcher.php  
 ------ --------------------------------------------------------------------------------------------- 
  170    Call to function in_array() requires parameter #3 to be set.                                 
 ------ ---------------------------------------------------------------------------------------------