We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6a8c74 commit bf115e7Copy full SHA for bf115e7
test/unit/LicenceYearTest.php
@@ -6,7 +6,9 @@ class LicenceYearTest extends \PHPUnit_Framework_TestCase
6
{
7
public function testConstructor()
8
9
- $license = explode("\n", file_get_contents('./LICENSE.txt'));
+ $rootDir = __DIR__ . '/../..';
10
+
11
+ $license = explode("\n", file_get_contents("$rootDir/LICENSE.txt"));
12
$copyright = $license[2];
13
14
$year = date('Y');
0 commit comments