2f3fd laravel 11 upgrade (#436)

* fix password reset bug

* upgrade to  laravel 11

* composer.lock

* fix migration issues

* use ValidationRule Contract

* rename password_resets table

* implemented casts as protected function

* update env variables

* fix optional property

* fix validation issues

* use <env> on php unit xml

* fix pint

* cmposer.lock

* composer json fixes

* fix composer dependencies, remove  faker

* remove unused class

* remove test class

* fix default value for mysql migration

* linting

* expression syntax fix

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Favour Olayinka
2024-06-10 15:10:14 +01:00
committed by GitHub
parent 1875faa123
commit bec8e86b59
37 changed files with 2078 additions and 3158 deletions

View File

@@ -23,10 +23,13 @@ class FormIntegration extends Model
'oauth_id'
];
protected $casts = [
'data' => 'object',
'logic' => 'object'
];
protected function casts(): array
{
return [
'data' => 'object',
'logic' => 'object'
];
}
protected $dispatchesEvents = [
'created' => FormIntegrationCreated::class,

View File

@@ -19,9 +19,12 @@ class FormIntegrationsEvent extends Model
'data'
];
protected $casts = [
'data' => 'object'
];
protected function casts()
{
return [
'data' => 'object'
];
}
/**
* The event map for the model.