Skip to content

Commit 4d1b4c3

Browse files
committed
chore: drupal 11 compatibility
1 parent c65dc29 commit 4d1b4c3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/composer/amazeelabs/silverback-cli/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"version": "2.9.12",
77
"require": {
88
"nelexa/zip": "^4.0.2",
9-
"drush/drush": "^10 || ^11 || ^12",
9+
"drush/drush": "^10 || ^11 || ^12 || ^13",
1010
"vlucas/phpdotenv": "^5.6.0",
1111
"ext-json": "*"
1212
},

packages/composer/amazeelabs/silverback-cli/src/AmazeeLabs/Silverback/Commands/SilverbackCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(Filesystem $fileSystem) {
5858
/**
5959
* {@inheritdoc}
6060
*/
61-
protected function execute(InputInterface $input, OutputInterface $output) {
61+
protected function execute(InputInterface $input, OutputInterface $output): int {
6262
if (!file_exists('composer.json')) {
6363
$output->writeln('<error>composer.json not found. Please run this command from composer based Drupal installations root directory.</>');
6464
exit(1);

packages/composer/amazeelabs/silverback-cli/src/AmazeeLabs/Silverback/Commands/SnapshotCreate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function configure() {
2020
/**
2121
* {@inheritDoc}
2222
*/
23-
protected function execute(InputInterface $input, OutputInterface $output) {
23+
protected function execute(InputInterface $input, OutputInterface $output): int {
2424
parent::execute($input, $output);
2525

2626
$path = $this->getSnapshotStorageDirectory($input);

packages/composer/amazeelabs/silverback-cli/src/AmazeeLabs/Silverback/Commands/SnapshotRestore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function configure() {
2020
/**
2121
* {@inheritDoc}
2222
*/
23-
protected function execute(InputInterface $input, OutputInterface $output) {
23+
protected function execute(InputInterface $input, OutputInterface $output): int {
2424
parent::execute($input, $output);
2525

2626
$snapshotDirectory = $this->getSnapshotStorageDirectory($input);

packages/composer/amazeelabs/silverback-cli/src/AmazeeLabs/Silverback/Commands/Teardown.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ protected function configure() {
1313
$this->setDescription('Delete the current site.');
1414
}
1515

16-
protected function execute(InputInterface $input, OutputInterface $output) {
16+
protected function execute(InputInterface $input, OutputInterface $output): int {
1717
parent::execute($input, $output);
1818
if ($this->fileSystem->exists('web/sites/default/files')) {
1919
$this->cleanDir('web/sites/default/files');

0 commit comments

Comments
 (0)