Skip to content

Commit 107a158

Browse files
committed
revert phpunit.xml to .dist for workflow
1 parent f298b19 commit 107a158

File tree

3 files changed

+52
-16
lines changed

3 files changed

+52
-16
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Changelog
22

33
All notable changes to `laravel-client` will be documented in this file.
4+
5+
23-02-2024
6+
7+
First commit, for alpha release

Diff for: README.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,7 @@ You can install the package via composer:
2323
composer require eloquentize/laravel-client
2424
```
2525

26-
You can publish and run the migrations with:
2726

28-
```bash
29-
php artisan vendor:publish --tag="laravel-client-migrations"
30-
php artisan migrate
31-
```
3227

3328
You can publish the config file with:
3429

@@ -43,23 +38,14 @@ return [
4338
];
4439
```
4540

46-
Optionally, you can publish the views using
47-
48-
```bash
49-
php artisan vendor:publish --tag="laravel-client-views"
50-
```
5141

5242
## Usage
5343

54-
```php
55-
$laravelClient = new Eloquentize\LaravelClient();
56-
echo $laravelClient->echoPhrase('Hello, Eloquentize!');
57-
```
5844

5945
## Testing
6046

6147
```bash
62-
composer test
48+
pest
6349
```
6450

6551
## Changelog
@@ -68,7 +54,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed re
6854

6955
## Contributing
7056

71-
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
57+
<!-- Please see [CONTRIBUTING](CONTRIBUTING.md) for details. -->
7258

7359
## Security Vulnerabilities
7460

Diff for: phpunit.xml.dist

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/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"
17+
>
18+
<php>
19+
<env name="ELOQUENTIZE_API_TOKEN" value="go to eloquentize.com"/>
20+
<env name="APP_URL" value="http://localtest"/>
21+
<env name="APP_ENV" value="testing"/>
22+
</php>
23+
<logging>
24+
<!-- <testdoxText outputFile="phpunit.txt"/> -->
25+
</logging>
26+
<testsuites>
27+
<testsuite name="Eloquentize Test Suite">
28+
<directory>tests</directory>
29+
</testsuite>
30+
</testsuites>
31+
<coverage>
32+
<report>
33+
<html outputDirectory="build/coverage"/>
34+
<text outputFile="build/coverage.txt"/>
35+
<clover outputFile="build/logs/clover.xml"/>
36+
</report>
37+
</coverage>
38+
<!-- <logging>
39+
<junit outputFile="build/report.junit.xml"/>
40+
</logging> -->
41+
<source>
42+
<include>
43+
<directory suffix=".php">./src</directory>
44+
</include>
45+
</source>
46+
</phpunit>

0 commit comments

Comments
 (0)