Issues reported by PHPStan

Created on 28 October 2023, 8 months ago
Updated 6 November 2023, 8 months ago

Problem/Motivation

Steps to reproduce

$ php vendor/bin/phpstan analyze $_WEB_ROOT/modules/custom/$CI_PROJECT_NAME $PHPSTAN_CONFIGURATION --no-progress || EXIT_CODE=$?
 ------ ------------------------------------------------------------------ 
  Line   modules/crm_case/crm_case.module                                  
 ------ ------------------------------------------------------------------ 
  94     Call to deprecated method deleteRevision() of class               
         Drupal\Core\Entity\EntityStorageInterface:                        
         in drupal:10.1.0 and is removed from drupal:11.0.0. Use           
         \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision  
         instead.                                                          
 ------ ------------------------------------------------------------------ 
 ------ ---------------------------------------------------------------- 
  Line   tests/src/Functional/ContactEditFormTest.php                    
 ------ ---------------------------------------------------------------- 
  127    Call to deprecated method loadRevision() of class               
         Drupal\Core\Entity\EntityStorageInterface:                      
         in drupal:10.1.0 and is removed from drupal:11.0.0. Use         
         \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision  
         instead.                                                        
  128    Call to deprecated method loadRevision() of class               
         Drupal\Core\Entity\EntityStorageInterface:                      
         in drupal:10.1.0 and is removed from drupal:11.0.0. Use         
         \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision  
         instead.                                                        
 ------ ---------------------------------------------------------------- 
 [ERROR] Found 3 errors  

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bluegeek9

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024