Skip to content

Fix UserProfile->getUserId() unable to return null #3

Fix UserProfile->getUserId() unable to return null

Fix UserProfile->getUserId() unable to return null #3

Workflow file for this run

# vim: set colorcolumn=:
name: bnetdocs-web
on: [push, pull_request]
permissions:
contents: read
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update apt cache
run: sudo apt-get update
- name: Install php 8.1
run: sudo apt-get install php8.1-cli
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: lib
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install composer/vendor dependencies
run: composer install --prefer-dist --no-progress --ignore-platform-reqs
- name: Validate PHP syntax
run: bash -c 'set -e;for file in $(find ./src -type f -regex ".*\.\(php\|phtml\)" -print); do php -e -l -f "$file"; done'