-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from nepda/50-fix-di-problem-with-unnamed-para…
…meters Fix DI problem with Laravel 10 - add names for parameters for container
- Loading branch information
Showing
4 changed files
with
165 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<!-- | ||
This is the "dist(ribution)" phpunit.xml.dist file. It sets the defaults that are then over written by any files in | ||
phpunit.xml, which is then over wrote by flags passed in via the command line. The plan is that this file is to be | ||
used by ci to do the full suit of tests, and a developer can copy this file to phpunit.xml to trim down some of the | ||
options. | ||
--> | ||
|
||
<phpunit backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="true" | ||
stopOnFailure="false" | ||
verbose="true"> | ||
|
||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
backupGlobals="false" | ||
backupStaticAttributes="false" | ||
bootstrap="vendor/autoload.php" | ||
colors="true" | ||
convertErrorsToExceptions="true" | ||
convertNoticesToExceptions="true" | ||
convertWarningsToExceptions="true" | ||
processIsolation="true" | ||
stopOnFailure="false" | ||
verbose="true" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> | ||
<coverage> | ||
<include> | ||
<directory suffix=".php">src/</directory> | ||
</include> | ||
<exclude> | ||
<directory suffix=".php">src/config</directory> | ||
</exclude> | ||
<report> | ||
<clover outputFile="build/phpunit/logs/clover.xml"/> | ||
<html outputDirectory="./build/phpunit/coverage" lowUpperBound="35" highLowerBound="70"/> | ||
<text outputFile="php://stdout" showUncoveredFiles="false" showOnlySummary="true"/> | ||
</report> | ||
</coverage> | ||
<testsuites> | ||
<testsuite name="Library Test Suite"> | ||
<directory>./tests/</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<php> | ||
<!-- <env name="VARIABLE" value="value"/> --> | ||
</php> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">src/</directory> | ||
<exclude> | ||
<!--<file>src/file.php</file>--> | ||
<directory suffix=".php">src/config</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
|
||
<logging> | ||
<log type="coverage-html" | ||
target="./build/phpunit/coverage" | ||
lowUpperBound="35" | ||
highLowerBound="70"/> | ||
<log type="coverage-text" | ||
target="php://stdout" | ||
showOnlySummary="true" | ||
showUncoveredFiles="false"/> | ||
<log type="coverage-clover" target="build/phpunit/logs/clover.xml"/> | ||
<log type="junit" target="./build/phpunit/logs/junit.xml"/> | ||
<junit outputFile="./build/phpunit/logs/junit.xml"/> | ||
</logging> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters