File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
packages/composer/amazeelabs/silverback-cli
src/AmazeeLabs/Silverback/Commands Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
"version" : " 2.9.12" ,
7
7
"require" : {
8
8
"nelexa/zip" : " ^4.0.2" ,
9
- "drush/drush" : " ^10 || ^11 || ^12" ,
9
+ "drush/drush" : " ^10 || ^11 || ^12 || ^13 " ,
10
10
"vlucas/phpdotenv" : " ^5.6.0" ,
11
11
"ext-json" : " *"
12
12
},
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function __construct(Filesystem $fileSystem) {
58
58
/**
59
59
* {@inheritdoc}
60
60
*/
61
- protected function execute (InputInterface $ input , OutputInterface $ output ) {
61
+ protected function execute (InputInterface $ input , OutputInterface $ output ): int {
62
62
if (!file_exists ('composer.json ' )) {
63
63
$ output ->writeln ('<error>composer.json not found. Please run this command from composer based Drupal installations root directory.</> ' );
64
64
exit (1 );
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ protected function configure() {
20
20
/**
21
21
* {@inheritDoc}
22
22
*/
23
- protected function execute (InputInterface $ input , OutputInterface $ output ) {
23
+ protected function execute (InputInterface $ input , OutputInterface $ output ): int {
24
24
parent ::execute ($ input , $ output );
25
25
26
26
$ path = $ this ->getSnapshotStorageDirectory ($ input );
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ protected function configure() {
20
20
/**
21
21
* {@inheritDoc}
22
22
*/
23
- protected function execute (InputInterface $ input , OutputInterface $ output ) {
23
+ protected function execute (InputInterface $ input , OutputInterface $ output ): int {
24
24
parent ::execute ($ input , $ output );
25
25
26
26
$ snapshotDirectory = $ this ->getSnapshotStorageDirectory ($ input );
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ protected function configure() {
13
13
$ this ->setDescription ('Delete the current site. ' );
14
14
}
15
15
16
- protected function execute (InputInterface $ input , OutputInterface $ output ) {
16
+ protected function execute (InputInterface $ input , OutputInterface $ output ): int {
17
17
parent ::execute ($ input , $ output );
18
18
if ($ this ->fileSystem ->exists ('web/sites/default/files ' )) {
19
19
$ this ->cleanDir ('web/sites/default/files ' );
You can’t perform that action at this time.
0 commit comments