Skip to content

Commit ca4aeaf

Browse files
committed
Direct call, but muted
1 parent 62693c6 commit ca4aeaf

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

phpstan.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ parameters:
4444
-
4545
message: '#^Call to function method_exists\(\) with ''Doctrine\\\\ORM\\\\EntityManager'' and ''create'' will always evaluate to true\.$#'
4646
path: src/Doctrine/Mapping/ClassMetadataFactory.php
47+
-
48+
message: '#^Call to function ini_set\(\) with deprecated option ''assert\.exception''\.$#'
49+
path: tests/bootstrap.php
4750

4851
-
4952
message: '#^Call to function method_exists\(\) with Doctrine\\DBAL\\Connection and ''getNativeConnection'' will always evaluate to true\.$#' # needed for older DBAL versions

tests/bootstrap.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
require_once __DIR__ . '/../vendor/autoload.php';
66

7+
@ini_set('assert.exception', '0'); // @ deprecated in PHP 8.3
8+
79
PHPStanTestCase::getContainer();
810

911
require_once __DIR__ . '/orm-3-bootstrap.php';

0 commit comments

Comments
 (0)