Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drupal 11 support #114

Open
stephen-cox opened this issue Sep 6, 2024 · 0 comments · May be fixed by #123
Open

Drupal 11 support #114

stephen-cox opened this issue Sep 6, 2024 · 0 comments · May be fixed by #123

Comments

@stephen-cox
Copy link
Member

Report from the Upgrade Status module

================================================================================
LocalGov Workflows, --
Scanned on Fri 06/09/2024 3:26pm

FILE: web/modules/contrib/localgov_workflows/localgov_workflows.install

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

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

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

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/localgov_rev
iew_date.module

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 23   Implicit array creation is not allowed - variable $fields   
                    does not exist.                                             
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/src/Plugin/F
ield/FieldType/ReviewDateItem.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 37   Implicit array creation is not allowed - variable           
                    $properties does not exist.                                 
--------------------------------------------------------------------------------
Check manually 79   Only booleans are allowed in an if condition, mixed given.  
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/tests/src/Fu
nctional/AdminSettingsTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 80   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 102  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/tests/src/Fu
nctional/NodeFormTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 110  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertInstanceOf().               
--------------------------------------------------------------------------------
Check manually 111  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 113  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertInstanceOf().               
--------------------------------------------------------------------------------
Check manually 114  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 115  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 127  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 128  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 130  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 131  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 138  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNull().                     
--------------------------------------------------------------------------------
Check manually 140  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNull().                     
--------------------------------------------------------------------------------
Check manually 151  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 152  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 154  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 155  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/tests/src/Fu
nctional/NodeTranslationTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 101  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 114  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 115  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 125  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertInstanceOf().               
--------------------------------------------------------------------------------
Check manually 126  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 127  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 128  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/tests/src/Fu
nctionalJavascript/ReviewDateWidgetTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 138  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotTrue().                  
--------------------------------------------------------------------------------
Check manually 144  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_review_date/tests/src/Ke
rnel/ReviewDateEntityTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 127  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 128  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 129  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 130  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 131  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 132  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 146  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 147  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 168  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNull().                     
--------------------------------------------------------------------------------
Check manually 193  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 194  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 195  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 202  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 203  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 204  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 205  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------
Check manually 206  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertNotEquals().                
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
localgov_workflows_notifications.module

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 90   Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 123  Only booleans are allowed in a negated boolean, mixed given.
--------------------------------------------------------------------------------
Check manually 147  Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
src/Form/LocalgovServiceContactForm.php

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

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
src/LocalgovServiceContactListBuilder.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 17   Implicit array creation is not allowed - variable $header   
                    does not exist.                                             
--------------------------------------------------------------------------------
Check manually 31   Implicit array creation is not allowed - variable $row does 
                    not exist.                                                  
--------------------------------------------------------------------------------
Check manually 37   Implicit array creation is not allowed - variable $row does 
                    not exist.                                                  
--------------------------------------------------------------------------------
Check manually 40   Only booleans are allowed in a ternary operator condition,  
                    mixed given.                                                
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
src/WorkflowNotification.php

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

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
tests/src/Functional/ServiceContactWidgetTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 92   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertSame().                     
--------------------------------------------------------------------------------
Check manually 101  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertSame().                     
--------------------------------------------------------------------------------
Check manually 124  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEmpty().                    
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
tests/src/Functional/WorkflowNotificationSettingsTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 60   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------
Check manually 61   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 69   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertGreaterThan().              
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
tests/src/Kernel/ReviewNotificationCronHookTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 122  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 140  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
tests/src/Kernel/ReviewNotificationEmailTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 113  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 115  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/modules/localgov_workflows_notifications/
tests/src/Kernel/WorkflowNotificationTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 114  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 116  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 117  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 118  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 130  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 142  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 144  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 155  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 167  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 178  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Functional/RequireLogTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 74   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 79   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 86   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEmpty().                    
--------------------------------------------------------------------------------
Check manually 91   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------
Check manually 98   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 103  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 111  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertFalse().                    
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Functional/WorkflowsAccessTest.
php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 188  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 211  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Functional/WorkflowsTranslation
Test.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 79   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 93   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 94   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 105  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 106  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 117  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 118  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Kernel/WorkflowsEnableTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 83   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 104  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Kernel/WorkflowsInstallTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 81   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 82   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 91   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 92   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 93   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 94   Construct empty() is not allowed. Use more strict           
                    comparison.                                                 
--------------------------------------------------------------------------------
Check manually 94   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertTrue().                     
--------------------------------------------------------------------------------
Check manually 106  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEmpty().                    
--------------------------------------------------------------------------------
Check manually 109  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE:
web/modules/contrib/localgov_workflows/tests/src/Kernel/WorkflowsScheduledTransi
tionsTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 85   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 86   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 92   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 93   Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 109  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 110  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 124  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------
Check manually 125  Dynamic call to static method                               
                    PHPUnit\Framework\Assert::assertEquals().                   
--------------------------------------------------------------------------------

FILE: web/modules/contrib/localgov_workflows/localgov_workflows.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_workflows/modules/localgov_workflows_notifications/
localgov_workflows_notifications.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_workflows/modules/localgov_review_date/localgov_rev
iew_date.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.                            
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant