CI should fail on PHP deprecated errors and report errors for deprecated implicit float to int precision loss #13217
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Shepherd | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.3' | |
ini-values: zend.assertions=1, error_reporting=E_ALL | |
tools: composer:v2 | |
coverage: none | |
env: | |
fail-fast: true | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
env: | |
COMPOSER_ROOT_VERSION: dev-master | |
- name: Run Psalm | |
run: ./psalm --threads=2 --output-format=github --shepherd |