title: Why Doesn't PHPUnit 9 expect the log child element of logging phpunit.xml.dist
body: <p>I am currently working on transitioning an old PHP application (more than 10 years olf) to PHP 7.4, we are currently implementing a continuous integration on the PHP 7.4 branch of the application. We decided to use a version of PHPUnit that is supported by the PHP current stable release. So we upgraded the ci testing job of the PHP 7.4 branch to PHPUnit 9.3.</p>
  <p>We made all necessary changes according to documentation, but we are blocked on one warning that we don't know how to fix (granted the tests are executed and the report is published at the right place)
  Warning - The configuration file did not pass validation!</p>
  <pre><code>  The following problems have been detected:
  
    Line 38:
    - Element 'log': This element is not expected..
  </code></pre>
  <p>I am sharing our PHPUnit configuration below and with the command, we use to launch it, can anyone spot what is wrong with it?</p>
  <pre><code>phpunit -c phpunit.xml.dist
  
  
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;phpunit
           xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;http://schema.phpunit.de/9.3/phpunit.xsd&quot;
           colors                      = &quot;true&quot;
           bootstrap                   = &quot;tests/bootstrap.php&quot;
           &gt;
  
      &lt;testsuites&gt;
          &lt;testsuite name=&quot;Unit Tests&quot;&gt;
              &lt;directory&gt;tests/&lt;/directory&gt;
          &lt;/testsuite&gt;
      &lt;/testsuites&gt;
      &lt;coverage&gt;
          &lt;include&gt;
              &lt;directory suffix=&quot;.php&quot;&gt;api&lt;/directory&gt;
          &lt;/include&gt;
      &lt;/coverage&gt;
      &lt;logging&gt;
          &lt;log type=&quot;junit&quot; target=&quot;build/unit_report.xml&quot;/&gt;
      &lt;/logging&gt;
  &lt;/phpunit&gt;
  </code></pre>