Skip to content

Commit c89e4df

Browse files
author
palPalani
committed
Allow only php 8
1 parent 04e3ef9 commit c89e4df

File tree

5 files changed

+22
-12
lines changed

5 files changed

+22
-12
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
/.php_cs.dist export-ignore
1212
/psalm.xml export-ignore
1313
/psalm.xml.dist export-ignore
14+
/testbench.yaml export-ignore

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Tests
1+
name: run-tests
22

33
on: [push, pull_request]
44

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ coverage
88
docs
99
phpunit.xml
1010
psalm.xml
11+
testbench.yaml
1112
vendor

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"scripts": {
4242
"psalm": "vendor/bin/psalm",
43-
"test": "vendor/bin/phpunit --colors=always",
43+
"test": "./vendor/bin/testbench package:test --parallel --no-coverage",
4444
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
4545
},
4646
"config": {

phpunit.xml.dist

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
verbose="true"
2+
<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"
1220
>
1321
<testsuites>
1422
<testsuite name="palPalani Test Suite">

0 commit comments

Comments
 (0)