Problem/Motivation

  • Fix coding standard errors by phpstan at d.o
    ------ ------------------------------------------------------------ 
      Line   modules/cloud_service_providers/aws_cloud/aws_cloud.module  
     ------ ------------------------------------------------------------ 
      5665   Fetching deprecated class constant EXISTS_REPLACE of class  
             Drupal\Core\File\FileSystemInterface:                       
             in drupal:10.3.0 and is removed from drupal:12.0.0. Use     
             \Drupal\Core\File\FileExists::Replace instead.              
     ------ ------------------------------------------------------------ 
     ------ ------------------------------------------------------------------------------------------------------- 
      Line   modules/cloud_service_providers/k8s/src/Plugin/cloud/launch_template/K8sCloudLaunchTemplatePlugin.php  
     ------ ------------------------------------------------------------------------------------------------------- 
      1497   Fetching deprecated class constant EXISTS_RENAME of class                                              
             Drupal\Core\File\FileSystemInterface:                                                                  
             in drupal:10.3.0 and is removed from drupal:12.0.0. Use                                                
             \Drupal\Core\File\FileExists::Rename instead.                                                          
     ------ ------------------------------------------------------------------------------------------------------- 
     ------ ------------------------------------------------------------ 
      Line   modules/gapps/src/Form/Config/GAppsAdminSettings.php        
     ------ ------------------------------------------------------------ 
      207    Fetching deprecated class constant EXISTS_REPLACE of class  
             Drupal\Core\File\FileSystemInterface:                       
             in drupal:10.3.0 and is removed from drupal:12.0.0. Use     
             \Drupal\Core\File\FileExists::Replace instead.              
     ------ ------------------------------------------------------------ 
     ------ ------------------------------------------------------------ 
      Line   src/Service/CloudService.php                                
     ------ ------------------------------------------------------------ 
      735    Fetching deprecated class constant EXISTS_REPLACE of class  
             Drupal\Core\File\FileSystemInterface:                       
             in drupal:10.3.0 and is removed from drupal:12.0.0. Use     
             \Drupal\Core\File\FileExists::Replace instead.              
     ------ ------------------------------------------------------------ 
     [ERROR] Found 4 errors

Issue fork cloud-3443311

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yas created an issue. See original summary.

yas’s picture

yas’s picture

Status: Needs work » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@all

I’ll merge the patch to 7.x; and close this issue as Fixed.

  • 6a4b3947 committed on 7.x
    Issue #3443311 by yas: Comply with Drupal coding standards (32) (...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.