Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 60
Enhancement: Run friendsofphp/php-cs-fixer on GitHub Actions#219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base:master
Are you sure you want to change the base?
Changes from all commits
57e0f05d61b65d53aefb955f678b215c2461c1751b752e457e347546a6ebaa8b7877f3f5bf2f2d423a9d841b478311cf69915cb407efe03deab363dFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| name: Integrate | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [ master ] | ||
| jobs: | ||
| coding-standards: | ||
| name: Coding Standards | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup PHP | ||
| uses: shivammathur/setup-php@v2 | ||
| with: | ||
| php-version: '8.3' | ||
| coverage: none | ||
| # ✅ Extensions required for PHD | ||
| extensions: > | ||
| dom, | ||
| xml, | ||
| xmlreader, | ||
| xmlwriter, | ||
| libxml, | ||
| simplexml, | ||
| sqlite3, | ||
| json, | ||
| mbstring, | ||
| tokenizer | ||
| - name: Validate composer.json | ||
| run: composer validate --ansi --strict | ||
| - name: Install dependencies | ||
| run: composer install --no-interaction --no-progress --ansi | ||
| - name: Run PHP CS Fixer | ||
| run: composer cs-check |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -13,3 +13,5 @@ run-tests.php | ||
| **/tests/**/*.exp | ||
| **/tests/**/*.log | ||
| **/tests/**/*.sh | ||
| /.php-cs-fixer.cache | ||
| /.php-cs-fixer.php | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?php | ||
| return (new PhpCsFixer\Config()) | ||
| ->setRules([]) | ||
lacatoire marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. lacatoire marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| ->setFinder( | ||
| PhpCsFixer\Finder::create() | ||
| ->in(__DIR__) | ||
| ); | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.