Skip to content

Commit 3043058

Browse files
committed
Initial creation
0 parents  commit 3043058

22 files changed

+2195
-0
lines changed

Diff for: .coveralls.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
coverage_clover: clover.xml
2+
json_path: coveralls-upload.json

Diff for: .gitattributes

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.coveralls.yml export-ignore
2+
/.gitattributes export-ignore
3+
/.gitignore export-ignore
4+
/.travis.yml export-ignore
5+
/composer.lock export-ignore
6+
/docs/ export-ignore
7+
/mkdocs.yml export-ignore
8+
/phpcs.xml export-ignore
9+
/phpunit.xml.dist export-ignore
10+
/test/ export-ignore

Diff for: .gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/clover.xml
2+
/coveralls-upload.json
3+
/docs/html/
4+
/phpunit.xml
5+
/vendor/
6+
/zf-mkdoc-theme.tgz
7+
/zf-mkdoc-theme/

Diff for: .travis.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
sudo: false
2+
3+
language: php
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
env:
10+
global:
11+
- COMPOSER_ARGS="--no-interaction"
12+
- COVERAGE_DEPS="php-coveralls/php-coveralls"
13+
14+
matrix:
15+
include:
16+
- php: 7.1
17+
env:
18+
- DEPS=lowest
19+
- php: 7.1
20+
env:
21+
- DEPS=locked
22+
- CS_CHECK=true
23+
- TEST_COVERAGE=true
24+
- php: 7.1
25+
env:
26+
- DEPS=latest
27+
- php: 7.2
28+
env:
29+
- DEPS=lowest
30+
- php: 7.2
31+
env:
32+
- DEPS=locked
33+
- php: 7.2
34+
env:
35+
- DEPS=latest
36+
37+
before_install:
38+
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
39+
40+
install:
41+
- travis_retry composer install $COMPOSER_ARGS
42+
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
43+
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
44+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
45+
- stty cols 120 && composer show
46+
47+
script:
48+
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
49+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi
50+
51+
after_script:
52+
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry php vendor/bin/php-coveralls -v ; fi
53+
54+
notifications:
55+
email: false

Diff for: CHANGELOG.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file, in reverse chronological order by release.
4+
5+
## 0.1.0 - TBD
6+
7+
### Added
8+
9+
- Nothing.
10+
11+
### Changed
12+
13+
- Nothing.
14+
15+
### Deprecated
16+
17+
- Nothing.
18+
19+
### Removed
20+
21+
- Nothing.
22+
23+
### Fixed
24+
25+
- Nothing.

Diff for: LICENSE.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2018, Zend Technologies USA, Inc.
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, this
8+
list of conditions and the following disclaimer.
9+
10+
- Redistributions in binary form must reproduce the above copyright notice, this
11+
list of conditions and the following disclaimer in the documentation and/or
12+
other materials provided with the distribution.
13+
14+
- Neither the name of Zend Technologies USA, Inc. 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.

Diff for: README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# event-dispatcher
2+
3+
[![Build Status](https://secure.travis-ci.org/phly/event-dispatcher.svg?branch=master)](https://secure.travis-ci.org/phly/event-dispatcher)
4+
[![Coverage Status](https://coveralls.io/repos/github/phly/event-dispatcher/badge.svg?branch=master)](https://coveralls.io/github/phly/event-dispatcher?branch=master)
5+
6+
This library provides ...
7+
8+
## Installation
9+
10+
Run the following to install this library:
11+
12+
```bash
13+
$ composer require phly/event-dispatcher
14+
```
15+
16+
## Documentation
17+
18+
Browse the documentation online at https://docs.zendframework.com/event-dispatcher/
19+
20+
## Support
21+
22+
* [Issues](https://github.com/zendframework/event-dispatcher/issues/)
23+
* [Chat](https://zendframework-slack.herokuapp.com/)
24+
* [Forum](https://discourse.zendframework.com/)

Diff for: composer.json

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"name": "phly/event-dispatcher",
3+
"description": "Experimental event dispatcher for PSR-14",
4+
"license": "BSD-3-Clause",
5+
"keywords": [
6+
"components",
7+
"psr-14",
8+
"event-dispatcher"
9+
],
10+
"support": {
11+
"issues": "https://github.com/phly/event-dispatcher/issues",
12+
"source": "https://github.com/phly/event-dispatcher",
13+
"rss": "https://github.com/phly/event-dispatcher/releases.atom"
14+
},
15+
"require": {
16+
"php": "^7.1"
17+
},
18+
"require-dev": {
19+
"phpunit/phpunit": "^7.1.1",
20+
"zendframework/zend-coding-standard": "~1.0.0"
21+
},
22+
"autoload": {
23+
"psr-4": {
24+
"Phly\\EventDispatcher\\": "src/"
25+
}
26+
},
27+
"autoload-dev": {
28+
"psr-4": {
29+
"Phly\\EventDispatcherTest\\": "test/"
30+
}
31+
},
32+
"config": {
33+
"sort-packages": true
34+
},
35+
"extra": {
36+
"branch-alias": {
37+
"dev-master": "1.0.x-dev"
38+
},
39+
"zf": {
40+
"config-provider": "Phly\\EventDispatcher\\ConfigProvider"
41+
}
42+
},
43+
"scripts": {
44+
"check": [
45+
"@cs-check",
46+
"@test"
47+
],
48+
"cs-check": "phpcs",
49+
"cs-fix": "phpcbf",
50+
"test": "phpunit --colors=always",
51+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
52+
}
53+
}

0 commit comments

Comments
 (0)