Skip to content

Commit

Permalink
added symfony/dependency-injection
Browse files Browse the repository at this point in the history
  • Loading branch information
oliwierptak committed Aug 2, 2023
1 parent cc6f6d9 commit d77f1d7
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 46 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
"symfony/console": "^5|^6",
"symfony/yaml": "^5|^6",
"nette/php-generator": "^4",
"symfony/config": "^6.3"
"symfony/config": "^5|^6",
"symfony/dependency-injection": "^5|^6"
},
"require-dev": {
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^10",
"symfony/var-dumper": "^5|^6",
"phpstan/phpstan": "^1.4",
"phpmd/phpmd": "^2.13",
Expand Down
84 changes: 41 additions & 43 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,45 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="true" stopOnError="true"
stopOnIncomplete="false" stopOnSkipped="false" stderr="true" bootstrap="tests/bootstrap.php"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>src/Popo/PopoConfigurator.php</file>
<file>src/Popo/Command/CreateSchemaCommand.php</file>
<directory>tests/suite/Arrayable/Performance/</directory>
</exclude>
<report>
<clover outputFile="./tests/logs/coverage.xml"/>
<html outputDirectory="./tests/logs/coverage"/>
</report>
</coverage>
<logging>
<testdoxHtml outputFile="./tests/logs/coverage/index.html"/>
</logging>
<groups>
<exclude>
<group>skip</group>
</exclude>
</groups>
<testsuites>
<testsuite name="App">
<directory>./tests/suite/App</directory>
</testsuite>
<testsuite name="Arrayable">
<directory>./tests/suite/Arrayable</directory>
</testsuite>
<testsuite name="Performance">
<directory>./tests/suite/Performance</directory>
<exclude>./tests/suite/Performance/ToArray/BasicTest.php</exclude>
<exclude>./tests/suite/Performance/ToArray/ToArrayPerformanceTest.php</exclude>
</testsuite>
<testsuite name="Popo">
<directory>./tests/suite/Popo</directory>
</testsuite>
</testsuites>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="true" stopOnError="true" stopOnIncomplete="false" stopOnSkipped="false" stderr="true" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<coverage includeUncoveredFiles="true">
<report>
<clover outputFile="./tests/logs/coverage.xml"/>
<html outputDirectory="./tests/logs/coverage"/>
</report>
</coverage>
<logging>
<testdoxHtml outputFile="./tests/logs/coverage/index.html"/>
</logging>
<groups>
<exclude>
<group>skip</group>
</exclude>
</groups>
<testsuites>
<testsuite name="App">
<directory>./tests/suite/App</directory>
</testsuite>
<testsuite name="Arrayable">
<directory>./tests/suite/Arrayable</directory>
</testsuite>
<testsuite name="Performance">
<directory>./tests/suite/Performance</directory>
<exclude>./tests/suite/Performance/ToArray/BasicTest.php</exclude>
<exclude>./tests/suite/Performance/ToArray/ToArrayPerformanceTest.php</exclude>
</testsuite>
<testsuite name="Popo">
<directory>./tests/suite/Popo</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
<exclude>
<file>src/Popo/PopoConfigurator.php</file>
<file>src/Popo/Command/CreateSchemaCommand.php</file>
<directory>tests/suite/Arrayable/Performance/</directory>
</exclude>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion tests/suite/App/PopoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public function test_toArrayUpper(array $data): void
);
}

public function dataProvider(): array
public static function dataProvider(): array
{
return [[
[
Expand Down

0 comments on commit d77f1d7

Please sign in to comment.