Skip to content

add tests on PHP 8.3 #1

add tests on PHP 8.3

add tests on PHP 8.3 #1

Workflow file for this run

name: Code styles
on: [push]

Check failure on line 2 in .github/workflows/styles.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/styles.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
schedule:
- cron: '0 0 * * THU'
jobs:
security-checker:
name: security-checker
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:v2
- uses: actions/checkout@v4
- run: composer install --prefer-dist
- uses: symfonycorp/security-checker-action@v3
phpcpd:
name: phpcpd
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:v2, phpcpd
- name: Checkout
uses: actions/checkout@v4
- run: composer install --prefer-dist
- run: ./vendor/bin/phpcpd ./ --exclude=vendor --exclude=bin --exclude=tests
php-cs-fixer:
name: php-cs-fixer
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:v2, php-cs-fixer, cs2pr
- name: Checkout
uses: actions/checkout@v4
- run: composer install --prefer-dist
- run: ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php -v --dry-run --using-cache=no --format=checkstyle | cs2pr
psalm:
name: psalm
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
- uses: actions/checkout@v4
- run: composer install --prefer-dist
- run: ./vendor/bin/psalm --output-format=github