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
Symfony 4.0 #4318
Comments
That change looks the most dangerous. Others should not affect Codeception.
|
To avoid the deprecation errors, set this in the suite settings:
|
Deprecation is not a problem, removal of the feature in 4.0 will be a problem. |
Yeah, I just posted that because our Jenkins tests were failing because of
them, and for now at least that silences the errors. It also allows us to
do 'codecept run && something else'.
…On Wed, Aug 9, 2017 at 3:17 PM, Gintautas Miselis ***@***.***> wrote:
Deprecation is not a problem, removal of the feature in 4.0 will be a
problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4318 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAl0QfelKncbLyoFmvT2yCdHj5n_3WP3ks5sWgW6gaJpZM4N1KEB>
.
|
I'm also getting same deprecation notices while running codeception unit tests with doctrine2 module enabled:
|
Is there any progress on updating to symfony 4? |
I am waiting to merge and(or) tag stecman/symfony-console-completion#79 php-webdriver/php-webdriver#489 sebastianbergmann/phpunit#2822 to continue #4580 |
@VolCh Could you test persistService and Doctrine integration with Symfony 4.0? |
@Naktibalda Codeception/symfony-demo#9 it seems that Doctrine integration works as usually in standard Symfony Demo. I'll try add some other tests at the evening (UTC+03). Do you have another suggestions? Or feel free to add you tests. |
What version of symfony/dependency-injection have you got installed? Relevant code in 3.4: https://github.com/symfony/dependency-injection/blob/3.4/Compiler/AutowirePass.php#L295-L305 My suggestions for tests: |
With symfony/dependency-injection:v4.0.0-RC2 Suite config is: actor: FunctionalTester
modules:
enabled:
- Symfony:
app_path: 'src'
environment: 'test'
- Doctrine2:
depends: Symfony
cleanup: true
- \App\Tests\Helper\Functional |
I am a bit surprised that it didn't cause any issues. |
Symfony 4.0 will be released later this year, and it will come with a new set of breaking changes.
We have to review deprecation messages in Symfony 3.3 and prepare for 4.0 releases.
One example of breaking change is #4316
The likely effect is that Doctrine module will no longer be able to integrate with Symfony module.
The text was updated successfully, but these errors were encountered: