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

Commit e6b97aa

Browse files
committed
Don't worry about supporting <5.5
1 parent f2f06e3 commit e6b97aa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/MailTracking.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ public function setUpMailTracking()
5353
->registerPlugin(new MailRecorder($this));
5454
};
5555

56-
// To support Phpunit 5 and Laravel < 5.2, register the plugin normally
57-
if (!method_exists($this, 'afterApplicationCreated')) {
58-
$register_plugin();
59-
60-
return;
61-
}
62-
63-
// For PhpUnit 6 and Laravel > 5.2, register the plugin after the app is booted
6456
$this->afterApplicationCreated(function () use ($register_plugin) {
6557
$register_plugin();
6658
});

0 commit comments

Comments
 (0)