- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
over 1 year ago Waiting for branch to pass This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module β , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.15.1, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot β to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- First commit to issue fork.
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 5.7last update
about 1 year ago Waiting for branch to pass - First commit to issue fork.
- π¬π§United Kingdom somersoft
Just PHPCS and PHPSTAN failing on GitLab CI
Example json to add the diff link to composer(.patches).json"patches": { "drupal/certificate": { "Automated Drupal 10 compatibility fixes - https://www.drupal.org/project/certificate/issues/3414060": "https://git.drupalcode.org/project/certificate/-/merge_requests/3.diff" } }
- π¬π§United Kingdom somersoft
There is now a check to see if a certificate is published when generating the list of valid certificates.
The following is from composer.json and shows the commit the patch can be applied to. It is currently the last commit to 4.x branch.
require: { "drupal/certificate": "dev-4.x#<strong>eba7efb019fb9d6bf4566304b1d61043bb491dc3</strong>" }
https://git.drupalcode.org/project/certificate/-/commit/eba7efb019fb9d6bf4566304b1d61043bb491dc3
updated at February 2, 2023 at 5:38:41 PM GMT .All three commits, up to 1ba851f74ca1f541d7bcc6ba2d7b08d96bcd748d, on the 4.0.x branch are also present in this branch.
- π¬π§United Kingdom somersoft
Add the related Course Credit issue to give visibility on the D10 status of that project/package that provides a class for this project/package.
- First commit to issue fork.
- πΊπΈUnited States earthday47 New York
Thanks for all the work on this! On a site with MR 3 applied I am getting an error from CertificateMappingsInlineEntityForm for the createInstance declaration. The injected services don't match up.
Instead of adding all of EntityInlineForm's injected services, I switched to the webform style of calling parent::createInstance to prevent having to modify this later. Pushed a commit.
- π¬π§United Kingdom somersoft
Due to changes to code in the source branch, this is one way of using these changes in composer.json
"repositories": [ { "type": "git", "url": "https://git.drupalcode.org/issue/certificate-3286439.git" }, ], "require": { "drupal/certificate": "dev-3286439-drupal-10", }
and no patching configuration.