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

adds fix to consider valid a single letter class #386

Merged
merged 3 commits into from
Jul 8, 2023
Merged

Conversation

fain182
Copy link
Collaborator

@fain182 fain182 commented May 25, 2023

fixes #385

We loose the check that a class should not be start with a number, but I don't think is critical...

@fain182 fain182 requested a review from micheleorselli May 25, 2023 07:06
@fain182
Copy link
Collaborator Author

fain182 commented May 25, 2023

I have not more cs-fix errors on my laptop with php 8.2, but I see there are errors on the CI...
Maybe older PHP versions use older version of php-cs-fix that have a different behavior?

@fain182 fain182 force-pushed the single-letter-class branch from 71f65b3 to ce81002 Compare July 8, 2023 13:07
This reverts commit ce81002.
@codecov-commenter
Copy link

Codecov Report

Merging #386 (80b36c0) into main (17b1c43) will not change coverage.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff            @@
##               main     #386   +/-   ##
=========================================
  Coverage     94.33%   94.33%           
  Complexity      571      571           
=========================================
  Files            67       67           
  Lines          1500     1500           
=========================================
  Hits           1415     1415           
  Misses           85       85           
Impacted Files Coverage Δ
src/Analyzer/FullyQualifiedClassName.php 96.87% <100.00%> (ø)

@fain182 fain182 merged commit 976c200 into main Jul 8, 2023
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.

Single letter class names not permitted
2 participants