- Issue created by @MattDanger
- πΊπΈUnited States MattDanger
I've attached a patch that resolves the deprecation warnings.
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).
Active
1.0
Code
I've attached a patch that resolves the deprecation warnings.