[API] Fix deprecations #384
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: Code style | |
| on: | |
| push: | |
| pull_request: | |
| env: | |
| WITH_DOCKER: 0 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| - name: Install Dependencies | |
| run: composer install --no-progress --prefer-dist | |
| working-directory: api | |
| - name: Run php lint | |
| run: make php-lint-dry | |
| # - name: Run twig lint | |
| # run: make twig-lint-dry | |
| - name: Run phpstan | |
| run: make phpstan |