Skip to content

Commit 0010e56

Browse files
committed
Initial commit
0 parents  commit 0010e56

16 files changed

+1712
-0
lines changed

.coveralls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
coverage_clover: tests/log/clover.xml
2+
json_path: tests/log/coveralls-upload.json

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
tests export-ignore
2+
.coveralls.yml export-ignore
3+
.gitattributes export-ignore
4+
.gitignore export-ignore
5+
.travis.yml export-ignore
6+
.composer.lock export-ignore
7+
phpcs.xml export-ignore
8+
pre-commit export-ignore

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
._*
2+
.~lock.*
3+
*.log
4+
.buildpath
5+
.DS_Store
6+
.idea
7+
.project
8+
.settings
9+
build
10+
log
11+
cache
12+
vendor
13+
composer.phar
14+
nbproject
15+
node_modules
16+
!.gitignore

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: php
2+
php:
3+
- 7.1
4+
before_install:
5+
- composer self-update
6+
install:
7+
- composer install --no-interaction --prefer-source
8+
- composer require php-coveralls/php-coveralls
9+
script:
10+
- composer build
11+
after_failure:
12+
# Prints tests *.actual files content
13+
- for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
14+
after_success:
15+
- travis_retry php vendor/bin/php-coveralls -v

LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2019, Webino, s. r. o. (https://webino.sk),
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification,
5+
are permitted provided that the following conditions are met:
6+
7+
- Redistributions of source code must retain the above copyright notice,
8+
this list of conditions and the following disclaimer.
9+
10+
- Redistributions in binary form must reproduce the above copyright notice,
11+
this list of conditions and the following disclaimer in the documentation
12+
and/or other materials provided with the distribution.
13+
14+
- Neither the name of Webino nor the names of its
15+
contributors may be used to endorse or promote products derived from this
16+
software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
22+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

composer.json

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "webino/console",
3+
"description": "Command line implementation library.",
4+
"type": "library",
5+
"license": "BSD-3-Clause",
6+
"authors": [
7+
{
8+
"name": "Peter Bacinsky",
9+
"email": "peter@bacinsky.sk"
10+
}
11+
],
12+
"require": {
13+
"php": "~7.1",
14+
"league/climate": "3.*"
15+
},
16+
"require-dev": {
17+
"phpstan/phpstan": "0.*",
18+
"webino/testing": "1.*",
19+
"squizlabs/php_codesniffer": "3.*"
20+
},
21+
"autoload": {
22+
"psr-4": {
23+
"Webino\\": [
24+
"src"
25+
]
26+
}
27+
},
28+
"autoload-dev": {
29+
"psr-4": {
30+
"Webino\\": [
31+
"tests/src"
32+
]
33+
}
34+
},
35+
"scripts": {
36+
"check": "vendor/bin/phpcs --extensions=php,phpt",
37+
"fix": "vendor/bin/phpcbf --extensions=php,phpt",
38+
"analyse": "vendor/bin/phpstan analyse src --level max",
39+
"test": "vendor/bin/webino-test",
40+
"build": [
41+
"@check",
42+
"@analyse",
43+
"@test"
44+
]
45+
},
46+
"scripts-descriptions": {
47+
"check": "Coding style check.",
48+
"fix": "Coding style fix.",
49+
"analyse": "Static analysis.",
50+
"test": "Run tests.",
51+
"build": "Automated build."
52+
}
53+
}

0 commit comments

Comments
 (0)