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

Add phpstan, rector, php-cs-fixer and linting scripts #178

Merged

Conversation

alexander-schranz
Copy link
Member

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Add phpstan, rector, php-cs-fixer and linting scripts.

Why?

We want to provide sulu rector with the skeleton which requires a good configured phpstan configuration. Which we should already ship with the skeleton. In this case the other tooling and linting task which we already use are added the the composer.json and should improve the quality of all other sulu projects as we know provide composer lint script which will do validation of a lot of files for every sulu project.

@alexander-schranz alexander-schranz force-pushed the feature/phpstan-rector-php-cs-scripts branch from 07b0338 to 897e427 Compare July 11, 2022 21:01
@chirimoya chirimoya merged commit 6b006f7 into sulu:2.5 Jul 12, 2022
@alexander-schranz alexander-schranz deleted the feature/phpstan-rector-php-cs-scripts branch July 12, 2022 11:45
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.

2 participants