Skip to content

support SkipDatabaseRollback also on parent classes#342

Merged
dmaicher merged 1 commit intomasterfrom
attr_inheritance
Jan 21, 2026
Merged

support SkipDatabaseRollback also on parent classes#342
dmaicher merged 1 commit intomasterfrom
attr_inheritance

Conversation

@dmaicher
Copy link
Copy Markdown
Owner

@dmaicher dmaicher commented Jan 20, 2026

Did some benchmarks on PHP 8.4 with 100.000 tests and the performance overhead is negligible so let's also support parent classes for the SkipDatabaseRollback attribute.

@arderyp
Copy link
Copy Markdown

arderyp commented Jan 20, 2026

Whats the easiest way to test without manually dropping files in? my composer.josn includes dev requirement "dama/doctrine-test-bundle": "^8.0",

The few quick composer attempts i made didnt work

@arderyp
Copy link
Copy Markdown

arderyp commented Jan 20, 2026

Figured out how to test the PR

this change seems to fix my issue

@dmaicher dmaicher merged commit f7e3487 into master Jan 21, 2026
7 checks passed
@dmaicher dmaicher deleted the attr_inheritance branch January 21, 2026 07:39
@arderyp
Copy link
Copy Markdown

arderyp commented Jan 22, 2026

8.6.0 fixed the issue and now the attribute works great in my case, thanks!!

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.

2 participants