Skip to content

Commit

Permalink
chore: track phpunit & phpstan confs
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitcukuren committed Aug 17, 2024
1 parent 5dd91f6 commit 7a07e47
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
# VSCode
.vscode/

# PHPStan
/phpstan.neon

# PHPUnit
/phpunit.xml
/phpunit.xml.dist

# Coverage reports
/coverage/
/.clover
Expand Down
5 changes: 5 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# phpstan.neon
parameters:
level: 5
paths:
- src
13 changes: 13 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.3/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Lynter Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>

0 comments on commit 7a07e47

Please sign in to comment.