mirror of https://github.com/flightphp/core
- phpstan.dist.neon (shared options) -> phpstan.neon (local options) - phpunit.xml.dist (shared options) -> phpunit.xml (local options)pull/682/head
parent
690918a014
commit
9ef15cf5dc
@ -0,0 +1,14 @@
|
||||
includes:
|
||||
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
|
||||
- phpstan-baseline.neon
|
||||
|
||||
parameters:
|
||||
level: 6
|
||||
excludePaths:
|
||||
- vendor
|
||||
- flight/util/ReturnTypeWillChange.php
|
||||
- tests/named-arguments
|
||||
paths:
|
||||
- flight
|
||||
- index.php
|
||||
treatPhpDocTypesAsCertain: false
|
||||
@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
|
||||
bootstrap="tests/phpunit_autoload.php"
|
||||
executionOrder="random"
|
||||
beStrictAboutOutputDuringTests="true"
|
||||
beStrictAboutTodoAnnotatedTests="true"
|
||||
convertDeprecationsToExceptions="true"
|
||||
stopOnError="true"
|
||||
stopOnFailure="true"
|
||||
verbose="true"
|
||||
colors="true">
|
||||
<coverage processUncoveredFiles="false">
|
||||
<include>
|
||||
<directory suffix=".php">flight/</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<file>flight/autoload.php</file>
|
||||
</exclude>
|
||||
</coverage>
|
||||
<testsuites>
|
||||
<testsuite name="default">
|
||||
<directory>tests/</directory>
|
||||
<exclude>tests/named-arguments/</exclude>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<logging />
|
||||
<php>
|
||||
<ini name="error_reporting" value="-1"/>
|
||||
<env name="PHPUNIT_TEST" value="true" force="true" />
|
||||
</php>
|
||||
</phpunit>
|
||||
Loading…
Reference in new issue