From 82e4dbe1de5df4b664c961c02e935afcfb87198b Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Sun, 13 Nov 2022 18:46:51 +0000 Subject: [PATCH] Revert "Add PHP Linting (Pint) github action" This reverts commit 79da0024 Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- .github/workflows/pint.yml | 25 ------------------------- .github/workflows/tests.yml | 31 ------------------------------- pint.json | 21 --------------------- 3 files changed, 77 deletions(-) delete mode 100644 .github/workflows/pint.yml delete mode 100644 .github/workflows/tests.yml delete mode 100644 pint.json diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml deleted file mode 100644 index a11d65e..0000000 --- a/.github/workflows/pint.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: PHP Linting (Pint) - -on: [push, pull_request] - -jobs: - phplint: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Composer Install - run: composer install --no-interaction --ignore-platform-reqs - - - name: Remove Extensions & Themes - run: rm -rf extensions themes - - - name: Run Laravel Pint - run: ./vendor/bin/pint - - - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: PHP Linting (Pint) - Fix styling - skip_fetch: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index dd8a46e..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Tests - -on: [push, pull_request] - -jobs: - PHPUnitTests: - runs-on: ubuntu-latest - - strategy: - max-parallel: 6 - matrix: - php: ['7.4', '8.0', '8.1'] - fail-fast: false - - name: 'PHPUnit Tests ${{ matrix.php }} / ${{ matrix.dbName }}' - - steps: - - name: Checkout changes - uses: actions/checkout@v1 - - - name: Install PHP - uses: shivammathur/setup-php@master - with: - php-version: ${{ matrix.php }} - extensions: mbstring, intl, gd, xml, sqlite - - - name: Install composer dependencies - run: composer install --no-interaction --no-progress --no-scripts - - - name: Run PHPUnit Test Suite - run: ./vendor/bin/phpunit ./tests diff --git a/pint.json b/pint.json deleted file mode 100644 index ca3348f..0000000 --- a/pint.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "rules": { - "method_chaining_indentation": true, - "logical_operators": true, - "simplified_null_return": false, - "cast_spaces": false, - "no_unreachable_default_argument_value": false, - "no_alternative_syntax": false, - "not_operator_with_successor_space": false, - "no_trailing_comma_in_list_call": false, - "phpdoc_summary": false, - "braces": false, - "self_accessor": false, - "Laravel/laravel_phpdoc_separation": false, - "Laravel/laravel_phpdoc_alignment": false, - "no_trailing_comma_in_singleline": false, - "blank_line_before_statement": { - "statements": ["declare", "return", "throw", "try"] - } - } -}