Skip to content
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

Fix "Using ArrayAccess is deprecated" #2859

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Seb33300
Copy link

No description provided.

@Seb33300 Seb33300 force-pushed the patch-1 branch 2 times, most recently from b8dd86e to a8bd62b Compare August 27, 2024 15:08
@phansys
Copy link
Collaborator

phansys commented Aug 27, 2024

Related to #2856.

@thommyhh
Copy link

thommyhh commented Sep 9, 2024

Would be nice to see this merged. I just started a project with Symfony 7 and I'm trying to reduce the number of deprecations.

@mbabker
Copy link
Contributor

mbabker commented Sep 9, 2024

Would be nice to see this merged. I just started a project with Symfony 7 and I'm trying to reduce the number of deprecations.

You can use the Doctrine Deprecations library's API to silence these unfixable (from your application's perspective) notices.

use Doctrine\Deprecations\Deprecation;

// Ignore unfixable Doctrine deprecations
Deprecation::ignoreDeprecations(
    'https://github.com/doctrine/orm/pull/11211', // The ORM changed from arrays to named data objects in 3.x, some packages still use array access for B/C
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants