-
-
Notifications
You must be signed in to change notification settings - Fork 364
[CI] Re-add PHP-CS-Fixer #2803
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
[CI] Re-add PHP-CS-Fixer #2803
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -29,6 +29,17 @@ jobs: | |||||
- run: yarn --immutable | ||||||
- run: yarn ci | ||||||
|
||||||
coding-style-php: | ||||||
runs-on: ubuntu-latest | ||||||
steps: | ||||||
- uses: actions/checkout@v4 | ||||||
- uses: shivammathur/setup-php@v2 | ||||||
with: | ||||||
php-version: '8.1' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we could use the php-cs-fixer tool provided by shivammathur also There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But we won't be able to run it locally, see #617 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, easier to use the installed version so you don't have to duplicate version constraints. I forgot that I don't include in my packages - the ci fixes automatically. |
||||||
- run: composer install | ||||||
- name: php-cs-fixer | ||||||
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I have a doubt to be honest, it may be automatically set |
||||||
|
||||||
phpstan: | ||||||
name: PHPStan | ||||||
runs-on: ubuntu-latest | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.