localgovdrupal / localgov_news

Provides news articles and news listing pages for LocalGov Drupal
GNU General Public License v2.0
0 stars 2 forks source link

Drupal 11 support #122

Open stephen-cox opened 1 month ago

stephen-cox commented 1 month ago

Report from the Upgrade Status module

================================================================================
LocalGov News: Core, --
Scanned on Fri 06/09/2024 3:03pm

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

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

FILE: web/modules/contrib/localgov_news/src/NewsExtraFieldDisplay.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 135  Only booleans are allowed in &&, mixed given on the right   
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 143  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 192  Only booleans are allowed in &&, mixed given on the left    
                    side.                                                       
--------------------------------------------------------------------------------
Check manually 201  Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_news/tests/src/Functional/NewsPageTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 127  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 147  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 185  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 195  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------
Check manually 211  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------
Check manually 213  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 215  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 217  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 232  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------
Check manually 234  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 236  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 238  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_news/tests/src/FunctionalJavascript/PromotedNewsWid
getTest.php

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

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

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