-
Notifications
You must be signed in to change notification settings - Fork 5
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
docs: format & fix php errors #548
Conversation
Hello 👋 here is the most recent benchmark result:
This comment gets update everytime a new commit comes in! |
run: "php -l docs_php/*.php" | ||
|
||
- name: "docs code style" | ||
run: "vendor/bin/phpcbf docs_php --exclude=SlevomatCodingStandard.TypeHints.DeclareStrictTypes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i like this solution perse: i wonder how the checks from othe SA tools will change due to the "missing" declare(strict_types=1);
. Should be minor i think, but still WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if it behaves differently, but we can't change anything about it, otherwise we would always be formatting because we always remove that. But we already have 500 psalm errors that need to be fixed/ignored :D
@@ -38,6 +38,7 @@ | |||
"cspray/phinal": "^2.0.0", | |||
"doctrine/orm": "^2.18.0|^3.0.0", | |||
"infection/infection": "^0.27.0", | |||
"league/commonmark": "^2.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe move to tools?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could try it out and see if it works. But I don't want to do that here anymore. I had to start over 3 times because I had an error in the script. I want to save the status for now :D
@@ -48,7 +49,8 @@ | |||
"roave/infection-static-analysis-plugin": "^1.34.0", | |||
"symfony/messenger": "^5.4.31|^6.4.0|^7.0.1", | |||
"symfony/var-dumper": "^5.4.29|^6.4.0|^7.0.0", | |||
"vimeo/psalm": "^5.17.0" | |||
"vimeo/psalm": "^5.17.0", | |||
"wnx/commonmark-markdown-renderer": "^1.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe move to tools?
No description provided.