Skip to content

Commit

Permalink
#1 - Fix Drupal deprecations
Browse files Browse the repository at this point in the history
+ Add a changelog
  • Loading branch information
benjamintoussaint committed Mar 16, 2024
1 parent efd3de4 commit a1486e5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.2] - 2024-03-12
### Fixed
- Fix Drupal deprecations

## [2.0.1] - 2023-07-25
### Added
- Add composer installer type
2 changes: 1 addition & 1 deletion src/Flysystem/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public function getExternalUrl($uri) {
*/
public function ensure($force = FALSE) {
try {
$exists = $this->client->doesBucketExist($this->bucket);
$exists = $this->client->doesBucketExistV2($this->bucket);
}
catch (S3Exception $e) {
$message = $e->getMessage();
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Functional/ModuleInstallUninstallWebTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ class ModuleInstallUninstallWebTest extends Base {
/**
* {@inheritdoc}
*/
public static $modules = ['flysystem_s3'];
protected static $modules = ['flysystem_s3'];

}

0 comments on commit a1486e5

Please sign in to comment.