Fix regex validation rule description to properly display patterns with special characters #912
  
    
      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: Lint | |
| on: | |
| push: | |
| branches: [v4, v5] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php: | |
| - 8.3 | |
| name: Lint code (PHP ${{ matrix.php }}) | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup PHP ${{ matrix.php }} | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| coverage: none | |
| extensions: dom, curl, libxml, mbstring, zip, pdo, sqlite, pdo_sqlite, bcmath, intl, gd | |
| - name: Cache composer dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: vendor | |
| key: composer-${{ hashFiles('composer.lock') }} | |
| - name: Install dependencies | |
| run: composer install | |
| - name: Lint code | |
| env: | |
| COMPOSER_MEMORY_LIMIT: "-1" | |
| run: composer lint |