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

chore: deprecate Token::isKeyCaseSensitive #7599

Merged
merged 1 commit into from Dec 20, 2023

Conversation

keradus
Copy link
Member

@keradus keradus commented Dec 20, 2023

No description provided.

@keradus keradus marked this pull request as ready for review December 20, 2023 00:55
@coveralls
Copy link

Coverage Status

coverage: 94.802% (+0.001%) from 94.801%
when pulling 05fb89e on keradus:dx_dep_isKeyCaseSensitive
into 32f3b06 on PHP-CS-Fixer:master.

@kubawerlos kubawerlos merged commit 7acf3f2 into PHP-CS-Fixer:master Dec 20, 2023
25 checks passed
@kubawerlos
Copy link
Contributor

Thank you @keradus

@@ -216,6 +218,11 @@ public function equalsAny(array $others, bool $caseSensitive = true): bool
*/
public static function isKeyCaseSensitive($caseSensitive, int $key): bool
Copy link
Member

Choose a reason for hiding this comment

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

Why the method itself wasn't marked as @deprecated? It's better to have visual feedback when writing code instead of getting deprecation warning or tests failed when running it.

Copy link
Member Author

Choose a reason for hiding this comment

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

@keradus keradus deleted the dx_dep_isKeyCaseSensitive branch December 20, 2023 13:57
keradus added a commit that referenced this pull request Dec 20, 2023
keradus added a commit that referenced this pull request Dec 20, 2023
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

4 participants