2

We're not using code coverage so there's no need for xdebug to be enabled.

Leaving it enabled but unused is adding significant overhead to our test runtime.

I understand the generic steps of how to disable xdebug but I'm looking for answers specifically with doing so whilst using scrutinizer

pdbrito
  • 552
  • 8
  • 13

1 Answers1

1

I was able to accomplish this by editing my project's .scrutinizer.yml to include:

build:
    dependencies:
        before:
            - "find /home/scrutinizer/.phpenv/versions -name 'php.ini' -exec sed -i 's/^zend_extension_ts/;zend_extension_ts/' {} \\;"
pdbrito
  • 552
  • 8
  • 13