Skip to content
Snippets Groups Projects

Issue #3443493: Remove deprecated code from lib/State and lib/Session

Open Issue #3443493: Remove deprecated code from lib/State and lib/Session
2 unresolved threads
2 unresolved threads

Closes #3443493

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline #160096 passed

Merge request pipeline passed for f4f9a4f8

Approval is optional
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • The source branch is 1513 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
91 85 * {@inheritdoc}
92 86 */
93 87 public function set($key, $value) {
94 if (isset(self::$deprecatedState[$key])) {
95 // phpcs:ignore Drupal.Semantics.FunctionTriggerError
96 @trigger_error(self::$deprecatedState[$key]['message'], E_USER_DEPRECATED);
97 $key = self::$deprecatedState[$key]['replacement'];
98 }
  • Michael Lutz added 1 commit

    added 1 commit

    Compare with previous version

  • 87 65 * @see \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage::setSaveHandler()
    88 66 */
    89 67 public function __construct(
    90 RequestStack $request_stack,
    91 Connection $connection,
    92 MetadataBag $metadata_bag,
    93 SessionConfigurationInterface $session_configuration,
    94 protected TimeInterface|AbstractProxy|\SessionHandlerInterface|null $time = NULL,
    68 protected RequestStack $requestStack,
    69 protected Connection $connection,
    70 protected MetadataBag $metadata_bag,
  • Michael Lutz added 1 commit

    added 1 commit

    • f4f9a4f8 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading