Skip to content

Commit 34c2001

Browse files
committed
update psr3 example
1 parent 6a64817 commit 34c2001

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/bootstrap.psr3.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

3-
$baseDir = dirname(__DIR__);
4-
$vendorDir = $baseDir . '/vendor';
5-
6-
require_once $vendorDir . '/autoload.php';
3+
require_once dirname(__DIR__) . '/vendor/autoload.php';
74

85
use Psr\Log\AbstractLogger;
96
use Psr\Log\LogLevel;

0 commit comments

Comments
 (0)