- Issue was unassigned.
- Status changed to Active
3 months ago 9:42pm 21 April 2025 - ๐ฌ๐งUnited Kingdom d.fisher
Not getting anywhere with this one. Tests are not my strong point so setting to Needs Work! Anyone who has a deeper knowledge, feel free to duck in!
- Status changed to Needs work
15 days ago 4:40pm 24 June 2025 - ๐ฌ๐งUnited Kingdom daniel.j
daniel.j โ made their first commit to this issueโs fork.
- ๐ฌ๐งUnited Kingdom d.fisher
Looking good. There is a phpcs error still though.
85 | WARNING | Unused variable $media. (DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable)
135 | WARNING | Unused variable $media. (DrupalPractice.CodeAnalysis.VariableAnalysis.UnusedVariable) - First commit to issue fork.
- ๐จ๐ฆCanada danrod Ottawa
Looks like not even the composer tests are passing, I'll look into that, sorry for the inconvenience !
- ๐ฌ๐งUnited Kingdom daniel.j
Appologies, I meant to follow up with a comment after pushing changes but got cought up with something else.
The tests added are for the form, I hope to follow up with some tests for the media plugin itself. I'll be happy to clean up the tests already pushed as well for cs and stan issues.
- ๐ฌ๐งUnited Kingdom daniel.j
CI all green. Please see https://www.drupal.org/project/drupal/issues/3532187 ๐ Composer issue when dealerdirect/phpcodesniffer-composer-installer update from v1.0.0 to v1.1.0 Active with regards to the composer issue.
- ๐ฌ๐งUnited Kingdom daniel.j
Changes added include Unit and Kernal tests for 'MediaEntityLink.php', also fixes for composer, phpcs, phpstan.
Please review the tests.
- ๐ฌ๐งUnited Kingdom d.fisher
Looking good. Tests pass. Pipelines pass. This is awesome. Great work! @danrod are you happy for me to commit this?
- ๐จ๐ฆCanada danrod Ottawa
Hi @d.fisher I'm ok with this, please do commit !
Great work ! - ๐จ๐ฆCanada danrod Ottawa
@daniel.j , thanks a lot of the information. I was having the same issue with some projects and I'll apply that solution.
-
d.fisher โ
committed b5fe8ebe on 2.0.x
Issue #3212822 by d.fisher, daniel.j, danrod, dishabhadra: Media type...
-
d.fisher โ
committed b5fe8ebe on 2.0.x
- ๐ฌ๐งUnited Kingdom d.fisher
Thank you everyone for all your efforts. Great to finally get this one merged, released, and marked as fixed!!