Skip to content
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

[dx] keep tooling in one place #13

Merged
merged 2 commits into from
Jun 12, 2024
Merged

[dx] keep tooling in one place #13

merged 2 commits into from
Jun 12, 2024

Conversation

jrushlow
Copy link
Contributor

@jrushlow jrushlow commented Jun 11, 2024

  • composer tools:run runs php-cs-fixer & phpstan
  • composer tools:run:php-cs-fixer run only php-cs-fixer (works for phpstan as well).
  • composer tools:upgrade upgrades / installs all of the tools/*
  • composer tools:upgrade:php-cs-fixer Upgrades / installs only php-cs-fixer (works for phpstan as well)

This PR does not remove the phpstan/phpstan from the main composer.json. PHPUnit tests are dependent on a phpstan testcase. As such, the "main" phpstan/phpstan in vendor/ is used for tests & the "tools/phpstan" is used for static analysis consistent with the rest of SymfonyCasts.

We need to handle the PHPStan test case (and failures) in a separate PR

- `composer tools:run` runs `php-cs-fixer` & `phpstan`
- `composer tools:run:php-cs-fixer` run only `php-cs-fixer` (works for `phpstan` as well).
- `composer tools:upgrade` upgrades / installs all of the `tools/*`
- `composer tools:upgrade:php-cs-fixer` Upgrades / installs only `php-cs-fixer` (works for `phpstan` as well)
@jrushlow jrushlow merged commit d10534e into main Jun 12, 2024
3 of 11 checks passed
@jrushlow jrushlow deleted the minor/phpstan-scripts branch June 12, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant