This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
Improved copying values from the phone and email fields. #1063
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: phpDoc Checker | |
on: | |
push: | |
branches: | |
- developer | |
pull_request: | |
branches: | |
- developer | |
jobs: | |
phpDoc: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: ['8.1', '8.2'] | |
name: Doc Checker PHP${{ matrix.php }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
ini-values: memory_limit=512M, xdebug.mode=off | |
- name: wget | |
shell: bash | |
run: | | |
wget https://phpdoc.org/phpDocumentor.phar -P /tmp/ | |
chmod +x /tmp/phpDocumentor.phar | |
- name: phpDocumentor | |
shell: bash | |
run: php /tmp/phpDocumentor.phar run -d . -t phpDoc/ --sourcecode | |
- name: Checker | |
shell: bash | |
run: | | |
if [ "$(grep -c 'No errors have been found in this project.' phpDoc/reports/errors.html)" = 0 ]; then | |
cat phpDoc/reports/errors.html | |
exit 3 | |
fi | |
- name: Upload artifact Logs | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Reports | |
path: phpDoc/ |