Skip to content
This repository was archived by the owner on Aug 24, 2018. It is now read-only.

Commit a236361

Browse files
committed
Template commit.
0 parents  commit a236361

10 files changed

+188
-0
lines changed

.editorconfig

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# For more information about the properties used in
2+
# this file, please see the EditorConfig documentation:
3+
# http://editorconfig.org/
4+
5+
root = true
6+
7+
[*]
8+
charset = utf-8
9+
end_of_line = lf
10+
indent_size = 4
11+
indent_style = space
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
[*.md]
16+
trim_trailing_whitespace = false
17+
18+
[*.yml]
19+
indent_size = 2
20+
21+
[{.travis.yml,package.json}]
22+
# The indent size used in the `package.json` file cannot be changed
23+
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
24+
indent_size = 2

.gitattributes

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Auto-detect text files, ensure they use LF.
2+
* text=auto eol=lf
3+
4+
# These files are always considered text and should use LF.
5+
# See core.whitespace @ http://git-scm.com/docs/git-config for whitespace flags.
6+
*.php text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4 diff=php
7+
*.json text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
8+
*.test text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=4
9+
*.yml text eol=lf whitespace=blank-at-eol,blank-at-eof,space-before-tab,tab-in-indent,tabwidth=2

.github/CONTRIBUTING.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Contributing to Class Helper
2+
========================
3+
4+
Please note that this project is released with a
5+
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/4/).
6+
By participating in this project you agree to abide by its terms.
7+
8+
Reporting Issues
9+
----------------
10+
11+
When reporting issues, please try to be as descriptive as possible, and include
12+
as much relevant information as you can. A step by step guide on how to
13+
reproduce the issue will greatly increase the chances of your issue being
14+
resolved in a timely manner.
15+
16+
Security Reports
17+
----------------
18+
19+
Please send any sensitive issue to [hello@reindeer-web.de](mailto:hello@reindeer-web.de). Thanks!
20+
21+
Contributing policy
22+
-------------------
23+
24+
Fork the project, create a feature branch, and send us a pull request.
25+
26+
To ensure a consistent code base, you should make sure the code follows
27+
the [PSR-2 Coding Standards](http://www.php-fig.org/psr/psr-2/). You can also
28+
run [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) with the
29+
configuration file that can be found in the project root directory.

.github/ISSUE_TEMPLATE.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Describe the steps to reproduce your issue.
2+
3+
```
4+
...replace me...
5+
```
6+
7+
Describe the expected and the actual outcome.
8+
9+
```
10+
...replace me...
11+
```
12+
13+
Describe your environment as detailed as possible.
14+
15+
```
16+
...replace me...
17+
```

.gitignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.idea
2+
.vagrant
3+
/.buildpath
4+
/.project
5+
/.settings
6+
/nbproject
7+
/vendor
8+
Vagrantfile

.php_cs

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
$header = <<<EOF
4+
This file is part of Class Helper.
5+
6+
(c) ReindeerWeb, Marcel Rudolf, Germany <hello@reindeer-web.de>
7+
8+
For the full copyright and license information, please view the LICENSE
9+
file that was distributed with this source code.
10+
EOF;
11+
12+
$finder = PhpCsFixer\Finder::create()
13+
->files()
14+
->name('*.php')
15+
->in(__DIR__)
16+
;
17+
18+
return PhpCsFixer\Config::create()
19+
->setUsingCache(false)
20+
->setRiskyAllowed(true)
21+
->setRules(array(
22+
'@PSR2' => true,
23+
'header_comment' => array('header' => $header)
24+
))
25+
->setFinder($finder)
26+
;

LICENSE

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

composer.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "reindeerweb/classhelper",
3+
"description": "Some class helper.",
4+
"authors": [
5+
{
6+
"name": "ReindeerWeb, Marcel Rudolf, Germany",
7+
"email": "hello@reindeer-web.de"
8+
}
9+
],
10+
"autoload": {
11+
"psr-0": {
12+
"ReindeerWeb\\ClassHelper\\": "src/"
13+
}
14+
}
15+
}

readme.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Class Helper by ReindeerWeb
2+
Some class helper.
3+
4+
## Installation
5+
### Add it to your project with:
6+
```shell
7+
composer require reindeerweb/classhelper
8+
```
9+
10+
## License
11+
3-clause BSD license
12+
See [License](LICENSE)
13+
14+
## Bugtracker
15+
Bugs are tracked in the issues section of this repository on GitHub.
16+
Please read over existing issues before submitting an issue to ensure yours is unique.
17+
18+
[Create a new issue](../../issues/new)
19+
- Describe the steps to reproduce your issue.
20+
- Describe the expected and the actual outcome.
21+
- Describe your environment as detailed as possible.
22+
23+
## Development and contribution
24+
Feature requests can also be made by [creating a new issue](../../issues/new).
25+
If you would like to make contributions to this module, feel free to [create a fork](../../fork) and submit a pull request.
26+
27+
## Versioning
28+
This project follows [Semantic Versioning](http://semver.org) paradigm. That is:
29+
30+
> Given a version number MAJOR.MINOR.PATCH, increment the:
31+
> 1. MAJOR version when you make incompatible API changes,
32+
> 2. MINOR version when you add functionality in a backwards-compatible manner, and
33+
> 3. PATCH version when you make backwards-compatible bug fixes.
34+
> Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.

src/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)