Skip to content

Commit 5dd38b6

Browse files
committed
Fix PHPUnit
1 parent e2353a9 commit 5dd38b6

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

.github/workflows/php-cs-fixer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Run PHP CS Fixer
1616
uses: docker://oskarstark/php-cs-fixer-ga
1717
with:
18-
args: --config=.php_cs.dist.php --allow-risky=yes
18+
args: --config=.php-cs-fixer.php --allow-risky=yes
1919

2020
- name: Commit changes
2121
uses: stefanzweifel/git-auto-commit-action@v5
File renamed without changes.

phpunit.xml.dist

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
bootstrap="vendor/autoload.php"
8-
colors="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false"
14-
executionOrder="random"
15-
failOnWarning="true"
16-
failOnRisky="true"
17-
failOnEmptyTestSuite="true"
18-
beStrictAboutOutputDuringTests="true"
19-
verbose="true"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
5+
backupGlobals="false"
6+
bootstrap="vendor/autoload.php"
7+
colors="true"
8+
processIsolation="false"
9+
stopOnFailure="false"
10+
executionOrder="random"
11+
failOnWarning="true"
12+
failOnRisky="true"
13+
failOnEmptyTestSuite="true"
14+
beStrictAboutOutputDuringTests="true"
15+
cacheDirectory=".phpunit.cache"
16+
backupStaticProperties="false"
2017
>
2118
<testsuites>
22-
<testsuite name="VendorName Test Suite">
19+
<testsuite name="BlameButton Laravel Changelog Test Suite">
2320
<directory>tests</directory>
2421
</testsuite>
2522
</testsuites>
2623
<coverage>
27-
<include>
28-
<directory suffix=".php">./src</directory>
29-
</include>
3024
<report>
3125
<html outputDirectory="build/coverage"/>
3226
<text outputFile="build/coverage.txt"/>
@@ -36,4 +30,9 @@
3630
<logging>
3731
<junit outputFile="build/report.junit.xml"/>
3832
</logging>
33+
<source>
34+
<include>
35+
<directory>src</directory>
36+
</include>
37+
</source>
3938
</phpunit>

0 commit comments

Comments
 (0)