php drupal-check.phar modules/contrib/media_entity_pinterest/
7/7 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -------------------------------------------------------
Line media_entity_pinterest.install
------ -------------------------------------------------------
14 Call to deprecated function file_prepare_directory().
25 Call to deprecated function file_unmanaged_copy().
------ -------------------------------------------------------
------ -------------------------------------------------------------------------
Line tests/src/Unit/ConstraintsTest.php
------ -------------------------------------------------------------------------
49 Call to deprecated method getMock() of class Drupal\Tests\UnitTestCase.
------ -------------------------------------------------------------------------
[ERROR] Found 3 errors| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 3074751-14.patch | 852 bytes | chr.fritsch |
| #11 | 3074751-11.patch | 1.24 KB | chr.fritsch |
| #7 | 3074751-7.patch | 1.12 KB | gg4 |
| #6 | 3074751-6.patch | 2.28 KB | gg4 |
| #5 | 3074751-5.patch | 1.99 KB | chr.fritsch |
Comments
Comment #2
sergiu stici commentedPlease review.
Comment #3
chr.fritschOne more deprecation:
------ ---------------------------------------------------------------------
Line media_entity_pinterest.install
------ ---------------------------------------------------------------------
16 Call to deprecated function file_scan_directory():
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead.
------ ---------------------------------------------------------------------
Comment #4
sahana _n commentedPlease review the patch. I removed deprecated methods
Comment #5
chr.fritschThis only contains 8.7. deprecations and is ready to commit.
Comment #6
gg4 commentedNeed to add a version dependency as well.
Comment #7
gg4 commentedSubsequent patch that contains 8.8. deprecations.
Comment #9
gg4 commentedComment #10
gg4 commentedPostponing the last piece of this. Would rather not add a dependency to the 8.x-2.x branch on 8.8 until 8.7 is no longer receiving security updates. See: https://www.drupal.org/core/release-cycle-overview
Comment #11
chr.fritschSo I think it's time to get this done. The other media modules are also already D9 compatible and dropped D8.7 support in their latest releases.
For us it's important to get this at least committed to the dev branch, to build our distribution with composer.
Comment #13
gg4 commentedCommitted #11 to 8.x-2.x.
Comment #14
chr.fritschOne error sneaked in...
Comment #16
gg4 commentedThanks