Skip to content

LCH-7174: Fixing deprecation of module_handler service. #377

LCH-7174: Fixing deprecation of module_handler service.

LCH-7174: Fixing deprecation of module_handler service. #377

name: CHUC
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
php-version: [ '7.4', '8.1', '8.2' ]
steps:
# This step checks out a copy of your repository.
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Install composer dependencies
run: composer install
- name: Run phpcs
run: |
./vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
./vendor/bin/phpcs -n --standard=Drupal,DrupalPractice src/ tests/
- name: Run PHPUnit
run: ./vendor/bin/phpunit
- name: Run phpstan
run: ./vendor/bin/phpstan analyse -c ./phpstan.neon