Skip to content

Allow array-sourced models to provide records using generators #1021

Allow array-sourced models to provide records using generators

Allow array-sourced models to provide records using generators #1021

Workflow file for this run

name: Code Quality
on:
pull_request:
push:
branches:
- 1.0
- 1.1
- develop
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
codeQuality:
runs-on: ubuntu-latest
name: PHP
steps:
- name: Checkout changes
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install PHP and PHP Code Sniffer
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: phpcs
coverage: none
- name: Run code quality checks (on push)
if: github.event_name == 'push'
run: ./.github/workflows/utilities/phpcs-push ${{ github.sha }}
- name: Run code quality checks (on pull request)
if: github.event_name == 'pull_request'
run: ./.github/workflows/utilities/phpcs-pr ${{ github.base_ref }}