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
Persisted deprecation logs seems inconsistent #22533
Comments
for the |
The new panel is only about deprecations triggered while compiling the container. But as far as this issue is concerned, I'd close it as "too vague", as explained :) |
@nicolas-grekas we should still ensure that new projects don't trigger any deprecation though. |
Ok.. maybe im missing it. But the following scenario confuses me;
So im losing 2 deprecations here.. which i expected to be persisted from the 1st run. Ie. i can imagine the number increases... but decreasing? |
@ro0NL the first run may contain the persisted compilation deprecation, but also deprecations coming from the cache warming running after that (and which are not persisted currently) |
I see.. thanks 👍 another issue (maybe :));
The WDT never reported this one.. I guess it's complicated matter.. please close if there's nothing we can do here. But THB i expected more consistency with "persisting logs". |
looks like the file got replaced somehow |
…ernally (chalasr) This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle] Do not extend @Final SessionListener internally | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Revert the deprecated SessionListener class body instead of extending the new one which is `@final`, avoiding the following deprecations from the debug class loader: > User Deprecated: The Symfony\Bundle\FrameworkBundle\EventListener\SessionListener class is deprecated since version 3.3 and will be removed in 4.0. Use Symfony\Component\HttpKernel\EventListener\SessionListener instead. > User Deprecated: The Symfony\Component\HttpKernel\EventListener\SessionListener class is considered final since version 3.3. It may change without further notice as of its next major version. You should not extend it from Symfony\Bundle\FrameworkBundle\EventListener\SessionListener. spotted in #22533 Commits ------- cf61102 Do not extend @Final SessionListener internally
@ro0NL as @stof says, the only way to have your Do you have different value of filemtime on the |
Ill have a look at the log file tomorrow at work about whats happening, cant really reproduce it at home due different environment (it works as expected). Consider this closed after #22546 |
…class compiliation (ro0NL) This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle] Remove deprecated session listener from class compiliation | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #22533 | License | MIT | Doc PR | symfony/symfony-docs#... <!--highly recommended for new features--> Continuation of #22535 :) cc @chalasr Commits ------- dc37579 [FrameworkBundle] Remove deprecated session listener from class compilation
Given https://symfony.com/blog/new-in-symfony-3-3-persisted-deprecation-logs
Without further investigating any inner details on this; i did a fresh install of symfony-standard, and the logs still seem to be very inconsistent.
Steps roughly taken;
but sometimes it is;
and sometimes;
but then.. sometimes (mostly 2nd refresh);
It looks related to
composer install
, running that in between increases the logs.¯_(ツ)_/¯
The text was updated successfully, but these errors were encountered: