localgovdrupal / localgov_elections

This module provides submodules, content types, views and configuration that allow the reporting of election results for the LocalGov Drupal distribution.
GNU General Public License v2.0
1 stars 1 forks source link

Drupal 11 support #130

Open stephen-cox opened 2 months ago

stephen-cox commented 2 months ago

Dependencies without Drupal 11 support

Report from the Upgrade Status module


================================================================================
LocalGov Elections Reporting, --
Scanned on Fri 06/09/2024 2:55pm

FILE: web/modules/contrib/localgov_elections/localgov_elections.module

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 526  Call to function in_array() requires parameter #3 to be set.
--------------------------------------------------------------------------------
Check manually 705  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 715  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 724  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 752  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 814  Only booleans are allowed in &&, mixed given on the right   
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 842  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 866  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 901  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 905  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 926  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_constituency_p
rovider/src/Controller/UkConstituencyTwentyFourAutoComplete.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 106  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 130  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_constituency_p
rovider/src/Form/UkConstituencyTwentyFourProviderDownloadForm.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 124  Call to function in_array() requires parameter #3 to be set.
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_constituency_p
rovider/tests/src/Functional/FormTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 114  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertIsArray().                  
--------------------------------------------------------------------------------
Check manually 116  Call to function in_array() requires parameter #3 to be set.
--------------------------------------------------------------------------------
Check manually 116  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_constituency_p
rovider/tests/src/FunctionalJavascript/AutocompleteTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 106  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertCount().                    
--------------------------------------------------------------------------------
Check manually 108  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertStringContainsString().     
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_ons_twenty_thr
ee_wards/src/Plugin/BoundaryProvider/OnsTwentyThreeWards.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 170  Call to function in_array() requires parameter #3 to be set.
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_social_post/sr
c/Form/AreaVoteSocialPostForm.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 165  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 206  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 295  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 333  Call to function in_array() requires parameter #3 to be set.
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_elections/src/BoundarySourceListBuilder.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 57   Implicit array creation is not allowed - variable $header   
                    does not exist.                                             
--------------------------------------------------------------------------------
Check manually 69   Implicit array creation is not allowed - variable $row does 
                    not exist.                                                  
--------------------------------------------------------------------------------
Check manually 81   Implicit array creation is not allowed - variable $build    
                    does not exist.                                             
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_elections/src/Form/BounaryProviderAddForm.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 70   Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 103  Only booleans are allowed in a negated boolean, mixed given.
--------------------------------------------------------------------------------
Check manually 112  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_elections/src/Form/BoundaryFetchForm.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 158  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 160  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------
Check manually 229  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 229  Only booleans are allowed in &&, mixed given on the right   
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 240  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 240  Only booleans are allowed in &&, mixed given on the right   
                    side.                                                       
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/src/Plugin/views/area/ResultsHeading.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 26   Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/src/Plugin/views/field/WardCandidatesPart
y.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 41   Only booleans are allowed in a ternary operator condition,  
                    mixed given.                                                
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/src/Plugin/views/field/WardParty.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 57   Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/tests/src/Functional/ElectionAliasTest.ph
p

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 151  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 152  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 153  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 154  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 161  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 164  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 167  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 170  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 232  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 233  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 234  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 235  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/config/install/views.view.localgov_electi
on_previous_ward_results.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 161  Support from all Views contextual filter settings for the   
                    default_argument_skip_url setting is removed from           
                    drupal:11.0.0. No replacement is provided. See              
                    https://www.drupal.org/node/3382316.                        
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/config/install/views.view.localgov_electi
on_results_vote.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 272  Support from all Views contextual filter settings for the   
                    default_argument_skip_url setting is removed from           
                    drupal:11.0.0. No replacement is provided. See              
                    https://www.drupal.org/node/3382316.                        
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_elections/localgov_elections.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^9 || ^10 is not         
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_social_post/lo
calgov_elections_social_post.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^9 || ^10 is not         
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_ons_twenty_thr
ee_wards/localgov_elections_ons_twenty_three_wards.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^9 || ^10 is not         
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_elections/modules/localgov_elections_constituency_p
rovider/localgov_elections_constituency_provider.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 5    Value of core_version_requirement: ^9 || ^10 is not         
                    compatible with the next major version of Drupal core. See  
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------
111