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: Remove get_called_class and get_class options from functions option of function_to_constant fixer #923

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

localheinz
Copy link
Member

This pull request

  • remove get_called_class and get_class options from functions option of function_to_constant fixer

💁‍♂️ The ::class pseudo constant has only been available since PHP 5.5. For reference, see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v3.35.1/doc/rules/language_construct/function_to_constant.rst#functions.

@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #923 (8ab698b) into main (ae2767a) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##                main      #923   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        66        66           
===========================================
  Files             22        22           
  Lines          11080     11076    -4     
===========================================
- Hits           11080     11076    -4     
Files Coverage Δ
src/RuleSet/Php53.php 100.00% <ø> (ø)
src/RuleSet/Php54.php 100.00% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@localheinz localheinz merged commit 1c27420 into main Oct 21, 2023
17 of 18 checks passed
@localheinz localheinz deleted the fix/function-to-constant branch October 21, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants