Skip to content

Fix: canSee() narrowing was inert, replace with a working mechanism #13

Fix: canSee() narrowing was inert, replace with a working mechanism

Fix: canSee() narrowing was inert, replace with a working mechanism #13

Workflow file for this run

name: Tests
on:
push:
paths:
- '**.php'
- '**.phpstub'
- 'tests/fixtures/**'
- 'phpunit.xml.dist'
- 'composer.json'
- '.github/workflows/tests.yml'
pull_request:
jobs:
phpunit:
name: phpunit
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Setup PHP
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2
with:
php-version: '8.4'
coverage: none
- name: Cache composer dependencies
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
with:
path: vendor
key: composer-${{ hashFiles('composer.json') }}
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run PHPUnit
run: composer test