Helprs::utf8Length() uses mbstring, iconv and then utf8_decode #674
This file contains 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: Coding Style | |
on: [push, pull_request] | |
jobs: | |
nette_cc: | |
name: Nette Code Checker | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress | |
- run: php temp/code-checker/code-checker --strict-types --no-progress -i tests/Tracy/fixtures -i examples/assets | |
nette_cs: | |
name: Nette Coding Standard | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.0 | |
coverage: none | |
- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress | |
- run: php temp/coding-standard/ecs check src tests tools | |
js: | |
name: Code Standard Checker (JS) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm install eslint | |
- run: npx eslint "src/**/*.js" |