Bump OpenLayers from 10.1.0 to 10.2.0 to 10.2.1 #426
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP Code Style | |
on: [ push, pull_request, workflow_dispatch ] | |
jobs: | |
phpcs: | |
name: PHP CodeSniffer | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
tools: cs2pr, phpcs | |
- name: retrieve script | |
run: wget https://raw.github.com/splitbrain/dokuwiki-travis/master/travis.sh | |
- name: Install DokuWiki | |
env: | |
CI_SERVER: 1 | |
DOKUWIKI: master | |
run: sh travis.sh | |
- name: run PHP codesniffer | |
continue-on-error: true | |
run: phpcs -v --standard=_test/phpcs_MigrationAdjustments.xml --report-full --report-checkstyle=./phpcs-report.xml lib/plugins/openlayersmap | |
- name: Annotate PR | |
if: ${{ always() && steps.phpcs.outcome == 'failure' }} | |
run: cs2pr --notices-as-warnings --colorize ./phpcs-report.xml |