Skip to content

Commit

Permalink
Suppress deprecated warnings in phpunit (coming from ci4 core code) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dgvirtual authored Dec 27, 2024
1 parent b892532 commit 5cf782a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<const name="HOMEPATH" value="./"/>

<!-- Directory containing the Paths config file -->
<!-- <const name="CONFIGPATH" value="./tests/_support/Config/"/>-->
<!--< const name="CONFIGPATH" value="./tests/_support/Config/"/> -->

<!-- Directory containing the front controller (index.php) -->
<const name="PUBLICPATH" value="./vendor/codeigniter4/framework/public/"/>
Expand All @@ -99,5 +99,8 @@
<env name="database.tests.DBDriver" value="MySQLi"/>
<env name="database.tests.DBPrefix" value="tests_"/>
-->

<!-- Suppress deprecated warnings -->
<ini name="error_reporting" value="E_ALL &amp; ~E_DEPRECATED"/>
</php>
</phpunit>

0 comments on commit 5cf782a

Please sign in to comment.