Add support for providing a PSR-20 clock to event adapters which create new DateTimeInterface objects #1616
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: Quality Assurance | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install PHP with extensions | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
coverage: none | |
extensions: mongodb-1.9.0, zip | |
tools: composer:v2 | |
- name: Install Composer dependencies (highest) | |
uses: ramsey/composer-install@v2 | |
with: | |
dependency-versions: highest | |
composer-options: --prefer-dist --prefer-stable --no-interaction --no-progress | |
- name: PHPStan | |
run: vendor/bin/phpstan --memory-limit=1G analyse --error-format=github |