File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,8 @@ PHP Code Compiler version 1.3.0-dev
153153
154154### Local versus compiled files
155155
156+ #### Trap 1: file missing in compiled phar but present in local working dir
157+
156158Let's consider the following tree (all files required by the app)
157159
158160```
@@ -174,6 +176,16 @@ Well...not. What happens here then ?
174176
175177If the ` bin/acme ` compiled archive stays in its place,the ` lib/Ufo.php ` can still be found from its point of view.
176178
179+ #### Trap 2: different files with the same relative path
180+
181+ Eg:
182+
183+ ``` php
184+ require "vendor/autoload.php"
185+ ```
186+
187+ TODO: explain, give workaround
188+
177189### Size too big
178190
179191Many projects include some dev libraries, for unit test, local data seeding or code inspection.
You can’t perform that action at this time.
0 commit comments