APIv4 - Rename 'ReadOnly' trait to 'ReadOnlyEntity' to avoid PHP fatal error
authorColeman Watts <coleman@civicrm.org>
Wed, 26 Jan 2022 02:10:34 +0000 (21:10 -0500)
committerColeman Watts <coleman@civicrm.org>
Wed, 26 Jan 2022 14:29:38 +0000 (09:29 -0500)
commit405d086ef32968fd67b36ee36ebae4d9066d7129
treec42ef17bc4db6ae0760a50b5804934c610dcf776
parente463176669126e69de7232342b545d631b4fce61
APIv4 - Rename 'ReadOnly' trait to 'ReadOnlyEntity' to avoid PHP fatal error

Fixes dev/core#3043
The word 'readonly' is reserved as of php 8.1
Civi/Api4/EntityFinancialTrxn.php
Civi/Api4/FinancialItem.php
Civi/Api4/FinancialTrxn.php
Civi/Api4/Generic/Traits/ReadOnlyEntity.php [moved from Civi/Api4/Generic/Traits/ReadOnly.php with 98% similarity]
Civi/Api4/LineItem.php
tests/phpunit/api/v4/Entity/ConformanceTest.php