Skip to content

Commit

Permalink
chore: Remove unnecessary files; Run rector
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynotsolucky committed Aug 19, 2024
1 parent e33f366 commit 7b79efd
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 1,496 deletions.
Binary file removed .DS_Store
Binary file not shown.
280 changes: 0 additions & 280 deletions .ddev/config.yaml

This file was deleted.

52 changes: 52 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- develop
pull_request:

jobs:
ecs:
name: ECS Check
runs-on: ubuntu-latest
env:
DEFAULT_COMPOSER_FLAGS: "--no-interaction --no-ansi --no-progress"
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- run: composer install --prefer-dist --no-progress
- name: Run ecs check
run: |
vendor/bin/ecs --memory-limit=1G --no-progress-bar
rector:
name: Rector dry-run
runs-on: ubuntu-latest
env:
DEFAULT_COMPOSER_FLAGS: "--no-interaction --no-ansi --no-progress"
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- run: composer install --prefer-dist --no-progress
- name: Run rector --dry-run
run: |
vendor/bin/rector --memory-limit=1G --no-progress-bar --dry-run
phpstan:
name: PHPStan
runs-on: ubuntu-latest
env:
DEFAULT_COMPOSER_FLAGS: "--no-interaction --no-ansi --no-progress"
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- run: composer install --prefer-dist --no-progress
- name: Run phpstan
run: |
vendor/bin/phpstan --memory-limit=1G
16 changes: 0 additions & 16 deletions .vscode/launch.json

This file was deleted.

3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

23 changes: 0 additions & 23 deletions .vscode/tasks.json

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A companion plugin to the Foster Checkout Commerce templates.

## Requirements

This plugin requires Craft CMS 5.0.0 or later, and PHP 8.0.2 or later.
This plugin requires Craft CMS 5.0.0 or later, and PHP 8.2 or later.

## Installation

Expand Down
Loading

0 comments on commit 7b79efd

Please sign in to comment.