diff --git a/API.php b/API.php index c537665..77cb5ee 100644 --- a/API.php +++ b/API.php @@ -1,4 +1,5 @@ log; } - } diff --git a/Controller.php b/Controller.php index 6e7a92a..80a596d 100644 --- a/Controller.php +++ b/Controller.php @@ -1,4 +1,5 @@ content = $content; } - } diff --git a/Log/Log.php b/Log/Log.php index 204fb07..18fed9e 100644 --- a/Log/Log.php +++ b/Log/Log.php @@ -1,4 +1,5 @@ setUpWebsites(); - } - public function tearDown(): void - { - // empty - } - private function setUpWebsites() - { - if (!self::siteCreated($idSite = 1)) { - self::createWebsite('2021-01-01'); - } - } -} +setUpWebsites(); + } + public function tearDown(): void + { + // empty + } + private function setUpWebsites() + { + if (!self::siteCreated($idSite = 1)) { + self::createWebsite('2021-01-01'); + } + } +} diff --git a/tests/Framework/TestCase/IntegrationTestCase.php b/tests/Framework/TestCase/IntegrationTestCase.php index 6b68463..82da099 100644 --- a/tests/Framework/TestCase/IntegrationTestCase.php +++ b/tests/Framework/TestCase/IntegrationTestCase.php @@ -1,4 +1,5 @@ log = $log; } - } diff --git a/tests/Integration/ApiTest.php b/tests/Integration/ApiTest.php index 993578c..4ae3ef3 100644 --- a/tests/Integration/ApiTest.php +++ b/tests/Integration/ApiTest.php @@ -1,4 +1,5 @@ new FakeAccess() ); } - } diff --git a/tests/Integration/Log/Reader/DatabaseTest.php b/tests/Integration/Log/Reader/DatabaseTest.php index 019e909..e60389d 100644 --- a/tests/Integration/Log/Reader/DatabaseTest.php +++ b/tests/Integration/Log/Reader/DatabaseTest.php @@ -1,4 +1,5 @@ PIWIK_INCLUDE_PATH . '/plugins/LogViewer/tests/resources/piwik.log' ); } - } diff --git a/tests/System/ApiTest.php b/tests/System/ApiTest.php index cfb52e3..e9115c0 100644 --- a/tests/System/ApiTest.php +++ b/tests/System/ApiTest.php @@ -1,4 +1,5 @@ PIWIK_INCLUDE_PATH . '/plugins/LogViewer/tests/resources/piwik.log' ); } - -} \ No newline at end of file +} diff --git a/tests/System/CheckDirectDependencyUseCommandTest.php b/tests/System/CheckDirectDependencyUseCommandTest.php index 5323542..f0ce73d 100644 --- a/tests/System/CheckDirectDependencyUseCommandTest.php +++ b/tests/System/CheckDirectDependencyUseCommandTest.php @@ -1,4 +1,5 @@ usesFoundList[$pluginName]); } -} \ No newline at end of file +} diff --git a/tests/Unit/Log/LineTest.php b/tests/Unit/Log/LineTest.php index 8995b22..70d8d82 100644 --- a/tests/Unit/Log/LineTest.php +++ b/tests/Unit/Log/LineTest.php @@ -1,4 +1,5 @@ assertSame('MyTestMessage', $line->content); } - } diff --git a/tests/Unit/Log/Parser/PiwikTest.php b/tests/Unit/Log/Parser/PiwikTest.php index 697ecac..186393e 100644 --- a/tests/Unit/Log/Parser/PiwikTest.php +++ b/tests/Unit/Log/Parser/PiwikTest.php @@ -1,4 +1,5 @@ $message, ); } - } diff --git a/tests/Unit/Log/QueryTest.php b/tests/Unit/Log/QueryTest.php index 1f87047..93fda7f 100644 --- a/tests/Unit/Log/QueryTest.php +++ b/tests/Unit/Log/QueryTest.php @@ -1,4 +1,5 @@