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

Version 10 #207

Merged
merged 5 commits into from
Mar 11, 2024
Merged

Version 10 #207

merged 5 commits into from
Mar 11, 2024

Conversation

mmoll
Copy link
Contributor

@mmoll mmoll commented Jan 16, 2023

No description provided.

@sonarcloud
Copy link

sonarcloud bot commented Jan 16, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Jan 16, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c44311b) 100.00% compared to head (a7890f8) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##              master      #207   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       150       150           
===========================================
  Files              8         8           
  Lines            611       669   +58     
===========================================
+ Hits             611       669   +58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmoll
Copy link
Contributor Author

mmoll commented Jan 16, 2023

@Khartir @valentin-schaeidt-mayflower could you check the Attributes rules in your respective project and report back if this fits your needs?

@Khartir
Copy link
Contributor

Khartir commented Jan 16, 2023

Minor issue: sorting the attributes alphabetically includes a leading \ in the order. This leads to #[\Attribute] always being the last attribute, but that's a negligible edge-case.

More importantly, I just had this happen:

    #[Bar()]
-    // TODO do something
    public function foo(): void

@mmoll
Copy link
Contributor Author

mmoll commented Jan 16, 2023

Thanks, I opened slevomat/coding-standard#1497.

@mmoll mmoll marked this pull request as ready for review December 13, 2023 18:21
@mmoll
Copy link
Contributor Author

mmoll commented Dec 13, 2023

@Khartir Could you check again? :)

@Khartir
Copy link
Contributor

Khartir commented Dec 14, 2023

It still does weird stuff:

 //phpcs:disable SlevomatCodingStandard.PHP.ForbiddenClasses
-#[Bar()] /** foo */
 class TestCase

But I think we can merge this and either fix it upstream or disable offending sniffs downstream.

@mmoll mmoll requested a review from xalopp December 19, 2023 17:10
Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@xalopp xalopp left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@mmoll mmoll merged commit a31a9e5 into mayflower:master Mar 11, 2024
23 checks passed
@mmoll mmoll deleted the 10 branch March 11, 2024 21:37
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.

3 participants