Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Fix code depreactions for phpstan 1.x (required for PHP 8.1) #206

@stephen-cox

Description

@stephen-cox

We need to upgrade phpstan to 1.x for PHP 8.1. This highlights the following issues:

 ------ ----------------------------------------------------------------------------- 
  Line   themes/contrib/localgov_theme/localgov_theme.theme                           
 ------ ----------------------------------------------------------------------------- 
  51     Call to deprecated function file_create_url():                               
         in drupal:9.3.0 and is removed from drupal:10.0.0.                           
           Use the appropriate method on \Drupal\Core\File\FileUrlGeneratorInterface  
           instead.                                                                   
  51     Call to deprecated function file_url_transform_relative():                   
         in drupal:9.3.0 and is removed from drupal:10.0.0.                           
           Use \Drupal\Core\File\FileUrlGenerator::transformRelative() instead.       
 ------ ----------------------------------------------------------------------------- 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions