generated from mimmi20/template
-
Notifications
You must be signed in to change notification settings - Fork 1
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
0 parents
commit db69bd0
Showing
27 changed files
with
1,187 additions
and
0 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,15 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
|
||
[{*.php,*.xml}] | ||
indent_size = 4 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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,37 @@ | ||
# text files | ||
* text=auto | ||
*.markdown text eol=lf | ||
*.md text eol=lf | ||
*.js text eol=lf | ||
*.css text eol=lf | ||
*.json text eol=lf | ||
*.lock text eol=lf | ||
*.html text eol=lf | ||
*.php text eol=lf | ||
*.yml text eol=lf | ||
*.yaml text eol=lf | ||
*.xml text eol=lf | ||
*.dist text eol=lf | ||
*.txt text eol=lf | ||
*.ini text eol=lf | ||
*.sh text eol=lf | ||
*.tmp text eol=lf | ||
|
||
# binary files | ||
*.zip -text binary | ||
|
||
# files/folders to ignore | ||
/.* export-ignore | ||
.editorconfig export-ignore text eol=lf | ||
.gitattributes export-ignore text eol=lf | ||
.gitignore export-ignore text eol=lf | ||
.php-cs-fixer.php export-ignore text eol=lf | ||
codecov.yml export-ignore text eol=lf | ||
infection.json export-ignore text eol=lf | ||
phpcs.xml export-ignore text eol=lf | ||
phpmd.ruleset.xml export-ignore text eol=lf | ||
phpstan.neon export-ignore text eol=lf | ||
phpunit.xml export-ignore text eol=lf | ||
rector.php export-ignore text eol=lf | ||
/tests export-ignore | ||
/.github export-ignore |
Validating CODEOWNERS rules …
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 @@ | ||
* @mimmi20 |
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,60 @@ | ||
# CONTRIBUTING | ||
|
||
We are using [GitHub Actions](https://github.com/features/actions) as a continuous integration system. | ||
|
||
For details, take a look at the following workflow configuration files: | ||
|
||
- [`workflows/continuous-integration.yaml`](workflows/continuous-integration.yaml) | ||
- [`workflows/lock-closed-issues.yaml`](workflows/lock-closed-issues.yaml) | ||
- [`workflows/stale.yaml`](workflows/stale.yaml) | ||
|
||
## Coding Standards | ||
|
||
We are using [`ergebnis/composer-normalize`](https://github.com/ergebnis/composer-normalize) to normalize `composer.json`. | ||
|
||
We are using [`friendsofphp/php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) and [`squizlabs/php_codesniffer`](https://github.com/squizlabs/PHP_CodeSniffer) to enforce coding standards in PHP files. | ||
|
||
Run | ||
|
||
```sh | ||
vendor/bin/phpcs | ||
vendor/bin/php-cs-fixer fix --dry-run | ||
``` | ||
|
||
to automatically fix coding standard violations. | ||
|
||
## Static Code Analysis | ||
|
||
We are using [`phpstan/phpstan`](https://github.com/phpstan/phpstan) to statically analyze the code. | ||
|
||
Run | ||
|
||
```sh | ||
vendor/bin/phpstan analyse -c phpstan.neon | ||
``` | ||
|
||
to run a static code analysis. | ||
|
||
## Tests | ||
|
||
We are using [`phpunit/phpunit`](https://github.com/sebastianbergmann/phpunit) to drive the development. | ||
|
||
Run | ||
|
||
```sh | ||
vendor/bin/phpunit -c phpunit.xml | ||
``` | ||
|
||
to run all the tests. | ||
|
||
## Mutation Tests | ||
|
||
We are using [`infection/infection`](https://github.com/infection/infection) to ensure a minimum quality of the tests. | ||
|
||
Enable `pcov` or `Xdebug` and run | ||
|
||
```sh | ||
vendor/bin/infection | ||
``` | ||
|
||
to run mutation tests. |
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,13 @@ | ||
#### Steps required to reproduce the problem | ||
|
||
1. | ||
2. | ||
3. | ||
|
||
#### Expected Result | ||
|
||
* | ||
|
||
#### Actual Result | ||
|
||
* |
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,46 @@ | ||
# https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "04:00" | ||
timezone: "Europe/Berlin" | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- "mimmi20" | ||
assignees: | ||
- "mimmi20" | ||
labels: | ||
- "dependencies" | ||
versioning-strategy: "widen" | ||
commit-message: | ||
include: "scope" | ||
prefix: "composer" | ||
# ignore: | ||
# - dependency-name: infection/infection | ||
# versions: | ||
# - ">= 0" | ||
# - dependency-name: phpunit/phpunit | ||
# versions: | ||
# - ">= 0" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
time: "04:00" | ||
timezone: "Europe/Berlin" | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- "mimmi20" | ||
assignees: | ||
- "mimmi20" | ||
labels: | ||
- "dependencies" | ||
commit-message: | ||
include: "scope" | ||
prefix: "github-actions" |
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,61 @@ | ||
--- | ||
# Default GitHub labels | ||
- color: ee0701 | ||
name: "bug" | ||
description: "Something isn't working" | ||
- color: cccccc | ||
name: "duplicate" | ||
description: "This issue or pull request already exists" | ||
- color: a2eeef | ||
name: "enhancement" | ||
description: "New feature or request" | ||
- color: 7057ff | ||
name: "good first issue" | ||
description: "Good for newcomers" | ||
- color: 128a0c | ||
name: "help wanted" | ||
description: "Extra attention is needed" | ||
- color: e6e6e6 | ||
name: "invalid" | ||
description: "This doesn't seem right" | ||
- color: cc317c | ||
name: "question" | ||
description: "Further information is requested" | ||
- color: ffffff | ||
name: "wontfix" | ||
description: "This will not be worked on" | ||
|
||
# other Labels to all mimmi20 repos | ||
- color: 0025ff | ||
name: "dependencies" | ||
description: "Pull requests that update a dependency file" | ||
- color: f9d0c4 | ||
name: "stale" | ||
description: "no activity" | ||
- color: b60205 | ||
name: "BC Break" | ||
description: "" | ||
- color: f4e99c | ||
name: "maintenance" | ||
description: "Maintenance" | ||
- color: fbca04 | ||
name: "wishlist" | ||
description: "" | ||
- color: d1260f | ||
name: "security" | ||
description: "" | ||
- color: e6e6e6 | ||
name: "removed" | ||
description: "" | ||
- color: b60205 | ||
name: "deprecated" | ||
description: "" | ||
- color: 0075ca | ||
name: "documentation" | ||
description: "Improvements or additions to documentation" | ||
|
||
# other Labels to mimmi20/template | ||
#- color: 5319e7 | ||
# name: "new useragents" | ||
# description: "" | ||
|
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,38 @@ | ||
template: | | ||
## What’s Changed | ||
$CHANGES | ||
exclude-labels: | ||
- duplicate | ||
- question | ||
- invalid | ||
- wontfix | ||
categories: | ||
- title: '**💥 Breaking:**' | ||
labels: | ||
- 'BC Break' | ||
- title: '**🍰 Enhancements:**' | ||
labels: | ||
- 'enhancement' | ||
- title: '**🐞 Bugs:**' | ||
labels: | ||
- 'bug' | ||
- title: '**💀 Deprecated:**' | ||
labels: | ||
- 'deprecated' | ||
- title: '**🗑 Removed:**' | ||
labels: | ||
- 'removed' | ||
- title: '**🛡 Security:**' | ||
labels: | ||
- 'security' | ||
- title: '**🕸 Dependencies:**' | ||
labels: | ||
- 'dependencies' | ||
- title: '**🧹 Maintenance:**' | ||
labels: | ||
- 'maintenance' | ||
# other Labels to mimmi20/template | ||
#- title: '**📦 new Useragents:**' | ||
# labels: | ||
# - 'new useragents' |
Oops, something went wrong.