PHP code example of valkyrja / ci-phpcodesniffer
1. Go to this page and download the library: Download valkyrja/ci-phpcodesniffer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
valkyrja / ci-phpcodesniffer example snippets
yaml
jobs:
phpcodesniffer:
uses: valkyrjaio/ci-phpcodesniffer-php/.github/workflows/[email protected]
permissions:
pull-requests: write
contents: read
with:
php-version: '8.4'
paths: |
ci:
- '.github/ci/phpcodesniffer/**'
- '.github/workflows/phpcodesniffer.yml'
files:
- '.github/ci/phpcodesniffer/**'
- '.github/workflows/phpcodesniffer.yml'
- 'src/**/*.php'
- 'composer.json'
secrets: inherit