Skip to content

Commit d82e17b

Browse files
author
Vincent Faliès
committed
Update README.md
1 parent 550a795 commit d82e17b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# PHP7Compatibility
22

3+
[![Build Status](https://travis-ci.org/vfalies/php7compatibility.svg?branch=master)](https://travis-ci.org/vfalies/php7compatibility)
4+
35
This container propose to check the compatibility of your code with PHP 7.x
46

57
## Usage
@@ -8,7 +10,7 @@ This container propose to check the compatibility of your code with PHP 7.x
810
docker run --rm -v $(pwd):/app vfac/php7compatibility <version> <option> <path>
911
```
1012

11-
- <version>
13+
### \<version>
1214

1315
PHP Version used to check code compatibility: 7.0, 7.1, 7.2
1416

@@ -18,7 +20,7 @@ For instance to check code of the current directory in PHP version 7.1 :
1820
docker run --rm -v $(pwd):/app vfac/php7compatibility 7.1 .
1921
```
2022

21-
- <option>
23+
### \<option>
2224

2325
With large source code, you could have an error message like:
2426

@@ -38,4 +40,12 @@ With a setting to 1Giga of memory:
3840

3941
```
4042
docker run --rm -v $(pwd):/app php7compatibility 7.2 -d memory_limit=1G .
41-
```
43+
```
44+
45+
### \<path>
46+
47+
Path to inspect into current directory. To inspect all files in current directory use `.`
48+
49+
```
50+
docker run --rm -v $(pwd):/app vfac/php7compatibility 7.1 .
51+
```

0 commit comments

Comments
 (0)