Skip to content
Permalink
Browse files

init

  • Loading branch information...
wolfy-j committed Sep 17, 2018
0 parents commit 927190a321d0126cbf24ead0361df148f3427896
Showing with 119 additions and 0 deletions.
  1. +1 −0 .gitattributes
  2. +6 −0 .gitignore
  3. +18 −0 .travis.yml
  4. +21 −0 LICENSE
  5. +5 −0 README.md
  6. +30 −0 composer.json
  7. +26 −0 phpunit.xml
  8. +12 −0 tests/bootstrap.php
@@ -0,0 +1 @@
/tests export-ignore
@@ -0,0 +1,6 @@
.idea/
.env
composer.lock
vendor/
*.db
clover.xml
@@ -0,0 +1,18 @@
language: php

php:
- 7.1
- 7.2
- nightly

before_install:
- composer self-update

install:
- composer install --no-interaction

script:
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage.xml
21 LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Spiral Scout

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,5 @@
Monolog wrapper and Global Listeners
================================
[![Latest Stable Version](https://poser.pugx.org/spiral/logger/version)](https://packagist.org/packages/spiral/logger)
[![Build Status](https://travis-ci.org/spiral/logger.svg?branch=master)](https://travis-ci.org/spiral/logger)
[![Codecov](https://codecov.io/gh/spiral/logger/branch/master/graph/badge.svg)](https://codecov.io/gh/spiral/logger/)
@@ -0,0 +1,30 @@
{
"name": "spiral/logger",
"type": "library",
"description": "Monolog Wrapper and Global Listeners",
"license": "MIT",
"authors": [
{
"name": "Anton Titov / Wolfy-J",
"email": "wolfy.jd@gmail.com"
}
],
"require": {
"php": "^7.1",
"spiral/core": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "~7.0",
"mockery/mockery": "^1.1"
},
"autoload": {
"psr-4": {
"Spiral\\Logger\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Spiral\\Logger\\Tests\\": "tests/Logger/"
}
}
}
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
stopOnError="false"
>

<testsuites>
<testsuite name="Monolog Wrapper and Global Listeners">
<directory>./tests/</directory>
</testsuite>
</testsuites>

<filter>
<whitelist>
<directory>src</directory>
</whitelist>
</filter>
</phpunit>
@@ -0,0 +1,12 @@
<?php
/**
* Spiral Framework, SpiralScout LLC.
*
* @author Anton Titov (Wolfy-J)
*/
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', true);
//Composer
require dirname(__DIR__) . '/vendor/autoload.php';

0 comments on commit 927190a

Please sign in to comment.
You can’t perform that action at this time.