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

fix: PHP_CS_FIXER_FUTURE_MODE - proper boolean validation #7651

Merged
merged 2 commits into from
Dec 31, 2023

Conversation

keradus
Copy link
Member

@keradus keradus commented Dec 31, 2023

No description provided.

@@ -21,6 +21,7 @@
],
"require": {
"php": "^7.4 || ^8.0",
"ext-filter": "*",
Copy link
Member Author

@keradus keradus Dec 31, 2023

Choose a reason for hiding this comment

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

I wonder if anyone will raise complaint about it afterwards 😅

Copy link
Member

Choose a reason for hiding this comment

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

Isn't it a built-in extension? I've never required it explicitly even though I've been using filter_var() many times 🙂.

Copy link
Member Author

Choose a reason for hiding this comment

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

it's enabled by default, but one can have vanilla PHP without ext. I doubt it, thus original message.
one way or another, our SCA was complaining about usage of not declared extension 🤷

@coveralls
Copy link

Coverage Status

coverage: 94.776% (+0.001%) from 94.775%
when pulling 6594bc3 on keradus:xxx_future
into 88f3bf1 on PHP-CS-Fixer:master.

@keradus keradus enabled auto-merge (squash) December 31, 2023 15:43
@keradus keradus merged commit 600e630 into PHP-CS-Fixer:master Dec 31, 2023
25 checks passed
@keradus keradus deleted the xxx_future branch January 1, 2024 11:33
danog pushed a commit to zoonru/PHP-CS-Fixer that referenced this pull request Feb 2, 2024
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.

None yet

3 participants