Skip to content

Commit

Permalink
Merge pull request #2071 from dpfaffenbauer/coding-styles/refactor
Browse files Browse the repository at this point in the history
[All] Refactor Code Styles
  • Loading branch information
dpfaffenbauer authored Sep 12, 2022
2 parents 6518e2d + 12fbc54 commit c4ddac0
Show file tree
Hide file tree
Showing 2,312 changed files with 29,823 additions and 19,174 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/codestyles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Coding standard refactor

on:
schedule:
- cron: "0 2 * * MON" # Run at 2am every Monday
workflow_dispatch: ~

jobs:
coding-standard:
runs-on: ubuntu-latest
name: "Coding standard refactor"

timeout-minutes: 5

strategy:
fail-fast: false
matrix:
branch: [ "master" ]

steps:
- uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0 # the lowest PHP version working with ECS

- name: Install PHP dependencies
run: composer update --no-interaction --no-scripts

- name: Run ECS
run: vendor/bin/ecs check --fix src

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
commit-message: '[CS] Refactor'
author: CoreShop <[email protected]>
title: '[CS] Refactor'
body: |
This PR has been generated automatically to fix code-styles
labels: |
Enhancement
branch: coding-standard/refactor-${{ matrix.branch }}
delete-branch: true
base: ${{ matrix.branch }}
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,22 +107,22 @@
},
"require-dev": {
"behat/behat": "^3.8",
"friends-of-behat/symfony-extension": "^2.1",
"behat/mink": "^1.8",
"dbrekelmans/bdi": "^0.3.0",
"friends-of-behat/mink-debug-extension": "^2.0",
"friends-of-behat/mink-extension": "^2.4",
"friends-of-behat/page-object-extension": "^0.3.2",
"friends-of-behat/symfony-extension": "^2.1",
"lakion/mink-debug-extension": "^2.0",
"phpstan/phpstan": "^1.5.4",
"phpstan/phpstan-doctrine": "^1.3.2",
"phpstan/phpstan-symfony": "^1.1.8",
"phpstan/phpstan-webmozart-assert": "^1.1.2",
"behat/mink": "^1.8",
"friends-of-behat/mink-extension": "^2.4",
"lakion/mink-debug-extension": "^2.0",
"friends-of-behat/mink-debug-extension": "^2.0",
"phpunit/phpunit": "^9.5",
"robertfausk/behat-panther-extension": "^1.0",
"symfony/panther": "^1.0",
"dbrekelmans/bdi": "^0.3.0",
"vimeo/psalm": "^4.10",
"symplify/easy-coding-standard": "^9.4"
"symplify/easy-coding-standard": "^11.1",
"vimeo/psalm": "^4.10"
},
"conflict": {
},
Expand Down
Loading

0 comments on commit c4ddac0

Please sign in to comment.