Skip to content

Conversation

@DEberhardt
Copy link
Contributor

  • Added Validation with PHP Code Sniffer & Code Fixing
  • Renamed all snake_case Name to PHP standards
  • Refactor of Tests to remove Dummy Classes
  • Retaining 100% code coverage

DEberhardt and others added 30 commits September 7, 2025 18:27
… provider test files

- Updated test method names to follow camelCase convention in DiscordProviderTest, LaravelPassportProviderTest, SteamProviderTest, TwitchProviderTest, AbstractTicketProviderTest, FakeProviderTest, GenericTicketProviderTest, InternalTicketProviderTest, TicketTailorProviderTest, WooCommerceProviderTest, and other ticket provider tests.
- Ensured all test methods are descriptive and adhere to a consistent naming pattern for better readability and maintainability.

Signed-off-by: David Eberhardt <[email protected]>
…ormers with inline classes and simplify setup

Signed-off-by: David Eberhardt <[email protected]>
… inline class and simplify provider instance creation

Signed-off-by: David Eberhardt <[email protected]>
…ith inline classes and simplify provider creation

Signed-off-by: David Eberhardt <[email protected]>
…plify provider creation

Signed-off-by: David Eberhardt <[email protected]>
…vider helper and simplify provider creation

Signed-off-by: David Eberhardt <[email protected]>
…vider helper and simplify provider creation

Signed-off-by: David Eberhardt <[email protected]>
…orProvider helper and simplify test setup

Signed-off-by: David Eberhardt <[email protected]>
…Provider helper and simplify test setup

Signed-off-by: David Eberhardt <[email protected]>
… for improved encapsulation

Signed-off-by: David Eberhardt <[email protected]>
… readability and maintainability

Signed-off-by: David Eberhardt <[email protected]>
…etProvider, and DummyWooCommerceProvider in favor of factory-based test doubles and ReflectionHelpers

Signed-off-by: David Eberhardt <[email protected]>
…nd update HTTP header naming conventions for webhook requests

Signed-off-by: David Eberhardt <[email protected]>
…stent API endpoint usage

Signed-off-by: David Eberhardt <[email protected]>
…emove unused dummy provider classes

Signed-off-by: David Eberhardt <[email protected]>
…ControllerTest to use factories for provider settings

Signed-off-by: David Eberhardt <[email protected]>
… consistency and clarity in TicketProviderContractTest

Signed-off-by: David Eberhardt <[email protected]>
…cketProviderContractTest for improved clarity

Signed-off-by: David Eberhardt <[email protected]>
…ialProviderInstallTest and AbstractTransformerExtraTest for improved clarity; add config mapping validation test in GenericTicketProviderTest

Signed-off-by: David Eberhardt <[email protected]>
…ansformerExtraTest; remove unused NoopTransformer and PrecedenceTransformer classes

Signed-off-by: David Eberhardt <[email protected]>
…ce with anonymous subclasses for improved clarity and maintainability

Signed-off-by: David Eberhardt <[email protected]>
…tory method for improved clarity and maintainability in AbstractSocialProviderResolveTest

Signed-off-by: David Eberhardt <[email protected]>
@codecov
Copy link

codecov bot commented Sep 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d3171be) to head (93a8f81).
⚠️ Report is 46 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop       #65   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity      1155      1155           
===========================================
  Files            136       136           
  Lines           4053      4053           
===========================================
  Hits            4053      4053           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

….php; instantiate GenericTicketProvider directly in config mapping tests for improved clarity

Signed-off-by: David Eberhardt <[email protected]>
…e readability by adding space in class instantiation

Signed-off-by: David Eberhardt <[email protected]>
@DEberhardt
Copy link
Contributor Author

Missed my last commit which should have plugged that last gap again

@DEberhardt DEberhardt marked this pull request as ready for review September 9, 2025 17:39
@mintopia mintopia merged commit dbcf2c2 into mintopia:develop Sep 9, 2025
4 checks passed
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.

2 participants