doc block fix & php cbf
All checks were successful
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m5s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m51s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 7m33s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m3s
CI / testsuite (mysql, 8.4, ) (push) Successful in 19m7s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 12m58s
CI / Coding Standard & Static Analysis (push) Successful in 3m17s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 16m8s
All checks were successful
CI / testsuite (mysql, 8.2, ) (push) Successful in 4m5s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m51s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 7m33s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 4m3s
CI / testsuite (mysql, 8.4, ) (push) Successful in 19m7s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 12m58s
CI / Coding Standard & Static Analysis (push) Successful in 3m17s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 16m8s
This commit is contained in:
@@ -12,6 +12,9 @@ use App\Controller\AppController;
|
|||||||
*/
|
*/
|
||||||
class ContactUsFormSubmissionsController extends AppController {
|
class ContactUsFormSubmissionsController extends AppController {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
public function initialize(): void {
|
public function initialize(): void {
|
||||||
parent::initialize(); // TODO: Change the autogenerated stub
|
parent::initialize(); // TODO: Change the autogenerated stub
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,6 +72,8 @@ class ContactUsComponent extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @param \Cake\Datasource\EntityInterface $contactUsFormSubmission
|
||||||
|
* @param array|null $postData
|
||||||
* @return \Cake\Http\Response|null|void
|
* @return \Cake\Http\Response|null|void
|
||||||
*/
|
*/
|
||||||
public function processContactUsForm(EntityInterface $contactUsFormSubmission, array|null $postData) {
|
public function processContactUsForm(EntityInterface $contactUsFormSubmission, array|null $postData) {
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ use App\Controller\AppController;
|
|||||||
*/
|
*/
|
||||||
class ContactUsFormSubmissionsController extends AppController {
|
class ContactUsFormSubmissionsController extends AppController {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
public function initialize(): void {
|
public function initialize(): void {
|
||||||
parent::initialize(); // TODO: Change the autogenerated stub
|
parent::initialize(); // TODO: Change the autogenerated stub
|
||||||
$this->loadComponent('CakeContactUs.ContactUs');
|
$this->loadComponent('CakeContactUs.ContactUs');
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class ContactUsFormSubmissionsFixture extends TestFixture {
|
|||||||
$this->records = [
|
$this->records = [
|
||||||
[
|
[
|
||||||
'id' => Text::uuid(),
|
'id' => Text::uuid(),
|
||||||
'submitted_at' => '2018-07-21 16:11:03',
|
'submitted_at' => '2018-07-21 16:11:03',
|
||||||
'client_ip' => 'cli',
|
'client_ip' => 'cli',
|
||||||
'first_name' => 'test',
|
'first_name' => 'test',
|
||||||
'last_name' => 'test',
|
'last_name' => 'test',
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class ContactUsComponentTest extends TestCase {
|
|||||||
* @var array<string>
|
* @var array<string>
|
||||||
*/
|
*/
|
||||||
protected array $fixtures = [
|
protected array $fixtures = [
|
||||||
ContactUsFormSubmissionsFixture::class,
|
ContactUsFormSubmissionsFixture::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class ContactUsFormSubmissionsControllerTest extends TestCase {
|
|||||||
* @var array<string>
|
* @var array<string>
|
||||||
*/
|
*/
|
||||||
protected array $fixtures = [
|
protected array $fixtures = [
|
||||||
ContactUsFormSubmissionsFixture::class,
|
ContactUsFormSubmissionsFixture::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ use Cake\Mailer\Transport\DebugTransport;
|
|||||||
use Cake\Mailer\TransportFactory;
|
use Cake\Mailer\TransportFactory;
|
||||||
use Cake\TestSuite\Fixture\SchemaLoader;
|
use Cake\TestSuite\Fixture\SchemaLoader;
|
||||||
use CakeContactUs\CakeContactUsPlugin;
|
use CakeContactUs\CakeContactUsPlugin;
|
||||||
use Migrations\TestSuite\Migrator;
|
|
||||||
use TestApp\Controller\AppController;
|
use TestApp\Controller\AppController;
|
||||||
|
|
||||||
if (!defined('DS')) {
|
if (!defined('DS')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user