Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,16 @@ jobs:
needs: [composer]
strategy:
matrix:
command: ['php-cs-fixer fix -vvv --dry-run --diff', 'phpcs --extensions=php -p --standard=ruleset.xml .']
command: ['php-cs-fixer fix -vvv', 'phpcs --extensions=php -p --standard=ruleset.xml .']
steps:
- uses: actions/checkout@v4
- uses: actions/cache/restore@v4
with:
path: libraries/vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
- name: Check PHP code style
id: check-codestyle
continue-on-error: true
env:
PHP_CS_FIXER_IGNORE_ENV: true
run: |
Expand All @@ -76,6 +78,7 @@ jobs:
- uses: parkerbxyz/suggest-changes@v2
with:
comment: 'Your code does not comply with our codestyle. Please commit the suggested changes.'
event: 'REQUEST_CHANGES'

code-style-js-css:
name: Check Javascript & CSS code style
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @since 4.0.0
*/
class BannersController extends ApiController
{
{
/**
* The content type of the item.
*
Expand Down
Loading