Skip to content

Commit

Permalink
Update: 尝试解决 phpunit.result.cache 引发的异常情况
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Mar 18, 2024
1 parent 31631a1 commit 1ba64c2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Components/model/tests/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
'model' => 'Imi\Model',
],

'beans' => [
'ErrorLog' => [
'catchLevel' => \E_ALL,
'exceptionLevel' => \E_ALL,
'errorEventHandlers' => [
\Imi\Test\Component\ErrorEventHandler::class,
],
],
],

// 日志配置
'logger' => [
'channels' => [
Expand Down
10 changes: 10 additions & 0 deletions src/Components/pgsql/tests/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
'pgsql' => 'Imi\Pgsql',
],

'beans' => [
'ErrorLog' => [
'catchLevel' => \E_ALL,
'exceptionLevel' => \E_ALL,
'errorEventHandlers' => [
\Imi\Test\Component\ErrorEventHandler::class,
],
],
],

// 日志配置
'logger' => [
'channels' => [
Expand Down
10 changes: 10 additions & 0 deletions src/Components/snowflake/src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,14 @@
'beanScan' => [
'Imi\Snowflake\Bean',
],

'beans' => [
'ErrorLog' => [
'catchLevel' => \E_ALL,
'exceptionLevel' => \E_ALL,
'errorEventHandlers' => [
\Imi\Test\Component\ErrorEventHandler::class,
],
],
],
];

0 comments on commit 1ba64c2

Please sign in to comment.