Cast attr to string to prevent a PHP deprecation warning in 8.1 (#365) #49
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: CI | |
| on: | |
| pull_request: null | |
| push: | |
| branches: | |
| - lib | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: | |
| - '7.4' | |
| - '8.0' | |
| - '8.1' | |
| - '8.2' | |
| name: Linting - PHP ${{ matrix.php }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| extensions: intl | |
| - run: composer install --no-progress | |
| # - run: composer codestyle | |
| - run: composer phpstan | |
| if: matrix.php == '8.1' | |
| - run: composer tests |