-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
340 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
* text=auto | ||
|
||
/tests export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.php_cs export-ignore | ||
/buddy.yml export-ignore | ||
/CONTRIBUTING.md export-ignore | ||
/phpstan.neon export-ignore | ||
/phpunit.xml export-ignore | ||
/psalm.baseline.xml export-ignore | ||
/psalm.xml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
- Value: Lazy, Either, Option, TryTo | ||
- Traversable: Stream, Set, Map, GenericList | ||
- Tuple | ||
- Stream collectors | ||
- Iterators | ||
- Value comparator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Contributing to Munus | ||
|
||
Munus is an open source project. If you'd like to contribute, please read the following text. Before we can merge your | ||
pull request, here are some guidelines that you need to follow. These guidelines exist not to annoy you, but to keep the | ||
code base clean, unified and future proof. | ||
|
||
## Branch | ||
|
||
You should only open pull requests against the `master` branch. | ||
|
||
## Unit Tests | ||
|
||
Please try to add a test for your pull request. You can run the unit-tests by calling: | ||
|
||
```bash | ||
vendor/bin/phpunit | ||
``` | ||
|
||
## Build | ||
|
||
GitHub automatically run your pull request through GitHub Action. | ||
If you break the tests, we cannot merge your code, so please make sure that your code is working before opening up a pull request. | ||
|
||
## Merge | ||
|
||
Please give us time to review your pull requests. We will give our best to review everything as fast as possible. | ||
|
||
## Coding Standards & Static Analysis | ||
|
||
When contributing code to Munus, you must follow its coding standards. To do that, just run: | ||
|
||
```bash | ||
composer fix-cs | ||
``` | ||
[More about Php-Cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) | ||
|
||
Code has to also pass static analysis by [PHPStan](https://github.com/phpstan/phpstan): | ||
|
||
```bash | ||
composer phpstan | ||
``` | ||
|
||
and by [Psalm](https://github.com/vimeo/psalm): | ||
|
||
```bash | ||
composer psalm | ||
``` | ||
|
||
## Documentation | ||
|
||
Please update the documentation pages if necessary. | ||
You can find them in this repository [munusphp/website](https://github.com/munusphp/website) | ||
|
||
--- | ||
|
||
Thank you very much for contribution! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.