Set min versions of swiftmailer to 5.4.13 and 6.2.5 and updated swiftmailer submodule #282
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code Linting" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
php-cs-fixer: | |
name: 'PHP-CS-Fixer' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
tools: php-cs-fixer:3.45, cs2pr | |
- uses: actions/cache@v4 | |
with: | |
path: '.php-cs-fixer.cache' | |
key: ${{ github.repository }}-8.2-phpcsfixer-${{ github.ref_name }} | |
restore-keys: | | |
${{ github.repository }}-8.2-phpcsfixer-master | |
${{ github.repository }}-8.2-phpcsfixer- | |
- name: Run PHP-CS-Fixer | |
# Using cs2pr settings, see: https://github.com/shivammathur/setup-php#tools-with-checkstyle-support | |
run: 'php-cs-fixer fix --dry-run --format checkstyle | cs2pr' |