-
Notifications
You must be signed in to change notification settings - Fork 26
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 #10 from danielme85/dev
Merge dev -> master, all green! ✅
- Loading branch information
Showing
7 changed files
with
133 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
language: php | ||
php: | ||
- 7.2 | ||
- 7.3 | ||
services: | ||
- mysql | ||
- mongodb | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
} | ||
], | ||
"require": { | ||
"php": ">=7.1", | ||
"php": ">=7.2", | ||
"illuminate/support": ">=5.6" | ||
}, | ||
"require-dev": { | ||
|
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: dmellum | ||
* Date: 10/4/19 | ||
* Time: 1:53 PM | ||
* ___ _ _ _ ___ | ||
* |_ _|_ __ | |_ ___ _ __ __| | ___ ___(_) __ _ _ __ |_ _|_ __ ___ | ||
* | || '_ \| __/ _ \ '__/ _` |/ _ \/ __| |/ _` | '_ \ | || '_ \ / __| | ||
* | || | | | || __/ | | (_| | __/\__ \ | (_| | | | | | || | | | (__ | ||
* |___|_| |_|\__\___|_| \__,_|\___||___/_|\__, |_| |_| |___|_| |_|\___| | ||
* |___/ | ||
*/ | ||
|
||
namespace danielme85\LaravelLogToDB\Processors; | ||
|
||
use Monolog\Processor\ProcessorInterface; | ||
|
||
class PhpVersionProcessor implements ProcessorInterface | ||
{ | ||
/** | ||
* @return array The processed record | ||
*/ | ||
public function __invoke(array $record) { | ||
$record['extra']['php_version'] = phpversion(); | ||
|
||
return $record; | ||
} | ||
} |
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