-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #364 from ARCANEDEV/develop
Starting Laravel v8 support
- Loading branch information
Showing
63 changed files
with
143 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
beStrictAboutTestsThatDoNotTestAnything="false" | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="false" | ||
stopOnFailure="false" | ||
verbose="true"> | ||
> | ||
<testsuites> | ||
<testsuite name="Package Test Suite"> | ||
<directory suffix=".php">./tests/</directory> | ||
<directory suffix=".php">./tests</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">./src/</directory> | ||
</whitelist> | ||
</filter> | ||
<coverage processUncoveredFiles="true"> | ||
<include> | ||
<directory suffix=".php">./src</directory> | ||
</include> | ||
<report> | ||
<clover outputFile="build/coverage/clover.xml"/> | ||
<html outputDirectory="build/coverage/html"/> | ||
<text outputFile="build/coverage/coverage.txt" showOnlySummary="true"/> | ||
</report> | ||
</coverage> | ||
<php> | ||
<env name="LOG_CHANNEL" value="daily"/> | ||
</php> | ||
<logging> | ||
<log type="coverage-clover" target="build/logs/clover.xml"/> | ||
<log type="coverage-text" target="build/logs/coverage.txt"/> | ||
<log type="coverage-html" target="build/logs/coverage"/> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,8 @@ | |
use Arcanedev\LogViewer\Contracts\Utilities\LogChecker as LogCheckerContract; | ||
|
||
/** | ||
* Class PublishCommand | ||
* Class CheckCommand | ||
* | ||
* @package Arcanedev\LogViewer\Commands | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class CheckCommand extends Command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Class ClearCommand | ||
* | ||
* @package Arcanedev\LogViewer\Commands | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class ClearCommand extends Command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
/** | ||
* Class Command | ||
* | ||
* @package Arcanedev\LogViewer\Bases | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
abstract class Command extends BaseCommand | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
/** | ||
* Class PublishCommand | ||
* | ||
* @package Arcanedev\LogViewer\Commands | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class PublishCommand extends Command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Class StatsCommand | ||
* | ||
* @package Arcanedev\LogViewer\Commands | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class StatsCommand extends Command | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Interface LogViewer | ||
* | ||
* @package Arcanedev\LogViewer\Contracts | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface LogViewer extends Patternable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface Patternable | ||
* | ||
* @package Arcanedev\LogViewer\Contracts | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface Patternable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Interface Table | ||
* | ||
* @package Arcanedev\LogViewer\Contracts | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface Table | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface Factory | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface Factory extends Patternable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface Filesystem | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface Filesystem extends Patternable | ||
|
@@ -40,7 +39,7 @@ public function getInstance(); | |
* | ||
* @param string $storagePath | ||
* | ||
* @return self | ||
* @return $this | ||
*/ | ||
public function setPath($storagePath); | ||
|
||
|
@@ -49,7 +48,7 @@ public function setPath($storagePath); | |
* | ||
* @param string $datePattern | ||
* | ||
* @return self | ||
* @return $this | ||
*/ | ||
public function setDatePattern($datePattern); | ||
|
||
|
@@ -58,7 +57,7 @@ public function setDatePattern($datePattern); | |
* | ||
* @param string $prefixPattern | ||
* | ||
* @return self | ||
* @return $this | ||
*/ | ||
public function setPrefixPattern($prefixPattern); | ||
|
||
|
@@ -67,7 +66,7 @@ public function setPrefixPattern($prefixPattern); | |
* | ||
* @param string $extension | ||
* | ||
* @return self | ||
* @return $this | ||
*/ | ||
public function setExtension($extension); | ||
|
||
|
@@ -119,7 +118,7 @@ public function read($date); | |
* | ||
* @throws \Arcanedev\LogViewer\Exceptions\FilesystemException | ||
*/ | ||
public function delete($date); | ||
public function delete(string $date); | ||
|
||
/** | ||
* Clear the log files. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface LogChecker | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface LogChecker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
/** | ||
* Interface LogLevels | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface LogLevels | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
/** | ||
* Interface LogMenu | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface LogMenu | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
/** | ||
* Interface LogStyler | ||
* | ||
* @package Arcanedev\LogViewer\Contracts\Utilities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
interface LogStyler | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ | |
/** | ||
* Class Log | ||
* | ||
* @package Arcanedev\LogViewer\Entities | ||
* @author ARCANEDEV <[email protected]> | ||
*/ | ||
class Log implements Arrayable, Jsonable, JsonSerializable | ||
|
Oops, something went wrong.