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

Add entity-types-php@2 #343

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Add entity-types-php@2 #343

merged 2 commits into from
Apr 19, 2024

Conversation

colemanw
Copy link
Contributor

Adds new mixin from civicrm/civicrm-core#29771

'remote' => 'https://raw.githubusercontent.com/civicrm/civicrm-core/5d5c59c9453fabf1c3f709c7b8e26c680312d9a8/mixin/entity-types-php@2/mixin.php',
'local' => 'extern/mixin/entity-types-php@2/mixin.php',
'provided-by' => '5.73',
'minimum' => '5.45',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we temporarily mark this as minimum=>5.73? I guess we're still shaking-out that detail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me! I'm still struggling to see the value of backporting this change.

@colemanw colemanw force-pushed the entity-types-php@2 branch from 18520bb to afea039 Compare March 22, 2024 03:17
@colemanw
Copy link
Contributor Author

@totten updated the minimum.

@totten
Copy link
Owner

totten commented Mar 22, 2024

Ah, erg. E2E\MixinMgmtTest.testEnableAllDisableAll ==> it makes sense for that assertion to fail... The specific number is a bit arbitrary, but it would have to bounce around with this.

TBH, I'm not really sure the benefit to separating this commit from the other parts of the project... (Like I view it opportunistically - if separating makes it easier, then well-and-good.)

@totten
Copy link
Owner

totten commented Apr 19, 2024

civibot, test this please

@colemanw
Copy link
Contributor Author

@totten FIFY

@totten
Copy link
Owner

totten commented Apr 19, 2024

Yeah, fair enough. hook_entityTypes is totally a valid thing in 5.51... and storing the *.entityType.php in ./schema would be too.

There's other plumbing for the overall set of changes/expectations, but that needs to be sorted out in other PRs. Don't need to block this part.

@totten totten merged commit 202625e into totten:master Apr 19, 2024
1 check passed
@colemanw colemanw deleted the entity-types-php@2 branch April 19, 2024 20:44
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