Skip to content

Commit a9e6612

Browse files
committed
added base files
1 parent 1ced9c9 commit a9e6612

File tree

3 files changed

+48
-25
lines changed

3 files changed

+48
-25
lines changed

.gitattributes

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Path-based git attributes
2+
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
3+
4+
# Ignore all test and documentation with "export-ignore".
5+
/.gitattributes export-ignore
6+
/.gitignore export-ignore
7+
/.travis.yml export-ignore
8+
/phpunit.xml.dist export-ignore
9+
/.scrutinizer.yml export-ignore
10+
/tests export-ignore
11+
/composer.lock export-ignore

.gitignore

+5-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,8 @@
1-
# phpstorm project files
1+
# ignore IDE specific files and dirs
22
.idea
3-
4-
# netbeans project files
5-
nbproject
6-
7-
# zend studio for eclipse project files
8-
.buildpath
9-
.project
103
.settings
4+
.project
5+
.buildpath
116

12-
# windows thumbnail cache
13-
Thumbs.db
14-
15-
# composer vendor dir
16-
/vendor
17-
18-
# composer itself is not needed
19-
composer.phar
20-
composer.lock
21-
22-
# Mac DS_Store Files
23-
.DS_Store
24-
25-
# phpunit itself is not needed
26-
phpunit.phar
27-
# local phpunit config
28-
/phpunit.xml
7+
# ignore temporary files
8+
*~

CONTRIBUTING.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Contributing
2+
3+
Contributions are **welcome** and will be fully **credited**.
4+
5+
We accept contributions via Pull Requests on [Github](https://github.com/2amigos/yii2-tinymce-widget).
6+
7+
8+
## Pull Requests
9+
10+
- **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The easiest way to apply the conventions is to install [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer).
11+
12+
- **Add tests!** - Your patch won't be accepted if it doesn't have tests.
13+
14+
- **Document any change in behaviour** - Make sure the `README.md` and any other relevant documentation are kept up-to-date.
15+
16+
- **Consider our release cycle** - We try to follow [SemVer v2.0.0](http://semver.org/). Randomly breaking public APIs is not an option.
17+
18+
- **Create feature branches** - Don't ask us to pull from your master branch.
19+
20+
- **One pull request per feature** - If you want to do more than one thing, send multiple pull requests.
21+
22+
- **Send coherent history** - Make sure each individual commit in your pull request is meaningful. If you had to make multiple intermediate commits while developing, please squash them before submitting.
23+
24+
25+
## Running Tests
26+
27+
``` bash
28+
$ phpunit
29+
```
30+
31+
32+
**Happy coding**!

0 commit comments

Comments
 (0)