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

Standardise casting spacing #2717

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Standardise casting spacing #2717

merged 2 commits into from
Sep 11, 2024

Conversation

timacdonald
Copy link
Contributor

This PR standardises the spacing of casting in PHP via (bool) $value style casts.

We currently have an inconsistent usage. I feel that we should standardise on a single space, which is commonly used in the community and also helps separate the "cast" from the "value".

@TimWolla TimWolla requested a review from Girgias August 28, 2023 07:10
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

LGTM But I'm going to wait to merge for a bit as this is more a QA change and I'm not sure how behind some translations are currently

language/types/array.xml Outdated Show resolved Hide resolved
@Girgias Girgias added the QA Quality Assurance label Aug 29, 2023
@timacdonald
Copy link
Contributor Author

Thanks. Appreciate the reviews.

@Girgias Girgias added this to the QA improvements milestone Aug 30, 2023
@Girgias
Copy link
Member

Girgias commented Apr 17, 2024

Sorry for the delay, could you rebase this on the latest master?

timacdonald and others added 2 commits September 8, 2024 12:59
Co-authored-by: George Peter Banyard <girgias@php.net>
@timacdonald
Copy link
Contributor Author

@Girgias, no apologies needed!

I've just rebased against master here and re-checked the repository in case others had been introduced.

This should be good to go.

@Girgias Girgias merged commit 8859c8b into php:master Sep 11, 2024
2 checks passed
@Girgias
Copy link
Member

Girgias commented Sep 11, 2024

Ah thanks for the ping, I forgot about this

@timacdonald timacdonald deleted the tutorial-cast branch September 11, 2024 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QA Quality Assurance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants