Skip to content

[Landing Pages] - New endpoint (#236) #1032

[Landing Pages] - New endpoint (#236)

[Landing Pages] - New endpoint (#236) #1032

Workflow file for this run

name: PHP tests
on: [push, pull_request]
jobs:
php-linter:
name: PHP Syntax check 5.6|7.2|7.3
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: PHP syntax checker 5.6
uses: prestashop/github-action-php-lint/5.6@master
- name: PHP syntax checker 7.2
uses: prestashop/github-action-php-lint/7.2@master
- name: PHP syntax checker 7.3
uses: prestashop/github-action-php-lint/7.3@master
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: composer install
- name: cs-fixer:init
run: php vendor/bin/prestashop-coding-standards cs-fixer:init
- name: PHP-CS-Fixer
run: php vendor/bin/php-cs-fixer fix --dry-run --diff --using-cache=no