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
Run Infection on PHP 8.1. #1535
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
282d7c7
Run Infection on PHP 8.1
sidz ac2bc4e
update symfony deps, add ReturnTypeWillChange attribute
sidz e378a28
add check on VariadicPlaceholder
sidz 008dbb8
remove conflict with symfony/console 4.1.5
sidz a769111
try to fix Return type of Mock_SplFileInfo_8d3a072c::getPath() should…
sidz a871309
whitelist PHP 8.1 constants in scoper.inc.php
sidz 012971b
Add MockSplFileInfo mocks to work with Unit tests
sidz 1d9aa4d
Increase possible direct issues
sidz 347c4a3
fix another bunch of tests
sidz e4b0cb2
export SYMFONY_DEPRECATIONS_HELPER env variable as part of CI pipeline
sidz 049e872
cast to int explicitly to avoid "Implicit conversion from float to in…
sidz ce7da6d
fix pipeline
sidz 32980c9
remove continue-on-error on PHP 8.1
sidz 2eb658e
remove ignore-platform-req from pipeline
sidz 6ad8729
clean up pipeline
sidz 78c0f81
import ReturnTypeWillChange to use section
sidz File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -52,7 +52,7 @@ | |
"infection/extension-installer": "^0.1.0", | ||
"infection/include-interceptor": "^0.2.5", | ||
"justinrainbow/json-schema": "^5.2.10", | ||
"nikic/php-parser": "^4.10.3", | ||
"nikic/php-parser": "^4.13", | ||
"ondram/ci-detector": "^3.3.0", | ||
"sanmai/later": "^0.1.1", | ||
"sanmai/pipeline": "^5.1", | ||
|
@@ -67,8 +67,7 @@ | |
"webmozart/path-util": "^2.3" | ||
}, | ||
"conflict": { | ||
"phpunit/php-code-coverage": ">9 <9.1.4", | ||
"symfony/console": "=4.1.5" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could you please clarify why was it removed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we support 4.1.9 or higher: https://github.com/infection/infection/blob/master/composer.json#L61 |
||
"phpunit/php-code-coverage": ">9 <9.1.4" | ||
}, | ||
"require-dev": { | ||
"ext-simplexml": "*", | ||
|
Oops, something went wrong.
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.
no longer required as we got rid of
--ignore-platform-req=php