Skip to content

Commit

Permalink
add StreamFormatter (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 authored May 13, 2022
1 parent 42c6431 commit 727e061
Show file tree
Hide file tree
Showing 12 changed files with 1,089 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
name: "documentation"
description: "Improvements or additions to documentation"

# other Labels to mimmi20/template
# other Labels to mimmi20/monolog-streamformatter
#- color: 5319e7
# name: "new useragents"
# description: ""
Expand Down
2 changes: 1 addition & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ categories:
- title: '**🧹 Maintenance:**'
labels:
- 'maintenance'
# other Labels to mimmi20/template
# other Labels to mimmi20/monolog-streamformatter
#- title: '**📦 new Useragents:**'
# labels:
# - 'new useragents'
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ name: "Continuous Integration"
env:
PHP_EXTENSIONS: "json, opcache, mbstring"
PHP_INI_VALUES: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
COMPOSER_OPTIONS: "--optimize-autoloader --prefer-dist --prefer-stable -v"
COMPOSER_OPTIONS: "--ansi --optimize-autoloader --prefer-dist --prefer-stable -v"
TOOLS: "composer:v2"

jobs:
Expand Down Expand Up @@ -459,4 +459,4 @@ jobs:
verbose: false

- name: "Run mutation tests with infection/infection"
run: "infection -s --min-covered-msi=90 --min-msi=87 --coverage=.build/coverage --only-covered --logger-github"
run: "infection -s --min-covered-msi=80 --min-msi=80 --coverage=.build/coverage --only-covered --logger-github"
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- name: "Release Drafter"
uses: "release-drafter/release-drafter@v5.19.0"
uses: "release-drafter/release-drafter@v5.20.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ tests/temp/*.ini
.phpunit.result.cache
infection-*.log
rewrite*.php
.reports/
4 changes: 4 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
'location' => 'after_open',
'separate' => 'bottom',
],
'@PHP74Migration' => true,
'@PHP74Migration:risky' => true,
'@PHP80Migration' => false,
'@PHP80Migration:risky' => false,
]
)
)
Expand Down
21 changes: 0 additions & 21 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,6 @@
"phpstan/phpstan-phpunit": "^1.1.1",
"phpunit/phpunit": "^9.5.20"
},
"suggest": {
"ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)",
"ext-json": "Allow sending log messages to the ChromePHP Handler",
"ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)",
"ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)",
"actived/microsoft-teams-notifier": "Allow sending log messages to Microsoft Teams",
"aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB",
"bartlett/monolog-callbackfilterhandler": "Allow filtering log messages based on a callback function",
"cmdisp/monolog-microsoft-teams": "Allow sending log messages to Microsoft Teams",
"doctrine/couchdb": "Allow sending log messages to a CouchDB server",
"elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client",
"graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server",
"jk/monolog-request-header-processor": "Allow to add request headers to the log message",
"laminas/laminas-servicemanager": "Required for the Factories",
"mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)",
"php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib",
"php-console/php-console": "Allow sending log messages to Google Chrome",
"rollbar/rollbar": "Allow sending log messages to Rollbar (only 2.1+ supported, but not 3.x)",
"ruflin/elastica": "Allow sending log messages to an Elastic Search server",
"swiftmailer/swiftmailer": "Allow sending log messages to Email clients"
},
"autoload": {
"psr-4": {
"Mimmi20\\Monolog\\Formatter\\": "src/"
Expand Down
1 change: 1 addition & 0 deletions phpmd.ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<rule ref="rulesets/codesize.xml">
<exclude name="CyclomaticComplexity"/>
<exclude name="NPathComplexity"/>
<exclude name="ExcessiveMethodLength"/>
</rule>

<rule ref="rulesets/controversial.xml"/>
Expand Down
Empty file removed src/.gitkeep
Empty file.
Loading

0 comments on commit 727e061

Please sign in to comment.