Skip to content

Commit

Permalink
fix rebase error ?
Browse files Browse the repository at this point in the history
  • Loading branch information
jygaulier committed Oct 21, 2024
1 parent 5947e8b commit 3147ba8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
15 changes: 9 additions & 6 deletions lib/php/rendition-factory/phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" backupGlobals="false" colors="true">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd" backupGlobals="false" colors="true" cacheDirectory=".phpunit.cache">
<php>
<ini name="error_reporting" value="-1"/>
<server name="SHELL_VERBOSITY" value="-1"/>
Expand All @@ -16,4 +11,12 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<file>tests/AbstractTest.php</file>
</exclude>
</source>
</phpunit>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ public function __construct(

public function getTransformations(): array
{
return $this->transformations;
return array_filter(
$this->transformations,
fn (Transformation $transformation) => $transformation->isEnabled()
);
}

public function getNormalization(): array
Expand Down

0 comments on commit 3147ba8

Please sign in to comment.