public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/web/inc/lib/vendor/matthiasmullie/minify/CONTRIBUTING.md
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
# How to contribute
4
## Issues
6
When [filing bugs](https://github.com/matthiasmullie/minify/issues/new),
7
try to be as thorough as possible:
8
* What version did you use?
9
* What did you try to do? ***Please post the relevant parts of your code.***
10
* What went wrong? ***Please include error messages, if any.***
11
* What was the expected result?
14
## Pull requests
16
Bug fixes and general improvements to the existing codebase are always welcome.
17
New features are also welcome, but will be judged on an individual basis. If
18
you'd rather not risk wasting your time implementing a new feature only to see
19
it turned down, please start the discussion by
20
[opening an issue](https://github.com/matthiasmullie/minify/issues/new).
22
Don't forget to add your changes to the [changelog](CHANGELOG.md).
25
### Testing
27
Please include tests for every change or addition to the code.
28
To run the complete test suite:
30
```sh
31
vendor/bin/phpunit
32
```
34
When submitting a new pull request, please make sure that that the test suite
35
passes (Travis CI will run it & report back on your pull request.)
37
To run the tests on Windows, run `tests/convert_symlinks_to_windows_style.sh`
38
from the command line in order to convert Linux-style test symlinks to
39
Windows-style.
42
### Coding standards
44
All code must follow [PSR-2](http://www.php-fig.org/psr/psr-2/). Just make sure
45
to run php-cs-fixer before submitting the code, it'll take care of the
46
formatting for you:
48
```sh
49
vendor/bin/php-cs-fixer fix src
50
vendor/bin/php-cs-fixer fix tests
51
```
53
Document the code thoroughly!
56
## License
58
Note that minify is MIT-licensed, which basically allows anyone to do
59
anything they like with it, without restriction.