Skip to content

Update Invite.class.php #4

Update Invite.class.php

Update Invite.class.php #4

Workflow file for this run

name: PHP
on:
push:
branches:
- next
tags-ignore:
- '**'
paths:
- '**.php'
pull_request:
paths:
- '**.php'
jobs:
syntax:
name: "Check Syntax (${{ matrix.php }})"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php:
- '7.2'
- '7.3'
- '7.4'
- '8.0'
steps:
- uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- run: echo "::add-matcher::.github/php-syntax.json"
- name: Remove files to be ignored
run: |
true
- run: |
! find . -type f -name '*.php' -exec php -l '{}' \; 2>&1 |grep -v '^No syntax errors detected'