Skip to content

Fix the undeclared class property #42

Fix the undeclared class property

Fix the undeclared class property #42

Workflow file for this run

name: JEXT-CLI workflow
on:
pull_request:
push:
branches:
- main
- dev
jobs:
build:
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
runs-on: ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
- name: phpcs
run: composer run-script phpcs