-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 af3365b
Showing
72 changed files
with
13,703 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,26 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# JSON-Files | ||
[*.json] | ||
indent_style = tab | ||
|
||
# YAML-Files | ||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
|
||
# NEON-Files | ||
[*.neon] | ||
indent_size = 2 | ||
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,19 @@ | ||
* text=auto | ||
/.github export-ignore | ||
/Resources/Private/Libs export-ignore | ||
/Tests export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/.php-cs-fixer.php export-ignore | ||
/CODE_OF_CONDUCT.md export-ignore | ||
/codecov.yml export-ignore | ||
/CODEOWNERS export-ignore | ||
/composer.lock export-ignore | ||
/ext_localconf.php export-ignore | ||
/packaging_exclude.php export-ignore | ||
/phpstan.neon export-ignore | ||
/phpstan-baseline.neon export-ignore | ||
/phpunit.coverage.xml export-ignore | ||
/phpunit.xml export-ignore | ||
/rector.php 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
name: Bug report | ||
description: Create a report to help improve the extension. | ||
title: "[BUG]" | ||
labels: | ||
- bug | ||
assignees: | ||
- eliashaeussler | ||
body: | ||
- type: input | ||
id: typo3-version | ||
attributes: | ||
label: TYPO3 version | ||
description: What TYPO3 version are you using? | ||
placeholder: 'e.g. 11.5.23' | ||
validations: | ||
required: true | ||
- type: input | ||
id: php-version | ||
attributes: | ||
label: PHP version | ||
description: What PHP version are you using? | ||
placeholder: 'e.g. 8.1.14' | ||
validations: | ||
required: true | ||
- type: input | ||
id: extension-version | ||
attributes: | ||
label: Extension version | ||
description: What version of EXT:solver are you using? | ||
placeholder: 'e.g. 0.1.0' | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: composer-mode | ||
attributes: | ||
label: Composer mode | ||
description: Are you running TYPO3 in composer mode? | ||
options: | ||
- label: I'm running TYPO3 in composer mode. | ||
- type: input | ||
id: operating-system | ||
attributes: | ||
label: Operating system | ||
description: What operating system are you using? | ||
placeholder: 'e.g. macOS 11.4' | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Current behavior | ||
description: A clear and concise description of what the bug is. | ||
- type: textarea | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
- type: textarea | ||
attributes: | ||
label: Steps to reproduce | ||
description: If possible, describe steps to reproduce the behavior. | ||
placeholder: | | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: > | ||
By submitting this issue, you agree to follow our | ||
[Code of Conduct](https://github.com/eliashaeussler/typo3-solver/blob/main/CODE_OF_CONDUCT.md). | ||
options: | ||
- label: I agree to follow this project's Code of Conduct. | ||
required: true |
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 @@ | ||
blank_issues_enabled: 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,41 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project. | ||
title: "[FEATURE]" | ||
labels: | ||
- enhancement | ||
assignees: | ||
- eliashaeussler | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Is your feature request related to a problem? | ||
description: A clear and concise description of what the problem is. | ||
placeholder: I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: > | ||
A clear and concise description of any alternative solutions or features | ||
you've considered. | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or screenshots about the feature request here. | ||
- type: checkboxes | ||
id: terms | ||
attributes: | ||
label: Code of Conduct | ||
description: > | ||
By submitting this issue, you agree to follow our | ||
[Code of Conduct](https://github.com/eliashaeussler/typo3-solver/blob/main/CODE_OF_CONDUCT.md). | ||
options: | ||
- label: I agree to follow this project's Code of Conduct. | ||
required: true |
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,34 @@ | ||
version: 2 | ||
|
||
# Configuration: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: '[TASK]' | ||
labels: | ||
- dependencies | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: composer | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: '[TASK]' | ||
labels: | ||
- dependencies | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: composer | ||
directory: 'Resources/Private/Libs/Build' | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: '[TASK]' | ||
labels: | ||
- dependencies | ||
open-pull-requests-limit: 10 | ||
versioning-strategy: increase-if-necessary |
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,31 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- duplicate | ||
- 'good first issue' | ||
- 'help wanted' | ||
- invalid | ||
- question | ||
- wontfix | ||
categories: | ||
- title: 📖 Documentation | ||
labels: | ||
- documentation | ||
- title: ⚡ Breaking | ||
labels: | ||
- breaking | ||
- title: 🚀 Improved | ||
labels: | ||
- enhancement | ||
- title: 🚑 Fixed | ||
labels: | ||
- bug | ||
- title: ⚙️ Dependencies | ||
labels: | ||
- dependencies | ||
- title: 👷 Changed | ||
labels: | ||
- maintenance | ||
- title: Other changes | ||
labels: | ||
- "*" |
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 @@ | ||
name: Dependabot auto-merge | ||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
dependabot-auto-merge: | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch metadata | ||
id: dependabot-metadata | ||
uses: dependabot/fetch-metadata@v1 | ||
with: | ||
github-token: ${{ secrets.MERGE_TOKEN }} | ||
- name: Comment with merge instructions | ||
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | ||
uses: mshick/add-pr-comment@v2 | ||
with: | ||
repo-token: ${{ secrets.MERGE_TOKEN }} | ||
message: '@dependabot merge' |
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,59 @@ | ||
name: CGL | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
cgl: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# Prepare environment | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
# @todo switch back to composer-unused 0.8 once https://github.com/composer-unused/composer-unused/issues/444 is resolved | ||
tools: composer:v2, composer-require-checker, composer-unused:0.7, cs2pr | ||
coverage: none | ||
|
||
# Validation | ||
- name: Validate composer.json | ||
run: composer validate | ||
|
||
# Install dependencies | ||
- name: Install Composer dependencies | ||
run: composer require --no-progress typo3/cms-core:"^11.5 || ^12.2" | ||
|
||
# Check Composer dependencies | ||
- name: Check dependencies | ||
run: composer-require-checker check | ||
- name: Reset composer.json | ||
run: git checkout composer.json composer.lock | ||
- name: Re-install Composer dependencies | ||
uses: ramsey/composer-install@v2 | ||
- name: Check for unused dependencies | ||
run: composer-unused | ||
|
||
# Linting | ||
- name: Lint composer.json | ||
run: composer lint:composer -- --dry-run | ||
- name: Lint Editorconfig | ||
run: .build/bin/ec | ||
- name: Lint PHP | ||
run: composer lint:php -- --dry-run --format=checkstyle | cs2pr | ||
|
||
# SCA | ||
- name: SCA PHP | ||
run: composer sca:php -- --error-format github | ||
|
||
# Migration | ||
- name: Rector migration | ||
run: composer migration:rector -- --dry-run |
Oops, something went wrong.