Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 70db3d5

Browse files
committed
Modernizes repository
- Renames LICENSE.txt to LICENSE.md, and sets appropriate copyright range. - Adds issue and PR templates. - Adds code of conduct, contributing, and support guides. - Updates composer.json structure to match other components.
1 parent fcb4d5a commit 70db3d5

13 files changed

Lines changed: 364 additions & 54 deletions

.coveralls.yml

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

.gitattributes

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
/doc export-ignore
2-
/test export-ignore
3-
/vendor export-ignore
4-
.coveralls.yml export-ignore
5-
.gitattributes export-ignore
6-
.gitignore export-ignore
7-
.travis.yml export-ignore
8-
phpcs.xml export-ignore
9-
phpunit.xml.dist export-ignore
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+
/phpcs.xml export-ignore
8+
/phpunit.xml.dist export-ignore
9+
/test/ export-ignore

.gitignore

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
nbproject
2-
.idea
3-
.buildpath
4-
.project
5-
.settings/
6-
.DS_Store
7-
vendor/
1+
/clover.xml
2+
/coveralls-upload.json
3+
/phpunit.xml
4+
/vendor/

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ install:
6565

6666
script:
6767
- composer test
68-
- if [[ $CS_CHECK == 'true' ]]; then composer cs ; fi
68+
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi

LICENSE.txt renamed to LICENSE.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
Copyright (c) 2005-2015, Zend Technologies USA, Inc.
1+
Copyright (c) 2011-2018, Zend Technologies USA, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,
55
are permitted provided that the following conditions are met:
66

7-
* Redistributions of source code must retain the above copyright notice,
8-
this list of conditions and the following disclaimer.
7+
- Redistributions of source code must retain the above copyright notice, this
8+
list of conditions and the following disclaimer.
99

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.
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.
1313

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.
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.
1717

1818
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1919
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Zend Developer Tools
22

3-
[![Build Status](https://travis-ci.org/zendframework/ZendDeveloperTools.svg)](https://travis-ci.org/zendframework/ZendDeveloperTools)
3+
[![Build Status](https://secure.travis-ci.org/zendframework/ZendDeveloperTools.svg?branch=master)](https://secure.travis-ci.org/zendframework/ZendDeveloperTools)
4+
[![Coverage Status](https://coveralls.io/repos/github/zendframework/ZendDeveloperTools/badge.svg?branch=master)](https://coveralls.io/github/zendframework/ZendDeveloperTools?branch=master)
45

56
Module providing debug tools for use with [zend-mvc](https://docs.zendframework.com/zend-mvc) applications.
67

@@ -17,6 +18,7 @@ Module providing debug tools for use with [zend-mvc](https://docs.zendframework.
1718
2. Add the `ZendDeveloperTools` module to the module section of your `config/application.config.php`.
1819
Starting with version 1.1.0, if you are using [zend-component-installer](https://docs.zendframework.com/zend-component-installer),
1920
this will be done for you automatically.
21+
2022
3. Copy `./vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist` to
2123
`./config/autoload/zenddevelopertools.local.php`. Change any settings in it
2224
according to your needs.

composer.json

Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
11
{
22
"name": "zendframework/zend-developer-tools",
33
"description": "Module for developer and debug tools for use with zend-mvc applications.",
4-
"type": "library",
54
"license": "BSD-3-Clause",
65
"keywords": [
6+
"zendframework",
77
"debug",
88
"developer",
9-
"zf2",
9+
"zf",
1010
"module"
1111
],
12-
"homepage": "https://github.com/zendframework/ZendDeveloperTools",
13-
"authors": [
14-
{
15-
"name": "Evan Coury",
16-
"email": "me@evancoury.com",
17-
"homepage": "http://blog.evan.pro/"
18-
},
19-
{
20-
"name": "Eric Boh",
21-
"email": "cossish@gmail.com"
22-
}
23-
],
24-
"extra": {
25-
"branch-alias": {
26-
"dev-master": "1.1-dev",
27-
"dev-develop": "1.2-dev"
28-
},
29-
"zf": {
30-
"module": "ZendDeveloperTools"
31-
}
12+
"support": {
13+
"issues": "https://github.com/zendframework/ZendDeveloperTools/issues",
14+
"source": "https://github.com/zendframework/ZendDeveloperTools",
15+
"rss": "https://github.com/zendframework/ZendDeveloperTools/releases.atom",
16+
"chat": "https://zendframework-slack.herokuapp.com",
17+
"forum": "https://discourse.zendframework.com/c/questions/components"
3218
},
3319
"require": {
3420
"php": "^5.6 || ^7.0",
@@ -63,15 +49,37 @@
6349
"ZendDeveloperToolsTest\\": "test/"
6450
}
6551
},
52+
"config": {
53+
"sort-packages": true
54+
},
55+
"extra": {
56+
"branch-alias": {
57+
"dev-master": "1.1.x-dev",
58+
"dev-develop": "1.2.x-dev"
59+
},
60+
"zf": {
61+
"module": "ZendDeveloperTools"
62+
}
63+
},
6664
"scripts": {
6765
"check": [
6866
"@cs-check",
6967
"@test"
7068
],
71-
"coveralls": "coveralls",
7269
"cs-check": "phpcs",
7370
"cs-fix": "phpcbf",
74-
"test": "phpunit",
75-
"test-coverage": "phpunit --coverage-clover clover.xml"
76-
}
71+
"test": "phpunit --colors=always",
72+
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
73+
},
74+
"authors": [
75+
{
76+
"name": "Evan Coury",
77+
"email": "me@evancoury.com",
78+
"homepage": "http://blog.evan.pro/"
79+
},
80+
{
81+
"name": "Eric Boh",
82+
"email": "cossish@gmail.com"
83+
}
84+
]
7785
}

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CODE_OF_CONDUCT.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Contributor Code of Conduct
2+
3+
This project adheres to [The Code Manifesto](http://codemanifesto.com)
4+
as its guidelines for contributor interactions.
5+
6+
## The Code Manifesto
7+
8+
We want to work in an ecosystem that empowers developers to reach their
9+
potential — one that encourages growth and effective collaboration. A space that
10+
is safe for all.
11+
12+
A space such as this benefits everyone that participates in it. It encourages
13+
new developers to enter our field. It is through discussion and collaboration
14+
that we grow, and through growth that we improve.
15+
16+
In the effort to create such a place, we hold to these values:
17+
18+
1. **Discrimination limits us.** This includes discrimination on the basis of
19+
race, gender, sexual orientation, gender identity, age, nationality, technology
20+
and any other arbitrary exclusion of a group of people.
21+
2. **Boundaries honor us.** Your comfort levels are not everyone’s comfort
22+
levels. Remember that, and if brought to your attention, heed it.
23+
3. **We are our biggest assets.** None of us were born masters of our trade.
24+
Each of us has been helped along the way. Return that favor, when and where
25+
you can.
26+
4. **We are resources for the future.** As an extension of #3, share what you
27+
know. Make yourself a resource to help those that come after you.
28+
5. **Respect defines us.** Treat others as you wish to be treated. Make your
29+
discussions, criticisms and debates from a position of respectfulness. Ask
30+
yourself, is it true? Is it necessary? Is it constructive? Anything less is
31+
unacceptable.
32+
6. **Reactions require grace.** Angry responses are valid, but abusive language
33+
and vindictive actions are toxic. When something happens that offends you,
34+
handle it assertively, but be respectful. Escalate reasonably, and try to
35+
allow the offender an opportunity to explain themselves, and possibly correct
36+
the issue.
37+
7. **Opinions are just that: opinions.** Each and every one of us, due to our
38+
background and upbringing, have varying opinions. The fact of the matter, is
39+
that is perfectly acceptable. Remember this: if you respect your own
40+
opinions, you should respect the opinions of others.
41+
8. **To err is human.** You might not intend it, but mistakes do happen and
42+
contribute to build experience. Tolerate honest mistakes, and don't hesitate
43+
to apologize if you make one yourself.

0 commit comments

Comments
 (0)