Add pear modules, mail and net_smtp via composer (#93)
Add pear modules, mail and net_smtp via composer, remove php 5.6 build due to phpunit 6
This commit is contained in:
15
lib/composer/vendor/consolidation/log/.editorconfig
vendored
Normal file
15
lib/composer/vendor/consolidation/log/.editorconfig
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# This file is for unifying the coding style for different editors and IDEs
|
||||
# editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[**.php]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.DS_Store
|
||||
vendor
|
||||
composer.lock
|
||||
build
|
||||
|
||||
47
lib/composer/vendor/consolidation/log/.travis.yml
vendored
Normal file
47
lib/composer/vendor/consolidation/log/.travis.yml
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
language: php
|
||||
|
||||
branches:
|
||||
# Only test the master branch and SemVer tags.
|
||||
only:
|
||||
- master
|
||||
- /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/
|
||||
|
||||
matrix:
|
||||
include:
|
||||
-
|
||||
php: 7.1
|
||||
env: 'HIGHEST_LOWEST="update" STABILITY="RC"'
|
||||
-
|
||||
php: 7.0.11
|
||||
-
|
||||
php: 5.6
|
||||
-
|
||||
php: 5.5
|
||||
env: 'HIGHEST_LOWEST="update --prefer-lowest"'
|
||||
|
||||
sudo: false
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- vendor
|
||||
- $HOME/.composer/cache
|
||||
|
||||
before_script:
|
||||
# If running a highest/lowest dependencies test, get rid of composer.lock
|
||||
- |
|
||||
if [ -n "$HIGHEST_LOWEST" ] ; then
|
||||
rm composer.lock
|
||||
composer config --unset platform.php
|
||||
composer config minimum-stability ${STABILITY-stable}
|
||||
fi
|
||||
- 'composer -n ${HIGHEST_LOWEST-install} --prefer-dist'
|
||||
- composer why symfony/console
|
||||
# Print out all of the installed packages in alphabetical order, with versions
|
||||
- composer licenses
|
||||
|
||||
script:
|
||||
- vendor/bin/phpcs --standard=PSR2 -n src
|
||||
- vendor/bin/phpunit
|
||||
|
||||
after_success:
|
||||
- travis_retry php vendor/bin/coveralls -v
|
||||
25
lib/composer/vendor/consolidation/log/CONTRIBUTING.md
vendored
Normal file
25
lib/composer/vendor/consolidation/log/CONTRIBUTING.md
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# Contributing to Consolidation
|
||||
|
||||
Thank you for your interest in contributing to the Consolidation effort! Consolidation aims to provide reusable, loosely-coupled components useful for building command-line tools. Consolidation is built on top of Symfony Console, but aims to separate the tool from the implementation details of Symfony.
|
||||
|
||||
Here are some of the guidelines you should follow to make the most of your efforts:
|
||||
|
||||
## Code Style Guidelines
|
||||
|
||||
Consolidation adheres to the [PSR-2 Coding Style Guide](http://www.php-fig.org/psr/psr-2/) for PHP code.
|
||||
|
||||
## Pull Request Guidelines
|
||||
|
||||
Every pull request is run through:
|
||||
|
||||
- phpcs -n --standard=PSR2 src
|
||||
- phpunit
|
||||
- [Scrutinizer](https://scrutinizer-ci.com/g/consolidation-org/log/)
|
||||
|
||||
It is easy to run the unit tests and code sniffer locally; simply ensure that `./vendor/bin` is in your `$PATH`, cd to the root of the project directory, and run `phpcs` and `phpunit` as shown above. To automatically fix coding standard errors, run:
|
||||
|
||||
- phpcbf --standard=PSR2 src
|
||||
|
||||
After submitting a pull request, please examine the Scrutinizer report. It is not required to fix all Scrutinizer issues; you may ignore recommendations that you disagree with. The spacing patches produced by Scrutinizer do not conform to PSR2 standards, and therefore should never be applied. DocBlock patches may be applied at your discression. Things that Scrutinizer identifies as a bug nearly always needs to be addressed.
|
||||
|
||||
Pull requests must pass phpcs and phpunit in order to be merged; ideally, new functionality will also include new unit tests.
|
||||
12
lib/composer/vendor/consolidation/log/README.md
vendored
12
lib/composer/vendor/consolidation/log/README.md
vendored
@@ -1,16 +1,16 @@
|
||||
# Consolidation\Log
|
||||
|
||||
Improved Psr-3 / Psr\Log logger based on Symfony Console components.
|
||||
Improved [PSR-3](http://www.php-fig.org/psr/psr-3/) [Psr\Log](https://github.com/php-fig/log) logger based on Symfony Console components.
|
||||
|
||||
[](https://circleci.com/gh/consolidation-org/log) [](https://scrutinizer-ci.com/g/consolidation-org/log/?branch=master) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log) [](https://packagist.org/packages/consolidation/log)
|
||||
[](https://travis-ci.org/consolidation-org/log) [](https://scrutinizer-ci.com/g/consolidation-org/log/?branch=master) [](https://coveralls.io/github/consolidation-org/log?branch=master) [](https://packagist.org/packages/consolidation/log)
|
||||
|
||||
## Component Status
|
||||
|
||||
In use in https://github.com/Codegyre/Robo
|
||||
In use in [Robo](https://github.com/Codegyre/Robo).
|
||||
|
||||
## Motivation
|
||||
|
||||
Consolication\Log provides a Psr-3 compatible logger that provides styled log output to the standard error (stderr) stream. By default, styling is provided by the SymfonyStyle class from the Symfony Console component; however, alternative stylers may be provided if desired.
|
||||
Consolidation\Log provides a Psr-3 compatible logger that provides styled log output to the standard error (stderr) stream. By default, styling is provided by the SymfonyStyle class from the Symfony Console component; however, alternative stylers may be provided if desired.
|
||||
|
||||
## Usage
|
||||
```
|
||||
@@ -18,7 +18,9 @@ $logger = new \Consolidation\Log\Logger($output);
|
||||
$logger->setLogOutputStyler(new LogOutputStyler()); // optional
|
||||
$logger->warning('The file {name} does not exist.', ['name' => $filename]);
|
||||
```
|
||||
n.b. Substitution of replacements, such as `{name}` in the example above, is not required by Psr-3' however, this is often done (e.g. in the Symfony Console logger).
|
||||
String interpolation -- that is, the substitution of replacements, such as `{name}` in the example above, is not required by Psr-3, and is not implemented by default in the Psr\Log project. However, it is recommended by PRS-3, and is often done, e.g. in the Symfony Console logger.
|
||||
|
||||
Consolidation\Log supports string interpolation.
|
||||
|
||||
## Comparison to Existing Solutions
|
||||
|
||||
|
||||
12
lib/composer/vendor/consolidation/log/circle.yml
vendored
12
lib/composer/vendor/consolidation/log/circle.yml
vendored
@@ -1,12 +0,0 @@
|
||||
machine:
|
||||
php:
|
||||
version: 5.5.11
|
||||
hosts:
|
||||
localhost: 127.0.0.1
|
||||
|
||||
test:
|
||||
override:
|
||||
- vendor/bin/phpcs --standard=PSR2 -n src
|
||||
# See: https://circleci.com/docs/test-metadata#phpunit
|
||||
- mkdir -p $CIRCLE_TEST_REPORTS/phpunit
|
||||
- vendor/bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit.xml
|
||||
@@ -21,15 +21,22 @@
|
||||
"require": {
|
||||
"php": ">=5.5.0",
|
||||
"psr/log": "~1.0",
|
||||
"symfony/console": "~2.5|~3.0"
|
||||
"symfony/console": "^2.8|^3|^4"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"satooshi/php-coveralls": "dev-master",
|
||||
"squizlabs/php_codesniffer": "2.*"
|
||||
},
|
||||
"minimum-stability": "stable",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.x-dev"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "5.6"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1924
lib/composer/vendor/consolidation/log/composer.lock
generated
vendored
Normal file
1924
lib/composer/vendor/consolidation/log/composer.lock
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,4 +4,12 @@
|
||||
<directory prefix="test" suffix=".php">tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
</logging>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">src</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
|
||||
Reference in New Issue
Block a user