set xdebug ini (#1257)
* set xdebug ini
See https://github.com/barryvdh/laravel-debugbar/pull/1224#issuecomment-966907943
* remove check for xdebug support
* use ini_set for phpunit 8.5.x
* Revert "remove check for xdebug support"
This reverts commit e25e46eec6
.
This commit is contained in:
parent
fa8a75758b
commit
0a35ab61d4
|
@ -28,5 +28,6 @@
|
|||
<php>
|
||||
<env name="DEBUGBAR_ENABLED" value="true"/>
|
||||
<env name="DB_CONNECTION" value="testing"/>
|
||||
<ini name="xdebug.file_link_format" value="vscode://file/%f:%l"/>
|
||||
</php>
|
||||
</phpunit>
|
||||
|
|
|
@ -10,6 +10,13 @@ class ViewCollectorTest extends TestCase
|
|||
{
|
||||
use RefreshDatabase;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
ini_set('xdebug.file_link_format', 'vscode://file/%f:%l');
|
||||
}
|
||||
|
||||
public function testIdeLinksAreAbsolutePaths()
|
||||
{
|
||||
if (!ini_get('xdebug.file_link_format')) {
|
||||
|
|
Loading…
Reference in New Issue