Skip to content
This repository was archived by the owner on Apr 26, 2020. It is now read-only.

Commit aa6e7bd

Browse files
jusurbantonmedv
authored andcommitted
fixes issue #210 (#220)
1 parent 53056fb commit aa6e7bd

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@
3939
},
4040
"require-dev": {
4141
"deployer/deployer": "^6.3"
42+
},
43+
"require": {
44+
"php": "~7.0"
4245
}
4346
}

recipe/sentry.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
desc('Notifying Sentry of deployment');
1515
task(
1616
'deploy:sentry',
17-
function () {
17+
static function () {
1818
$now = date('c');
1919

2020
$defaultConfig = [
@@ -174,7 +174,7 @@ static function (string $line): bool {
174174

175175
return array_map(
176176
static function (string $line): array {
177-
[$ref, $authorName, $authorEmail, $timestamp] = explode('#', $line);
177+
list($ref, $authorName, $authorEmail, $timestamp) = explode('#', $line);
178178

179179
return [
180180
'id' => $ref,

0 commit comments

Comments
 (0)