DataCite DOIs PHP 8.2 compatibility

Created on 15 November 2024, about 1 month ago

We noticed some issues with PHP <= 8.2 related to the doi_datacite submodule.

Deprecated function: Creation of dynamic property Drupal\doi_datacite\Minter\Dois::$api_endpoint is deprecated in Drupal\doi_datacite\Minter\Dois->__construct() (line 20 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Deprecated function: Creation of dynamic property Drupal\doi_datacite\Minter\Dois::$doi_prefix is deprecated in Drupal\doi_datacite\Minter\Dois->__construct() (line 21 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Deprecated function: Creation of dynamic property Drupal\doi_datacite\Minter\Dois::$doi_suffix_source is deprecated in Drupal\doi_datacite\Minter\Dois->__construct() (line 22 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Deprecated function: Creation of dynamic property Drupal\doi_datacite\Minter\Dois::$api_username is deprecated in Drupal\doi_datacite\Minter\Dois->__construct() (line 23 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Deprecated function: Creation of dynamic property Drupal\doi_datacite\Minter\Dois::$api_password is deprecated in Drupal\doi_datacite\Minter\Dois->__construct() (line 24 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Deprecated function: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\doi_datacite\Minter\Dois->getDataCiteElementValues() (line 444 of modules/contrib/persistent_ids/modules/doi_datacite/src/Minter/Dois.php).

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States MattDanger

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

Comments & Activities

Production build 0.71.5 2024