-
-
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 bd0daff
Showing
19 changed files
with
6,890 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,29 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.php] | ||
indent_size = 4 | ||
|
||
[*.twig] | ||
indent_size = 4 | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 4 | ||
|
||
[*.{js,scss,css}] | ||
indent_size = 2 | ||
|
||
[Jenkinsfile] | ||
indent_size = 2 | ||
|
||
[*.json] | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab |
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,11 @@ | ||
.* export-ignore | ||
infection.json export-ignore | ||
Makefile export-ignore | ||
phpstan.neon.dist export-ignore | ||
phpstan-baseline.neon export-ignore | ||
psalm-baseline.xml export-ignore | ||
psalm.xml export-ignore | ||
phpunit.xml.dist export-ignore | ||
/docs export-ignore | ||
/tests export-ignore | ||
/vendor-bin 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 @@ | ||
* @core23 @nucleos-bot |
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,4 @@ | ||
github: core23 | ||
open_collective: core23 | ||
ko_fi: core23 | ||
custom: https://donate.core23.de |
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,48 @@ | ||
--- | ||
name: 🐞 Bug Report | ||
about: Something is broken? 🔨 | ||
--- | ||
|
||
<!-- | ||
Before you open an issue, make sure this one does not already exist. | ||
--> | ||
|
||
<!-- | ||
If you are reporting a bug, please try to fill in the following. | ||
Otherwise remove it. | ||
--> | ||
|
||
### Environment | ||
|
||
#### Packages | ||
|
||
``` | ||
$ composer show --latest | ||
# Put the result here. | ||
``` | ||
|
||
#### PHP version | ||
|
||
``` | ||
$ php -v | ||
# Put the result here. | ||
``` | ||
|
||
## Subject | ||
|
||
<!-- | ||
Give here as many details as possible. | ||
Next sections are for ERRORS only. | ||
--> | ||
|
||
## Steps to reproduce | ||
|
||
## Expected results | ||
|
||
## Actual results | ||
|
||
<!-- | ||
If it's an error message or piece of code, use code block tags, | ||
and make sure you provide the whole stack trace(s), | ||
not just the first error message you can see. | ||
--> |
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,8 @@ | ||
--- | ||
name: 🚀 Feature Request | ||
about: I have a suggestion (and may want to implement it)! | ||
--- | ||
|
||
## Feature Request | ||
|
||
<!-- Provide a summary of the feature. --> |
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,8 @@ | ||
--- | ||
name: ❓ Support Question | ||
about: I have a general question 💬! | ||
--- | ||
|
||
## Question | ||
|
||
|
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 @@ | ||
<!-- THE PR TEMPLATE IS NOT AN OPTION. DO NOT DELETE IT, MAKE SURE YOU READ AND EDIT IT! --> | ||
|
||
<!-- | ||
Specify which issues will be fixed/closed. | ||
Remove it if this is not related. | ||
--> | ||
|
||
Closes #{put_issue_number_here} | ||
|
||
## Subject | ||
|
||
<!-- Describe your Pull Request content here --> |
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,3 @@ | ||
{ | ||
"extends": ["github>nucleos/.github:renovate-config"] | ||
} |
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,7 @@ | ||
_extends: .github | ||
|
||
repository: | ||
name: relazy | ||
description: 👤 Tool for lazy people to create new git releases | ||
homepage: https://nucleos.rocks | ||
topics: hacktoberfest, symfony, command, release, git, tag |
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,17 @@ | ||
name: "Automatic Releases" | ||
|
||
on: | ||
milestone: | ||
types: | ||
- "closed" | ||
|
||
jobs: | ||
run: | ||
uses: "nucleos/actions/.github/workflows/automatic-release.yml@main" | ||
secrets: | ||
GIT_AUTHOR_NAME: "${{ secrets.GIT_AUTHOR_NAME }}" | ||
GIT_AUTHOR_EMAIL: "${{ secrets.GIT_AUTHOR_EMAIL }}" | ||
GITHUB_REPO_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
GITHUB_ADMIN_TOKEN: "${{ secrets.ORGANIZATION_ADMIN_TOKEN }}" | ||
SIGNING_SECRET_KEY: "${{ secrets.SIGNING_SECRET_KEY }}" | ||
|
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,18 @@ | ||
name: 'Continuous Integration' | ||
|
||
on: | ||
create: | ||
pull_request: | ||
push: | ||
branches: | ||
- '[0-9]+.[0-9]+.x' | ||
- 'refs/pull/*' | ||
|
||
jobs: | ||
run: | ||
uses: "nucleos/actions/.github/workflows/continuous-integration.yml@main" | ||
with: | ||
PHP_EXTENSIONS: "mbstring, json, mongodb" | ||
SYMFONY_VERSIONS: "6.3" | ||
secrets: | ||
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" |
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,11 @@ | ||
.php-cs-fixer.cache | ||
.php-cs-fixer.php | ||
coverage | ||
composer.lock | ||
phpunit.xml | ||
/.phpunit.cache/ | ||
/build/ | ||
/vendor/ | ||
!/vendor-bin/tools/composer.lock | ||
/vendor-bin/tools/vendor/ | ||
/vendor-bin/tools/bin/ |
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,54 @@ | ||
<?php | ||
|
||
$header = <<<EOF | ||
This file is part of the Relazy package. | ||
(c) Christian Gripp <mail@core23.de> | ||
For the full copyright and license information, please view the LICENSE | ||
file that was distributed with this source code. | ||
EOF; | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->in([ __DIR__.'/src', __DIR__.'/tests']) | ||
; | ||
|
||
$config = (new PhpCsFixer\Config()) | ||
->setRiskyAllowed(true) | ||
->setRules([ | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
'@PhpCsFixer' => true, | ||
'@PhpCsFixer:risky' => true, | ||
'@PHP70Migration' => true, | ||
'@PHPUnit60Migration:risky' => true, | ||
'header_comment' => [ | ||
'header' => $header, | ||
], | ||
'list_syntax' => [ | ||
'syntax' => 'short', | ||
], | ||
'binary_operator_spaces' => [ | ||
'default' => 'align', | ||
], | ||
'method_chaining_indentation' => false, | ||
'phpdoc_types_order' => [ | ||
'null_adjustment' => 'always_last', | ||
], | ||
'php_unit_internal_class' => false, | ||
'php_unit_test_class_requires_covers' => false, | ||
'no_superfluous_phpdoc_tags' => [ | ||
'allow_mixed' => true, | ||
'remove_inheritdoc' => true, | ||
], | ||
'static_lambda' => true, | ||
'global_namespace_import' => [ | ||
'import_classes' => true, | ||
'import_constants' => false, | ||
'import_functions' => false, | ||
], | ||
]) | ||
->setFinder($finder) | ||
; | ||
|
||
return $config; |
Empty file.
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,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2023 Christian Gripp | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is furnished | ||
to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
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 @@ | ||
relazy | ||
====== | ||
|
||
[![Latest Stable Version](https://poser.pugx.org/nucleos/relazy/v/stable)](https://packagist.org/packages/nucleos/relazy) | ||
[![Latest Unstable Version](https://poser.pugx.org/nucleos/relazy/v/unstable)](https://packagist.org/packages/nucleos/relazy) | ||
[![License](https://poser.pugx.org/nucleos/relazy/license)](LICENSE.md) | ||
|
||
[![Total Downloads](https://poser.pugx.org/nucleos/relazy/downloads)](https://packagist.org/packages/nucleos/relazy) | ||
[![Monthly Downloads](https://poser.pugx.org/nucleos/relazy/d/monthly)](https://packagist.org/packages/nucleos/relazy) | ||
[![Daily Downloads](https://poser.pugx.org/nucleos/relazy/d/daily)](https://packagist.org/packages/nucleos/relazy) | ||
|
||
[![Continuous Integration](https://github.com/nucleos/relazy/workflows/Continuous%20Integration/badge.svg?event=push)](https://github.com/nucleos/relazy/actions?query=workflow%3A"Continuous+Integration"+event%3Apush) | ||
[![Code Coverage](https://codecov.io/gh/nucleos/relazy/graph/badge.svg)](https://codecov.io/gh/nucleos/relazy) | ||
[![Type Coverage](https://shepherd.dev/github/nucleos/relazy/coverage.svg)](https://shepherd.dev/github/nucleos/relazy) |
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,28 @@ | ||
{ | ||
"name": "nucleos/dev-tools", | ||
"description": "Development tools that do not conflict the project dependencies", | ||
"type": "project", | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "^3.16", | ||
"maglnet/composer-require-checker": "^4.6", | ||
"matthiasnoback/symfony-dependency-injection-test": "^4.3", | ||
"phpmd/phpmd": "^2.13", | ||
"phpstan/extension-installer": "^1.3", | ||
"phpstan/phpstan": "^1.10.14", | ||
"phpstan/phpstan-doctrine": "^1.3.37", | ||
"phpstan/phpstan-phpunit": "^1.3.11", | ||
"phpstan/phpstan-strict-rules": "^1.5.1", | ||
"phpstan/phpstan-symfony": "^1.3.1", | ||
"phpunit/phpunit": "^10.1.2", | ||
"psalm/plugin-phpunit": "^0.18.4", | ||
"psalm/plugin-symfony": "^5.0.3", | ||
"symfony/phpunit-bridge": "^6.2.7", | ||
"vimeo/psalm": "^5.9" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"phpstan/extension-installer": true | ||
}, | ||
"bin-dir": "../../vendor/bin" | ||
} | ||
} |
Oops, something went wrong.