-
Notifications
You must be signed in to change notification settings - Fork 55
Update ReleaseNotesTrait and AutoUpdateTrait #986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
8d867d8
7e1e548
5c1c320
d5aef75
9306484
07ca0ed
530898e
bd3fffa
58e9d12
1966687
073fd61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -194,7 +194,7 @@ protected function isImageSource(string $path) { | |||||
| * @throws \Exception | ||||||
| */ | ||||||
| protected function getFileNameFromPath(string $path) { | ||||||
| $file_name = $this->fileSystem->basename($path); | ||||||
| $file_name = basename($path); | ||||||
|
||||||
| $file_name = basename($path); | |
| $file_name = $this->fileSystem->basename($path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FileSystemInterface::basename() was deprecated in Drupal 9.3 and removed in Drupal 11. Use PHP's native basename() instead:
Uh oh!
There was an error while loading. Please reload this page.