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

Commit 1134eda

Browse files
committed
Fix PHP version for composer
1 parent 2edcfd6 commit 1134eda

File tree

3 files changed

+26
-20
lines changed

3 files changed

+26
-20
lines changed

app/Http/Controllers/Vip/CertificateController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function getIndex()
1414
$ticket = Models\Ticket::find(\Route::input('ticket'));
1515
// TODO(@tylermenezes): We should check if they've checked in, however Clear clears checkin time upon checkout.
1616
$ends_at = new Carbon($ticket->event['batch']['ends_at']);
17-
//if ($ends_at->gte(Carbon::now())) \App::abort(404);
17+
if ($ends_at->gte(Carbon::now())) \App::abort(404);
1818

1919

2020
$pdf = new \FPDI('L', 'mm', 'Letter');

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
]
5757
},
5858
"config": {
59-
"preferred-install": "dist"
59+
"preferred-install": "dist",
60+
"platform": {
61+
"php": "7.0.22"
62+
}
6063
}
6164
}

composer.lock

Lines changed: 21 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)