-
Notifications
You must be signed in to change notification settings - Fork 3
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
Upgrade to prettier 3 #128
base: main
Are you sure you want to change the base?
Conversation
@@ -41,7 +40,7 @@ public function __construct( | |||
string $path, | |||
array $params = [], | |||
int $code = 0, | |||
?Exception $previous = null |
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.
Bof, d'enlever ce ?, c'est bien nullable (la valeur par défaut est d'ailleurs null)
C'est prettier qui fait ça ?
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.
Oui c'est prettier
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.
OK ça doit être la PER1 peut-être. Si ce n'est pas le cas il le remettra tout seul
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.
C'est quoi la PER1 ?
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.
https://www.php-fig.org/per/coding-style/
Per coding style pardon : per = standard évolutif, remplace les PSR2 ET 12
.prettierrc
: https://prettier.io/docs/en/plugins (this is now required)