- Issue created by @andyg5000
- Status changed to Needs work
8 months ago 11:54pm 26 April 2024 - ๐บ๐ธUnited States cmlara
Good Evening, Thank you fort the patch.
The patch file workflow has been deprecated on D.O. due to the upcoming decommissioning of DrupalCi which will be replaced by GitLab Ci.
Patch files can only be tested in DrupalCi while MRโs can be tested in both DrupalCi and GitLabCi
Many modules, including TFA, have already adopted GitLab CI in order to be prepared for decommissioning. Part of the adoption processes involves disabling DrupalCi to conserve resources.
Due to above reasons the TFA project can only work with MRโs and will need the patch file converted to continue.
Without checking:
It is possible this change will require PHPStan baseline ignores to be removed to pass testing. - First commit to issue fork.
- Merge request !83Issue #3443828: Incorrect typehint \Drupal\encrypt\EncryptionProfileInterface โ (Open) created by zaryab_drupal
- Status changed to Needs review
8 months ago 6:08am 29 April 2024 - Status changed to Needs work
8 months ago 7:05am 29 April 2024 - ๐บ๐ธUnited States cmlara
I re0targeted the MR as it was set against the 2.x branch (always validate Target branch when opening an MR)
Needs work (as anticipated in #3) for removing the PHPStan baseline entries related to:
Ignored error pattern #^Parameter \#2 \$encryption_profile of method Drupal\\encrypt\\EncryptService\:\:decrypt\(\) expects Drupal\\encrypt\\EncryptionProfileInterface, Drupal\\encrypt\\EncryptionProfileManagerInterface given\.$# in path /builds/project/tfa/web/modules/custom/tfa/src/Plugin/TfaBasePlugin.php was not matched in reported errors. Ignored error pattern #^Parameter \#2 \$encryption_profile of method Drupal\\encrypt\\EncryptService\:\:encrypt\(\) expects Drupal\\encrypt\\EncryptionProfileInterface, Drupal\\encrypt\\EncryptionProfileManagerInterface given\.$# in path /builds/project/tfa/web/modules/custom/tfa/src/Plugin/TfaBasePlugin.php was not matched in reported errors. Ignored error pattern #^Property Drupal\\tfa\\Plugin\\TfaBasePlugin\:\:\$encryptionProfile \(Drupal\\encrypt\\EncryptionProfileManagerInterface\) does not accept Drupal\\encrypt\\EncryptionProfileInterface\.$# in path /builds/project/tfa/web/modules/custom/tfa/src/Plugin/TfaBasePlugin.php was not matched in reported errors.
(other existing failures that exist in mainline can/should stay, they will be cleaned up in a separate issue)
- Status changed to Needs review
8 months ago 5:28am 30 April 2024 - Status changed to Needs work
8 months ago 7:01am 30 April 2024 - ๐บ๐ธUnited States cmlara
Feedback from #7 has not been addressed, back to NW.
- First commit to issue fork.
- Status changed to Needs review
6 months ago 6:47am 12 June 2024 - ๐ต๐นPortugal jcnventura
Not changing the status, but I find it strange that there are so many unrelated changes to the phpstan-baseline.neon file, while the simple change done in this patch only shows up in the last 2 of the 5 blocks being deleted.
- Status changed to Needs work
6 months ago 10:34pm 13 June 2024 - ๐บ๐ธUnited States cmlara
Indeed looks like a couple of mainline no longer needed ignore removals slipped into this (one annoyance of PHPStan as the scanning is getting better some of our baseline ignores resolve with no action by us)
One of the items looks like an entry jumped locations, Iโm not sure if that was manual manipulation or if we somehow had an entry out of order however that should at least be verified as we donโt want a programmatic run of this in the future moving it around again if this was a manual mis-positioning.
NW on the two entries that should be left in and handled in a dedicated baseline update and possibly the one entry that jumped as well.