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:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user