PHP code example of valkyrja / phpstan
1. Go to this page and download the library: Download valkyrja/phpstan 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 / phpstan example snippets
yaml
jobs:
phpstan:
uses: valkyrjaio/ci-phpstan-php/.github/workflows/[email protected]
permissions:
pull-requests: write
contents: read
with:
php-version: '8.4'
paths: |
ci:
- '.github/ci/phpstan/**'
- '.github/workflows/phpstan.yml'
files:
- '.github/ci/phpstan/**'
- '.github/workflows/phpstan.yml'
- 'src/**/*.php'
- 'composer.json'
secrets: inherit