added unescapeString method to unescape data in raw view #67
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
| # run static code analysis with PHP CodeSniffer | |
| name: PHP-CodeSniffer | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| phpcs: | |
| name: PHP CodeSniffer | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v2 | |
| # setup PHP | |
| - name: Set up PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| # install php dependencies | |
| - name: Install dependencies | |
| run: composer install --no-interaction --no-progress | |
| # check code with code sniffer | |
| - name: Run PHP CodeSniffer | |
| run: vendor/bin/phpcs |