WIP - phpstan and phpcs - tests failing currently

This commit is contained in:
2026-01-24 01:20:17 -08:00
parent 31650e55c2
commit 37b7bca3be
17 changed files with 888 additions and 822 deletions

View File

@@ -18,9 +18,9 @@ use Cake\ORM\Entity;
* @property \Cake\I18n\DateTime|null $confirm_email_sent
* @property \Cake\I18n\DateTime|null $backend_email_sent
*/
class ContactUsFormSubmission extends Entity
{
/**
class ContactUsFormSubmission extends Entity {
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
* Note that when '*' is set to true, this allows all unspecified fields to
@@ -29,14 +29,15 @@ class ContactUsFormSubmission extends Entity
*
* @var array<string, bool>
*/
protected array $_accessible = [
'submitted_at' => true,
'client_ip' => true,
'name' => true,
'email' => true,
'subject' => true,
'message' => true,
'confirm_email_sent' => true,
'backend_email_sent' => true,
];
protected array $_accessible = [
'submitted_at' => true,
'client_ip' => true,
'name' => true,
'email' => true,
'subject' => true,
'message' => true,
'confirm_email_sent' => true,
'backend_email_sent' => true,
];
}