Skip to content

Add couple of new sniffs #204

Add couple of new sniffs

Add couple of new sniffs #204

Workflow file for this run

name: CI
on:
push:
branches:
- master
- '5.x'
pull_request:
branches:
- '*'
jobs:
testsuite:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3', '8.4']
dependencies: ['highest']
include:
- php-version: '8.1'
dependencies: 'lowest'
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
- name: Composer install
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
- name: Run PHPUnit
run: composer phpunit
cs-stan:
name: Coding Standard & Static Analysis
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: phive, cs2pr
coverage: none
- name: Composer install
uses: ramsey/composer-install@v3
- name: Install PHP tools with phive.
run: "phive install --trust-gpg-keys 'CF1A108D0E7AE720,51C67305FFC2E5C0,12CE0F1D262429A5'"
- name: Run PHP CodeSniffer
run: vendor/bin/phpcs --report=checkstyle | cs2pr
- name: Run PHPStan
run: tools/phpstan analyse --error-format=github
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy