Refactor modify method return type to use self instead of DateTime|false #456
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: Style Checking | |
| permissions: | |
| contents: write | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| phpcsfixer: | |
| name: PHP CS Fixer | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: pcov | |
| ini-values: zend.assertions=1, assert.exception=1 | |
| php-version: 8.3 | |
| extensions: memcached | |
| tools: cs2pr | |
| - name: Install dependencies with Composer | |
| uses: ramsey/composer-install@v2 | |
| - name: Run PHP-CS-Fixer | |
| run: ./vendor/bin/php-cs-fixer fix --dry-run --diff --format checkstyle | cs2pr |