-
Notifications
You must be signed in to change notification settings - Fork 203
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
EZP-31542: Added PHP 7.4 support (eZ Platform 2.5) #3017
Merged
Merged
Changes from 15 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1220729
Fixed "Invalid characters passed for attempted conversion, these have…
adamwojs f7a373c
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs 54be1ff
Fixed "Notice: Trying to access array offset on value of type null" …
adamwojs 342f7f0
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs f89bcef
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs 6296000
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs 3f78b24
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs 6f8943e
fixup! Fixed "Notice: Trying to access array offset on value of type …
adamwojs e7eeb1a
Fixed \eZ\Publish\API\Repository\Tests\UserPreferenceServiceTest::tes…
adamwojs a4b0f72
CS
adamwojs 9893810
Fixed "Expectation failed for method name is "getCurrentUserReference…
adamwojs d70e4f4
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs d40a17b
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs e324fa7
Fixed "Notice: Trying to access array offset on value of type null" i…
adamwojs d359d4f
Enable testing on PHP 7.4 in .travis.yml
adamwojs 1df7c6a
Update eZ/Publish/Core/Persistence/TransformationProcessor/PcreCompil…
adamwojs e545fda
Reduced number of Travis jobs
adamwojs 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 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
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 |
---|---|---|
|
@@ -222,7 +222,14 @@ protected function getSortInfo(BaseValue $value) | |
*/ | ||
public function fromHash($hash) | ||
{ | ||
return new Value($hash['destinationContentId']); | ||
if ($hash !== null) { | ||
$destinationContentId = $hash['destinationContentId']; | ||
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. maybe this should also use |
||
if ($destinationContentId !== null) { | ||
return new Value((int)$destinationContentId); | ||
} | ||
} | ||
|
||
return $this->getEmptyValue(); | ||
} | ||
|
||
/** | ||
|
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
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
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.
Lets reduce number of tests here, it will take a long time to wait for them all to pass. We don't necerly need to test everything (3 flavours of integration test runs) on 7.4 once we have now gotten past to make sure all tests pass.
Note! I'm suggesting we test Solr 7 here on PHP 7.4. probably need adaptions in integration test script to pull in solr bundle 2.x when solr 7 is asked for.
Could also consider to split the functional testing across 7.1 and 7.4 as opposed to run both on both php versions.
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.
Sure, number of jobs will be reduced before merge. Right now I needed them to make sure that everything works 😉