Resolve the "INTERMediator\FileMakerServer\RESTAPI\Supporting\CommunicationProvider::getOAuthIdentifier() never returns string so it can be removed from the return type" error detected by PHPStan #242
Workflow file for this run
This file contains hidden or 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: Test | |
| on: | |
| push: | |
| branches: | |
| - "*" | |
| pull_request: | |
| branches: [ 'master', 'main' ] | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 9 15 * *' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| # https://github.com/shivammathur/setup-php?tab=readme-ov-file#cloud-osplatform-support | |
| os: [ 'ubuntu-22.04', 'ubuntu-24.04', 'ubuntu-22.04-arm', 'ubuntu-24.04-arm', 'windows-2022', 'windows-2025', 'macos-14', 'macos-15-intel', 'macos-15', 'macos-26' ] | |
| php-version: [ '8.1', '8.2', '8.3', '8.4', '8.5' ] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Setup PHP | |
| uses: ./.github/actions/setup-php | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| - name: Prepare environment | |
| run: composer update | |
| - name: Run testing | |
| run: | | |
| php -v | |
| composer test |