Skip to content

Add and use #[\Override] attribute #1513

Add and use #[\Override] attribute

Add and use #[\Override] attribute #1513

Workflow file for this run

name: Test Laravel app
on:
push:
paths:
- '**.php'
- '**.stubphp'
- 'composer.json'
- 'tests/laravel*'
- '.github/workflows/test-laravel.yml'
pull_request:
paths:
- '**.php'
- '**.stubphp'
- 'composer.json'
- 'tests/laravel*'
- '.github/workflows/test-laravel.yml'
jobs:
build:
runs-on: ubuntu-latest
name: Test Laravel app
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Build a Laravel project and run Psalm on it
run: |
./tests/Application/laravel-test.sh
- run: |
echo "Psalm analysis failed on a fresh Laravel project. Please consider updating baseline: tests/Application/laravel-test-baseline.xml"
if: ${{ failure() }}