Skip to content

Commit

Permalink
Upgrade test application
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Jan 29, 2024
1 parent 6aa8679 commit 0833387
Show file tree
Hide file tree
Showing 103 changed files with 803 additions and 785 deletions.
6 changes: 5 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ root = true
[*]
indent_style = space
indent_size = 4

end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand All @@ -14,8 +15,11 @@ indent_size = 2
[*.md]
trim_trailing_whitespace = false

[*.sh]
indent_style = tab

[*.{yaml,yml}]
trim_trailing_whitespace = false

[package.json]
[{webpack.config.js,.eslintrc.js}]
indent_size = 2
32 changes: 18 additions & 14 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
/etc export-ignore
/features export-ignore
/spec export-ignore
/tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/behat.yml.dist export-ignore
/easy-coding-standard.yaml export-ignore
/phpspec.yml.dist export-ignore
/phpstan.neon export-ignore
/README.md export-ignore
/.github export-ignore
/etc export-ignore
/docs export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/README.md export-ignore
/behat.yml.dist export-ignore
/composer-require-checker.json export-ignore
/docs export-ignore
/ecs.php export-ignore
/node_modules export-ignore
/phpunit.xml.dist export-ignore
/psalm-baseline.xml export-ignore
/psalm.xml export-ignore
/tests export-ignore
/CHANGELOG.md export-ignore
/UPGRADE.md export-ignore
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: Setono
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Bug Report
description: File a bug report
title: "[Bug]: "
labels: [ "bug" ]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!
- type: input
id: plugin-version
attributes:
label: Plugin version
description: What version of the plugin are you using?
validations:
required: true
- type: input
id: sylius-version
attributes:
label: Sylius version
description: What version of Sylius are you using?
validations:
required: true
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Support question?
url: https://sylius-devs.slack.com/archives/C3EGDG9LY
about: Please ask questions on the Sylius support channel. It's okay to tag a developer, but please understand that we also have other obligations ;)
- name: Security issue
url: https://setono.com
about: Please send security vulnerabilities directly to [email protected]
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Feature request
description: Write a feature request
title: "[Feature request]: "
labels: [ "enhancement" ]
body:
- type: markdown
attributes:
value: "We really value feature requests. Thank you :tada:"
- type: textarea
id: what-happened
attributes:
label: Describe the proposed solution
description: A clear and concise description of what you want to happen
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered
validations:
required: false
- type: textarea
id: context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here
validations:
required: false
14 changes: 0 additions & 14 deletions .github/dependabot.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/backwards-compatibility-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://github.com/Roave/BackwardCompatibilityCheck

name: "Backwards Compatibility Check"

on:
pull_request: ~

jobs:
backwards-compatibility-check:
name: "Backwards Compatibility Check"

runs-on: "ubuntu-latest"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0

- name: "Setup PHP, with composer and extensions"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.1"
coverage: "none"

- name: "Install tool"
run: "composer global require roave/backward-compatibility-check"

- name: "Check for BC breaks"
run: "~/.composer/vendor/bin/roave-backward-compatibility-check --from=origin/${{ github.event.pull_request.base.ref }} --format=github-actions"
Loading

0 comments on commit 0833387

Please sign in to comment.