-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c25e6c
commit 272db88
Showing
2 changed files
with
1,131 additions
and
51 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,55 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
includes: | ||
- vendor/phpstan/phpstan-doctrine/extension.neon | ||
- vendor/phpstan/phpstan-webmozart-assert/extension.neon | ||
|
||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/8.0/phpunit.xsd" | ||
colors="true" | ||
bootstrap="tests/Application/config/bootstrap.php"> | ||
<testsuites> | ||
<testsuite name="MonsieurBizSyliusSalesReportsPlugin Test Suite"> | ||
<directory>tests/Unit</directory> | ||
</testsuite> | ||
</testsuites> | ||
parameters: | ||
level: max | ||
paths: | ||
- %rootDir%/src/ | ||
|
||
<php> | ||
<server name="KERNEL_CLASS_PATH" value="/tests/Application/src/Kernel.php" /> | ||
<server name="IS_DOCTRINE_ORM_SUPPORTED" value="true" /> | ||
checkMissingIterableValueType: false | ||
|
||
<env name="APP_ENV" value="test"/> | ||
<env name="SHELL_VERBOSITY" value="-1" /> | ||
excludes_analyse: | ||
# Makes PHPStan crash | ||
- 'src/DependencyInjection/Configuration.php' | ||
- 'src/DependencyInjection/MonsieurBizSyliusSalesReportsExtension.php' | ||
|
||
<!-- <!– ###+ symfony/framework-bundle ### –>--> | ||
<!-- <env name="APP_ENV" value="dev"/>--> | ||
<!-- <env name="APP_SECRET" value="69d8e0f7d4a5fb559fe358f0ae529ad1"/>--> | ||
<!-- <!– env name="TRUSTED_PROXIES" value="127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" –>--> | ||
<!-- <!– env name="TRUSTED_HOSTS" value="'^(localhost|example\.com)$'" –>--> | ||
<!-- <!– ###- symfony/framework-bundle ### –>--> | ||
|
||
<!-- <!– ###+ symfony/swiftmailer-bundle ### –>--> | ||
<!-- <!– For Gmail as a transport, use: "gmail://username:password@localhost" –>--> | ||
<!-- <!– For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" –>--> | ||
<!-- <!– Delivery is disabled by default via "null://localhost" –>--> | ||
<!-- <env name="MAILER_URL" value="null://localhost"/>--> | ||
<!-- <!– ###- symfony/swiftmailer-bundle ### –>--> | ||
|
||
<!-- <!– ###+ symfony/messenger ### –>--> | ||
<!-- <!– Choose one of the transports below –>--> | ||
<!-- <!– MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages –>--> | ||
<!-- <!– MESSENGER_TRANSPORT_DSN=doctrine://default –>--> | ||
<!-- <!– MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages –>--> | ||
<!-- <!– ###- symfony/messenger ### –>--> | ||
|
||
<!-- <!– ###+ doctrine/doctrine-bundle ### –>--> | ||
<!-- <!– Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url –>--> | ||
<!-- <!– For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" –>--> | ||
<!-- <!– For a PostgreSQL database, use: "postgresql://db_user:[email protected]:5432/db_name?serverVersion=11&charset=utf8" –>--> | ||
<!-- <!– IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml –>--> | ||
<!-- <env name="DATABASE_URL" value="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7"/>--> | ||
<!-- <!– ###- doctrine/doctrine-bundle ### –>--> | ||
|
||
<!-- <!– ###+ lexik/jwt-authentication-bundle ### –>--> | ||
<!-- <env name="JWT_SECRET_KEY" value="%kernel.project_dir%/config/jwt/private.pem"/>--> | ||
<!-- <env name="JWT_PUBLIC_KEY" value="%kernel.project_dir%/config/jwt/public.pem"/>--> | ||
<!-- <env name="JWT_PASSPHRASE" value="8d17d1cb8344b23ee4645e6d6aec8d3b"/>--> | ||
<!-- <!– ###- lexik/jwt-authentication-bundle ### –>--> | ||
</php> | ||
</phpunit> | ||
# Test dependencies | ||
- 'tests/Application/**/*' |
Oops, something went wrong.