Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 3e2a491

Browse files
update phpunit dependencies
1 parent 4afaf6f commit 3e2a491

File tree

4 files changed

+18
-74530
lines changed

4 files changed

+18
-74530
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Simple PHP Library for DeepL API.
44

55
## Installation
66

7+
Use composer if you want to use this library in your project.
8+
79
```bash
810
composer require babymarkt/deepl
911
```
@@ -21,14 +23,26 @@ print_r($result);
2123

2224
## Tests
2325

24-
First, create phpunit.xml from dist file.
26+
Clone the repository.
27+
28+
```bash
29+
git clone git@github.com:Baby-Markt/deepl-php-lib.git
30+
```
31+
32+
Create phpunit.xml from dist file.
2533

2634
```bash
2735
cp phpunit.xml.dist phpunit.xml
2836
```
2937

30-
Now, run PHPUnit Tests.
38+
Install composer dependencies.
3139

40+
```bash
41+
composer install
3242
```
33-
php phpunit-4.8.phar
43+
44+
Now, run PHPUnit Tests.
45+
46+
```bash
47+
vendor/bin/phpunit
3448
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"require-dev": {
1616
"php": ">=5.3",
17-
"phpunit/phpunit": "4.8"
17+
"phpunit/phpunit": "^4.8"
1818
},
1919
"autoload": {
2020
"psr-4": {

0 commit comments

Comments
 (0)