Skip to content

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Jul 1, 2025

This is a follow up to #11188

*
* @link www.doctrine-project.org
*/
class SingleSelectExecutor extends AbstractSqlExecutor
Copy link
Member Author

Choose a reason for hiding this comment

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

@mpdude should this class be deprecated on 3.6.x?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice catch, that was not obvious or annotated. Removing it in #12195.

$this->assertInstanceOf(ResultSetMapping::class, $unserialized->getResultSetMapping());
$this->assertEquals(['name' => [0]], $unserialized->getParameterMappings());
$this->assertInstanceOf(SingleSelectExecutor::class, $unserialized->getSqlExecutor());
$this->assertIsString($unserialized->getSqlExecutor()->getSqlStatements());
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure what these assertions should be replaced with. If there is something, maybe that something should be used on 3.x already.

$query->setQueryCache($cache);

$query->getResult();
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I think maybe this should be rewritten on 3.x to avoid calling setSqlExecutor.

Copy link
Contributor

github-actions bot commented Oct 2, 2025

There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
If you want to continue working on it, please leave a comment.

@github-actions github-actions bot added the Stale label Oct 2, 2025
@greg0ire
Copy link
Member Author

greg0ire commented Oct 7, 2025

Closing in favor of #12195

@greg0ire greg0ire closed this Oct 7, 2025
@greg0ire greg0ire deleted the rm-set-sql-executor branch October 7, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants