Skip to content

Add missing @throws tags to Samp #23

Add missing @throws tags to Samp

Add missing @throws tags to Samp #23

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-24.04
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
php: [8.1, 8.2, 8.3]
ocular: [^1.9]
experimental: [false]
composer-extra: ['']
include:
- php: 8.4
experimental: true
env:
PHP_VERSION: ${{ matrix.php }}
name: PHP ${{ matrix.php }}
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: bz2,xml,curl
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Validate composer.json
run: composer validate
- name: Cache composer files
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Install dependencies using composer
run: composer install --prefer-dist --no-interaction ${{ matrix.composer-extra }}
- name: PHP CodeStyle
run: |
mkdir -p build/logs
composer phpcs
- name: Run PHPStan
run: composer phpstan
- name: Run PHPUnit
run: composer phpunit