apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

FILE_STATUS_PERMANENT is deprecated #213

Closed phdhiren closed 1 year ago

phdhiren commented 1 year ago

Is your feature request related to a problem? Please describe.

FILE_STATUS_PERMANENT is deprecated in Drupal 9.3

FILE:
web/modules/contrib/apigee_api_catalog/tests/src/Functional/ApiDocsAdminTest.php

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Fix later      120  Call to deprecated constant FILE_STATUS_PERMANENT:          
                    Deprecated in drupal:9.3.0 and is removed from              
                    drupal:10.0.0. Use                                          
                    Drupal\file\FileInterface::STATUS_PERMANENT or              
                    \Drupal\file\FileInterface::setPermanent().                 
--------------------------------------------------------------------------------

Additional context

https://www.drupal.org/node/3022147