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

Atk4 phpunit polyfill for phpunit < 7.0 #162

Merged
merged 7 commits into from
Apr 15, 2020

Conversation

mvorisek
Copy link
Member

@mvorisek mvorisek commented Apr 15, 2020

Feedback welcomed

Tests passing for phpunit = 6.x:
169d9d1 (click the checks icon (red cross) to verify)

Plus polyfill for phpunit < 9.0 for PHP 7.2:
https://github.com/atk4/core/pull/162/files#diff-5e6bff90043b25119e765928c605fc82R72

@mvorisek mvorisek marked this pull request as draft April 15, 2020 17:11
@codecov
Copy link

codecov bot commented Apr 15, 2020

Codecov Report

Merging #162 into develop will decrease coverage by 0.02%.
The diff coverage is 98.05%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #162      +/-   ##
=============================================
- Coverage      97.06%   97.03%   -0.03%     
+ Complexity       456      448       -8     
=============================================
  Files             24       24              
  Lines           1055     1046       -9     
=============================================
- Hits            1024     1015       -9     
  Misses            31       31              
Impacted Files Coverage Δ Complexity Δ
src/QuickExceptionTrait.php 100.00% <ø> (ø) 1.00 <0.00> (ø)
src/StaticAddToTrait.php 75.00% <66.66%> (ø) 17.00 <7.00> (ø)
src/CollectionTrait.php 92.75% <85.71%> (ø) 26.00 <12.00> (ø)
src/ConfigTrait.php 100.00% <100.00%> (ø) 25.00 <19.00> (ø)
src/ContainerTrait.php 100.00% <100.00%> (ø) 34.00 <29.00> (ø)
src/DIContainerTrait.php 100.00% <100.00%> (ø) 9.00 <7.00> (-1.00)
src/DebugTrait.php 100.00% <100.00%> (ø) 27.00 <10.00> (ø)
src/DynamicMethodTrait.php 100.00% <100.00%> (ø) 27.00 <27.00> (-6.00)
src/Exception.php 100.00% <100.00%> (ø) 18.00 <3.00> (-1.00)
src/ExceptionRenderer/Console.php 100.00% <100.00%> (ø) 24.00 <0.00> (ø)
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 493c278...b80b944. Read the comment docs.

@mvorisek mvorisek marked this pull request as ready for review April 15, 2020 17:20
@mvorisek mvorisek marked this pull request as draft April 15, 2020 17:26
@mvorisek mvorisek force-pushed the make_migration_to_phpunit7_easier branch 2 times, most recently from 169d9d1 to 212da48 Compare April 15, 2020 17:34
@mvorisek mvorisek marked this pull request as ready for review April 15, 2020 17:35
Copy link
Collaborator

@abbadon1334 abbadon1334 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

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

LGTM

@DarkSide666 DarkSide666 merged commit 47c62bd into develop Apr 15, 2020
@DarkSide666 DarkSide666 deleted the make_migration_to_phpunit7_easier branch April 15, 2020 18:51
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