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

Fixing the test suite #80

Merged
merged 3 commits into from Apr 6, 2020
Merged

Fixing the test suite #80

merged 3 commits into from Apr 6, 2020

Conversation

gquemener
Copy link
Contributor

Due to a Symfony bug, the testsuite is broken on the latest Symfony release (4.3.5).

The current test suite also misses a bunch of service definitions and this is a problem since Symfony 4.2.0 (I am still not sure why, seems like the services were auto registered before that?).

This PR fixes all of that + some CS violations.

The testsuite will magically pass once Symfony 4.3.6 is released.

We can wait to merge 'till then, if you prefer :)

However, it's possible to test it locally by running composer require symfony/dependency-injection:4.3.x-dev@dev prior to running phpunit.

@coveralls
Copy link

coveralls commented Oct 14, 2019

Pull Request Test Coverage Report for Build 242

  • 58 of 70 (82.86%) changed or added relevant lines in 10 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 85.138%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/Plugin/StopwatchPlugin.php 1 2 50.0%
src/Exception/CompilerPassException.php 0 3 0.0%
src/DependencyInjection/Configuration.php 8 16 50.0%
Totals Coverage Status
Change from base Build 237: 0.0%
Covered Lines: 401
Relevant Lines: 471

💛 - Coveralls

@gquemener
Copy link
Contributor Author

Here you go! All green and ready to merge 👍

🎃

@codeliner codeliner merged commit c8fbebe into prooph:master Apr 6, 2020
@gquemener gquemener deleted the test-suite-fix branch April 7, 2020 06:40
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

3 participants