Skip to content

Commit e273e81

Browse files
authored
Reword pitfall
1 parent db73a82 commit e273e81

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,19 +167,21 @@ Compile it (Oops... one Unknown File Object has not been included)
167167
phpcc -e bin/acme.php -f bin/acme.php -d src/ -o bin/acme
168168
```
169169

170-
Guess what ?
170+
Launching the `bin/acme` compiled archive should raise an error because of the missing file.
171171

172-
If the `bin/acme` compiled archive stays in its place, it won't fail, because `lib/Ufo.php` can still be found from its point of view.
172+
Well...not. What happens here then ?
173+
174+
If the `bin/acme` compiled archive stays in its place,the `lib/Ufo.php` can still be found from its point of view.
173175

174176
### Size too big
175177

176178
Many projects include some dev libraries, for unit test, local data seeding or code inspection.
177179

178180
Fact is, some of those libs have **A LOT** of dependencies... Hence the `vendor` directory, which is usually included in the archive is really **HUGE**.
179181

180-
Q: How do we remediate then ?
182+
Q: How to remediate then ?
181183

182-
A: Before compiling, we ensure the `vendor` directory does not contains any dev library:
184+
A: Before compiling, ensure the `vendor` directory does not contains any dev library:
183185

184186
```
185187
composer install --no-dev

0 commit comments

Comments
 (0)