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

DEP PHP Support in CMS5 #66

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

sabina-talipova
Copy link

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Unit test failure

@sabina-talipova sabina-talipova force-pushed the pulls/3/upgrade-cms5 branch 2 times, most recently from 52be507 to 20c5eda Compare December 20, 2022 20:48
@sabina-talipova
Copy link
Author

Tests passed

@@ -72,7 +72,7 @@ public function numRecords()
return $c;
}

public function nextRecord()
public function getIterator()
Copy link
Member

@emteknetnz emteknetnz Dec 21, 2022

Choose a reason for hiding this comment

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

Could you add the #[\ReturnTypeWillChange] above this method e.g. /~https://github.com/silverstripe/silverstripe-framework/blob/5/src/ORM/Connect/MySQLQuery.php#L48

Copy link
Author

Choose a reason for hiding this comment

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

DONE

@emteknetnz emteknetnz merged commit 25304fa into silverstripe:3 Jan 10, 2023
@emteknetnz emteknetnz deleted the pulls/3/upgrade-cms5 branch January 10, 2023 00:33
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.

2 participants