-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Use integer type instead of int & boolean instead of bool #14529
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
Conversation
@ybenhssaien thanks for this contribution! However, the fix should be the opposite. We use |
@javiereguiluz I created a new rule for this case |
@ybenhssaien would you like to fix You can see what needs to be fixed for |
Done for |
@OskarStark done |
Thank you Youssef. |
…l (ybenhssaien) This PR was squashed before being merged into the 5.1 branch. Discussion ---------- Use integer type instead of int & boolean instead of bool Uses the same type hint `int` already used in the `optimizations` config # Update - [x] Replace `int` by `integer` - [x] Replace `bool` by `boolean` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 120290d Replace bool by boolean fc22075 Use integer typehint instead int 2c0cad0 Use int type instead integer
Uses the same type hint
int
already used in theoptimizations
configUpdate
int
byinteger
bool
byboolean