Skip to content

Fix PHP 8.5 imagedestroy deprecation warning #1562

Fix PHP 8.5 imagedestroy deprecation warning

Fix PHP 8.5 imagedestroy deprecation warning #1562

Workflow file for this run

---
name: lint
permissions:
contents: read
pull-requests: write
on:
pull_request: &ignore-paths
paths-ignore:
- ".appveyor.yml"
- ".dockerignore"
- ".editorconfig"
- ".git-blame-ignore-revs"
- ".gitattributes"
- ".github/CONTRIBUTING.md"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE.md"
- ".github/PULL_REQUEST_TEMPLATE.md"
- ".github/SECURITY.md"
- ".gitignore"
- ".gitlab-ci.yml"
- "code-of-conduct.md"
- "docs/**"
- "framework/.gitignore"
- "framework/.phpstorm.meta.php"
- "framework/CHANGELOG.md"
- "framework/LICENSE.md"
- "framework/README.md"
- "framework/UPGRADE.md"
- "eslint.config.js"
- "LICENSE.md"
- "README.md"
- "ROADMAP.md"
push: *ignore-paths
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpcs:
runs-on: ubuntu-latest
name: PHP ${{ matrix.php }}-PHP_CodeSniffer
strategy:
fail-fast: false
matrix:
php: [8.4]
steps:
- name: Monitor action permissions.
if: runner.os != 'Windows'
uses: GitHubSecurityLab/actions-permissions/monitor@v1
- name: Checkout.
uses: actions/checkout@v5
- name: Setup PHP with Composer.
uses: ./.github/actions/php-setup
with:
composer-command: install
php-version: ${{ matrix.php }}
tools: cs2pr
- name: Run PHP_CodeSniffer.
run: vendor/bin/phpcs -q --report=checkstyle framework/ tests/ build/ | cs2pr