Skip to content

Commit e6e272c

Browse files
docs: update README and add phpunit.xml.dist
1 parent 341f62e commit e6e272c

File tree

2 files changed

+38
-13
lines changed

2 files changed

+38
-13
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,29 @@ php ./vendor/bin/vapor-ignore init
2626

2727
### vapor-ignore.yml
2828

29-
#### `ignore` directive
29+
#### `ignore` directive
30+
3031
Ignore the specified file or directory.
3132

3233
#### `vendor` directive
34+
3335
Ignore the specified file or directory from the `vendor` directory.
3436

35-
- readme - Ignore the `readme.md` file from the `vendor` directory.
36-
- changelog - Ignore the `changelog.md` file from the `vendor` directory.
37-
- contributing - Ignore the `contributing.md` file from the `vendor` directory.
38-
- upgrade - Ignore the `upgrade.md` file from the `vendor` directory.
39-
- tests - Ignore the `tests` directory from the `vendor` directory.
40-
- security - Ignore the `security.md` file from the `vendor` directory.
41-
- license - Ignore the `license.md` file from the `vendor` directory.
42-
- laravel-idea - Ignore the `laravel-idea` directory from the `vendor` directory.
43-
- .github - Ignore the `.github` directory from the `vendor` directory.
44-
- dotfiles - Ignore the dotfiles(`.editorconfig`, `.gitignore`, `.gitattributes` and `.php_cs.dist.php`) from the `vendor` directory.
37+
- readme - Ignore the `readme.md` file from the `vendor` directory.
38+
- changelog - Ignore the `changelog.md` file from the `vendor` directory.
39+
- contributing - Ignore the `contributing.md` file from the `vendor` directory.
40+
- upgrade - Ignore the `upgrade.md` file from the `vendor` directory.
41+
- tests - Ignore the `tests` directory from the `vendor` directory.
42+
- security - Ignore the `security.md` file from the `vendor` directory.
43+
- license - Ignore the `license.md` file from the `vendor` directory.
44+
- laravel-idea - Ignore the `laravel-idea` directory from the `vendor` directory.
45+
- .github - Ignore the `.github` directory from the `vendor` directory.
46+
- dotfiles - Ignore the dotfiles(`.editorconfig`, `.gitignore`, `.gitattributes` and `.php_cs.dist.php`) from the `vendor` directory.
47+
48+
## Testing
49+
```bash
50+
composer test
51+
```
4552

4653
## Changelog
4754

@@ -57,8 +64,8 @@ Please review [our security policy](../../security/policy) on how to report secu
5764

5865
## Credits
5966

60-
- [Tint Naing Win](https://github.com/tintnaingwinn)
61-
- [All Contributors](../../contributors)
67+
- [Tint Naing Win](https://github.com/tintnaingwinn)
68+
- [All Contributors](../../contributors)
6269

6370
## License
6471

phpunit.xml.dist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
>
7+
<testsuites>
8+
<testsuite name="Test Suite">
9+
<directory suffix="Test.php">./tests</directory>
10+
</testsuite>
11+
</testsuites>
12+
<source>
13+
<include>
14+
<directory suffix=".php">./app</directory>
15+
<directory suffix=".php">./src</directory>
16+
</include>
17+
</source>
18+
</phpunit>

0 commit comments

Comments
 (0)