Skip to content

Commit

Permalink
[All] Refactor Code Styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Sep 12, 2022
1 parent b62fc50 commit 93e752e
Show file tree
Hide file tree
Showing 2,238 changed files with 2,553 additions and 15 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 }}
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Cli/InstallerContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CartContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CartPriceRuleContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CategoryContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CountryContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CurrencyContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CustomerContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/CustomerGroupContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/ExchangeRateContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/FilterContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/IndexContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/LinkGeneratorContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/MenuContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/NotificationContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/OrderContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/PimcoreClassContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/PimcoreContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/ProductContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/ProductUnitContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/RecycleBinContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/SEOContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/ShippingContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/StoreContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/TaxRateContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/TaxRuleGroupContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/ThemeContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/TrackingContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Domain/VariantContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Hook/CoreShopSetupContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Hook/DoctrineORMContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Hook/PimcoreDaoContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Hook/PimcoreSetupContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/ActionFormTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/AddressContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CartContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CartPriceRuleContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CategoryContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/ConditionFormTrait.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/ConfigurationContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CountryContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CurrencyContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CustomerContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/CustomerGroupContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/ExchangeRateContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/FilterContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/IndexConditionContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/IndexContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/LocaleContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/LogContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
1 change: 1 addition & 0 deletions src/CoreShop/Behat/Context/Setup/ManufacturerContext.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

declare(strict_types=1);

/*
Expand Down
Loading

0 comments on commit 93e752e

Please sign in to comment.