Skip to content

Use instanceof to be explicit about type #8

Use instanceof to be explicit about type

Use instanceof to be explicit about type #8

Workflow file for this run

name: "Integrate"
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
permissions:
contents: "read"
jobs:
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
php-version:
- "7.4"
- "8.0"
steps:
- name: "Checkout repository"
uses: "actions/checkout@v4"
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress --prefer-dist"
- run: "./generate.sh"
- run: "php -l wordpress-stubs.php"
- run: "git diff --exit-code"
- run: "php -f wordpress-stubs.php"
- run: "composer run test"