Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
Easy Http SDK
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Back End
Easy Http SDK
Commits
2844c7c9
Commit
2844c7c9
authored
Feb 17, 2023
by
谢宇轩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: 添加phpunit配置
parent
55038e5a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
phpstan.neon.dist
phpstan.neon.dist
+10
-0
phpunit.xml.dist
phpunit.xml.dist
+18
-0
No files found.
phpstan.neon.dist
0 → 100644
View file @
2844c7c9
parameters:
level: 6 # you can currently choose from 9 levels (0 is the loosest and 8 is the strictest).
# Often I use the level 5 because the level 6 checks that every method returns type.
# As Symfony code generator commands does not fill those return types, it's quite inconvenient to set a level greater than 5.
# Feel free to use the one you prefer. You could even set it to 0 to start slowly
paths:
- src
# if you have tests and want to analyze this folder, uncomment the line below
- tests
phpVersion: 70200
phpunit.xml.dist
0 → 100644
View file @
2844c7c9
<?xml version="1.0"?>
<phpunit
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation=
"https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap=
"vendor/autoload.php"
backupGlobals=
"false"
backupStaticAttributes=
"false"
convertErrorsToExceptions=
"true"
convertNoticesToExceptions=
"true"
convertWarningsToExceptions=
"true"
processIsolation=
"false"
stopOnFailure=
"false"
verbose=
"true"
>
<testsuites>
<testsuite
name=
"unit"
>
<directory
suffix=
"Test.php"
>
tests/unit/
</directory>
</testsuite>
</testsuites>
</phpunit>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment