-
-
Notifications
You must be signed in to change notification settings - Fork 438
[dx] require >= PHPUnit 9.6, update phpunit schema, deprecate skipOnSymfony7() #1425
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2f8e773
[dx] require >= PHPUnit 9.6
jrushlow e4c3bc1
use require-dev instead of conflict
jrushlow d3e542f
add ability to skip mercure tests locally
jrushlow cf72bca
hmmm
jrushlow b106312
if a test is skipped, don't bother with the run callback
jrushlow 341679e
typo was the problem
jrushlow a0b2071
better deprecation message
jrushlow ceac22c
skip mercure test on symfony 7 without triggering deprecation warning
jrushlow 48cca96
fail on incomplete tests
jrushlow 28622e4
php-cs-fixer it up
jrushlow 525c67b
set phpunit version in config
jrushlow 7a27323
we dont need this
jrushlow File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| /.php-cs-fixer.cache | ||
| /.phpunit.result.cache | ||
| /.phpunit.cache | ||
| /composer.lock | ||
| /fake | ||
| /phpunit.xml | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,34 +2,42 @@ | |
|
|
||
| <!-- https://phpunit.de/manual/current/en/appendixes.configuration.html --> | ||
| <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd" | ||
| backupGlobals="false" | ||
| colors="true" | ||
| xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd" | ||
| bootstrap="vendor/autoload.php" | ||
| colors="true" | ||
| cacheResultFile=".phpunit.cache/test-results" | ||
| executionOrder="depends,defects" | ||
| failOnIncomplete="true" | ||
| failOnRisky="true" | ||
| failOnWarning="true" | ||
| beStrictAboutTodoAnnotatedTests="true" | ||
| > | ||
| <php> | ||
| <ini name="error_reporting" value="-1" /> | ||
| <env name="TEST_DATABASE_DSN" value="mysql://root:[email protected]:3306/test_maker?serverVersion=5.7" /> | ||
| <env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/> | ||
| <env name="SYMFONY_PHPUNIT_VERSION" value="9.6" /> | ||
| <env name="MAKER_SKIP_MERCURE_TEST" value="false"/> | ||
| </php> | ||
|
|
||
| <testsuites> | ||
| <testsuite name="Project Test Suite"> | ||
| <directory>tests/</directory> | ||
| <testsuite name="makers"> | ||
| <directory>tests/Maker</directory> | ||
| </testsuite> | ||
| <testsuite name="utils"> | ||
| <directory>tests</directory> | ||
| <exclude>tests/Maker</exclude> | ||
| <exclude>tests/fixtures</exclude> | ||
| <exclude>tests/tmp</exclude> | ||
| </testsuite> | ||
| <testsuite name="Maker Test Suite"> | ||
| <directory>tests/Maker</directory> | ||
| </testsuite> | ||
| </testsuites> | ||
|
|
||
| <filter> | ||
| <whitelist> | ||
| <directory>./src/</directory> | ||
| </whitelist> | ||
| </filter> | ||
| <coverage | ||
| cacheDirectory=".phpunit.cache/coverage" | ||
| processUncoveredFiles="true" | ||
| > | ||
| <include> | ||
| <directory suffix=".php">src</directory> | ||
| </include> | ||
| </coverage> | ||
| </phpunit> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chicken or the egg...
MakeEntityneeds to be refactored to useux-turboand at first glance doesn't appear to be a "1 for 1" swap withux-turbo-mercure. To keep the entire test suite from blowing up due to a deprecation - this skip conditional was moved here for now.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for now for me