Skip to content

Conversation

@nikophil
Copy link
Member

@nikophil nikophil commented Nov 2, 2025

If we want to support SF 8 in Foundry 2, we'd need to throw an exception when using ProxyPersistentObjectFactory

BTW, Doctrine ORM still not support SF 8

"phpstan/phpstan-doctrine": "^2.0",
"phpstan/phpstan-phpunit": "^2.0"
"phpstan/phpstan-phpunit": "^2.0",
"symfony/var-exporter": "^7"
Copy link
Member Author

Choose a reason for hiding this comment

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

phpstan doctrine still needs var-exporter 7

Comment on lines 110 to 113
if (!TestKernel::canUseLegacyProxy()) {
yield [];
return;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

this is currently mandatory in order to still be able to test proxies in data providers

I think I will start working on Foundry 3 very soon because I can't stand this complexity in the tests anymore

Comment on lines 27 to 30
public static function setUpBeforeClass(): void
{
self::markTestSkipped();
}
Copy link
Member Author

Choose a reason for hiding this comment

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

⚠️

See https://github.com/zenstruck/foundry/blob/2.x/UPGRADE-2.7.md to upgrade.]]></issue>

<issue><![CDATA[Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:75 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal)]]></issue>
<issue><![CDATA[Since doctrine/doctrine-bundle 3.1: The "auto_mapping" option is deprecated and will be removed in DoctrineBundle 4.0, as it only accepts `false` since 3.0.]]></issue>
Copy link
Member Author

Choose a reason for hiding this comment

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

can't make disappear this deprec... I think there is a problem in Doctrine bundle

@nikophil nikophil marked this pull request as draft November 2, 2025 16:30
@nikophil nikophil changed the title Test SF 8 Actually support sf 8 Nov 9, 2025
@nikophil nikophil changed the title Actually support sf 8 Actually support Symfony 8 Nov 9, 2025
@nikophil nikophil force-pushed the chore/sf-8 branch 9 times, most recently from 9175aea to 3b4889a Compare November 29, 2025 12:18
@nikophil nikophil marked this pull request as ready for review December 2, 2025 17:17
@nikophil nikophil merged commit 7b9dc07 into zenstruck:2.x Dec 2, 2025
69 checks passed
@nikophil nikophil deleted the chore/sf-8 branch December 2, 2025 17:17
@Chris53897
Copy link
Contributor

Thanks @nikophil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants