Skip to content

Commit

Permalink
Merge pull request #5 from kitloong/feature/update
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
kitloong committed Feb 18, 2023
2 parents b5a45e9 + 735d728 commit 9f62604
Show file tree
Hide file tree
Showing 23 changed files with 18 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd, redis, memcached
tools: composer:v2
coverage: none
coverage: pcov

- name: Install dependencies
run: |
Expand Down
33 changes: 17 additions & 16 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,29 @@
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
stderr="true"
>
stderr="true">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
</report>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<!-- <coverage processUncoveredFiles="true">-->
<!-- <include>-->
<!-- <directory suffix=".php">./src</directory>-->
<!-- </include>-->
<!-- </coverage>-->
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<!-- <coverage processUncoveredFiles="true">-->
<!-- <include>-->
<!-- <directory suffix=".php">./src</directory>-->
<!-- </include>-->
<!-- </coverage>-->
<logging>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<server name="DB_CONNECTION" value="sqlite"/>
Expand Down
5 changes: 0 additions & 5 deletions src/HttpLog/HttpLogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions src/HttpLog/HttpLogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions src/HttpLog/LogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions src/HttpLog/LogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions src/PerformanceLog/LogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions src/PerformanceLog/LogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions src/PerformanceLog/PerformanceLogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions src/PerformanceLog/PerformanceLogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions src/QueryLog/LogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/09
*/

namespace KitLoong\AppLogger\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions src/QueryLog/LogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2020/10/14
*/

namespace KitLoong\AppLogger\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions src/QueryLog/QueryLogProfile.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/09
*/

namespace KitLoong\AppLogger\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions src/QueryLog/QueryLogWriter.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/09
*/

namespace KitLoong\AppLogger\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/Feature/HttpLogTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\Tests\Feature;

Expand Down
5 changes: 0 additions & 5 deletions tests/Feature/QueryLogTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/09
*/

namespace KitLoong\AppLogger\Tests\Feature;

Expand Down
5 changes: 0 additions & 5 deletions tests/HttpLog/LogProfileTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/HttpLog/LogWriterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\HttpLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/PerformanceLog/LogProfileTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/PerformanceLog/LogWriterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\PerformanceLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/QueryLog/LogProfileTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/QueryLog/LogWriterTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/10
*/

namespace KitLoong\AppLogger\Tests\QueryLog;

Expand Down
5 changes: 0 additions & 5 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<?php
/**
* Created by PhpStorm.
* User: liow.kitloong
* Date: 2021/01/08
*/

namespace KitLoong\AppLogger\Tests;

Expand Down

0 comments on commit 9f62604

Please sign in to comment.