Skip to content

Conversation

@borkweb
Copy link
Contributor

@borkweb borkweb commented Jul 12, 2025

  • Add phpstan.neon.dist with max level analysis
  • Add phpcs.xml.dist with PSR-12 coding standards
  • Configure both tools to scan src/ and tests/ directories
  • Set up parallel processing and colored output for phpcs

- Add phpstan.neon.dist with max level analysis
- Add phpcs.xml.dist with PSR-12 coding standards
- Configure both tools to scan src/ and tests/ directories
- Set up parallel processing and colored output for phpcs
@felixarntz felixarntz added the [Tool] Issues related to development tooling, such as linting, testing, or CI label Jul 12, 2025
Copy link
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@borkweb Thanks!

See my related comments in #16 - I guess if we merge both PRs together, it's fine to keep all the composer.json changes in the other PR, but ideally they should be in here as the other PR doesn't add this tooling.

Other than that, this PR looks good to go. Maybe add a dummy PHP file in src with just a class and minimal test code, so that we can already verify that all of this works?

@borkweb
Copy link
Contributor Author

borkweb commented Jul 12, 2025

For simplicity's sake, I'll cherry-pick this into the other PR so we can do it all in one fell swoop. (along with the dummy file)

@borkweb borkweb closed this Jul 12, 2025
@borkweb borkweb deleted the add/phpstan-phpcs branch July 13, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Tool] Issues related to development tooling, such as linting, testing, or CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants