Skip to content

Return null in transaction response & able to get the calculated hash #149

Return null in transaction response & able to get the calculated hash

Return null in transaction response & able to get the calculated hash #149

Workflow file for this run

name: CheckStyleAndLint
on:
pull_request:
paths:
- "src/**.php"
- "example/**.php"
jobs:
phpcs:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2, 8.3]
stability: [prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: cs2pr, phplint, phpcs
- name: Run phplint
run: phplint --no-configuration --no-cache --no-interaction ./src/* ./example/*
- name: Run phpcs
run: phpcs -q --report=checkstyle --extensions=php ./src/* | cs2pr