Skip to content

fix: Prevent false prices + actual bugfix of normalization (#350) #896

fix: Prevent false prices + actual bugfix of normalization (#350)

fix: Prevent false prices + actual bugfix of normalization (#350) #896

Workflow file for this run

name: PHP tests
on: [push, pull_request]
jobs:
phplint:
name: PHP Syntax check 7.2|7.3|8.2
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: PHP Lint 7.2
uses: dbfx/github-phplint/7.2@master
with:
folder-to-exclude: "! -path \"./vendor/*\""
- name: PHP Lint 7.3
uses: dbfx/github-phplint/7.3@master
with:
folder-to-exclude: "! -path \"./vendor/*\""
- name: PHP Lint 8.2
uses: dbfx/github-phplint/8.2@master
with:
folder-to-exclude: "! -path \"./vendor/*\""
phpcs:
name: WordPress and WooCommerce PHP code standards compliance check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # important!
- name: Install dependencies
uses: php-actions/composer@v6
with:
command: install
- name: Standards Compliance check
run: ./vendor/bin/phpcs