Skip to content

Do not use superglobals #50

Do not use superglobals

Do not use superglobals #50

Workflow file for this run

name: "XML"
on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
jobs:
phpcs-validate:
name: "Validate PHPCS ruleset"
runs-on: "ubuntu-22.04"
steps:
-
name: "Check out repository"
uses: "actions/checkout@v3"
-
name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
-
name: "Install dependencies"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"
composer-options: "--no-plugins --no-scripts"
-
name: "Validate ruleset"
uses: "szepeviktor/phpcs-ruleset-validator@v0.4.0"
with:
xml_ruleset: "PSR12NeutronRuleset/ruleset.xml"