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 @@ -152,6 +152,8 @@ PHP Code Compiler version 1.3.0-dev
152152
153153### Local versus compiled files
154154
155+ #### Trap 1: file missing in compiled phar but present in local working dir
156+
155157Let's consider the following tree (all files required by the app)
156158
157159```
@@ -173,6 +175,16 @@ Well...not. What happens here then ?
173175
174176If the ` bin/acme ` compiled archive stays in its place,the ` lib/Ufo.php ` can still be found from its point of view.
175177
178+ #### Trap 2: different files with the same relative path
179+
180+ Eg:
181+
182+ ``` php
183+ require "vendor/autoload.php"
184+ ```
185+
186+ TODO: explain, give workaround
187+
176188### Size too big
177189
178190Many 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