Skip to content

fix: check for the identifier alias for the storage backend #324

fix: check for the identifier alias for the storage backend

fix: check for the identifier alias for the storage backend #324

name: Lint and Code Style
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-php-codestyle:
name: PHP Code Style
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ["8.3"]
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup PHP
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: ${{ matrix.php-version }}
extensions: curl, gd, json, xml, zip
ini-values: "memory_limit=1024M"
tools: phpstan, codesniffer
- name: Install Composer dependencies
run: |
make install-composer-deps
make vendor-bin-deps
- name: Install Server
run: |
DATA_DIRECTORY=$(pwd)/data bash tests/drone/install-server.sh
- name: Run PHP Code Style Checks
run: |
make test-php-style
- name: Run PHP Stan
run: |
make test-php-phpstan
- name: Run PHP Phan
run: |
make test-php-phan