Skip to content

Fix #68: Add the CsrfHeaderMiddleware middleware to use custom HTTP header to prevent forgery of requests, add the CsrfMiddleware::withSafeMethods() method to configure a custom safe HTTP methods list #415

Fix #68: Add the CsrfHeaderMiddleware middleware to use custom HTTP header to prevent forgery of requests, add the CsrfMiddleware::withSafeMethods() method to configure a custom safe HTTP methods list

Fix #68: Add the CsrfHeaderMiddleware middleware to use custom HTTP header to prevent forgery of requests, add the CsrfMiddleware::withSafeMethods() method to configure a custom safe HTTP methods list #415

Workflow file for this run

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
push:
branches: [ 'master' ]
paths-ignore:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
- '.gitignore'
- '.gitattributes'
- 'infection.json.dist'
- 'phpunit.xml.dist'
name: static analysis
jobs:
psalm:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.1', '8.2']
psalm74-80:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
with:
psalm-config: psalm74-80.xml
os: >-
['ubuntu-latest']
php: >-
['7.4', '8.0']
psalm83:
uses: yiisoft/actions/.github/workflows/psalm.yml@master
with:
psalm-config: psalm83.xml
os: >-
['ubuntu-latest']
php: >-
['8.3']