Closed (duplicate)
Project:
Drupal core
Version:
9.5.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 May 2018 at 11:40 UTC
Updated:
4 Jun 2022 at 08:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
saesa commentedReplaced type hinting from
FileSystemtoFileSystemInterface.Comment #3
saesa commentedComment #4
borisson_I'm not sure why the patch is failing on 7.1 but not on 7. The patch looks good though.
Comment #5
saesa commentedI have tried version 7.0 in my local and it works, then I tried version 7.1 in my local and gave this error:
PHPunit Test failed to complete; Error: PHPUnit testing framework version 6 or greater is required when running on PHP 7.0 or greater.I run the command
composer run-script drupal-phpunit-upgradein order to fix this.Comment #6
saesa commentedComment #15
quietone commentedLooks like this was fixed in Drupal 8.6.x in #2973509: Image media source uses FileSystem class instead of FileSystemInterface for type hinting. That issue was opened on 17 May 2018 just a few hours before this one. That a good reminder to always looks for duplicate issues.