91
91
92
92
It would be very hard to properly scope the relevant classes.
93
93
94
+ To fix such cases, you will need to resort to [ patchers] .
95
+
94
96
95
97
### Callables
96
98
@@ -105,6 +107,8 @@ The classes used there will not be scoped. It should not be impossible to add
105
107
support for it, but it is currently not supported. See
106
108
[ #286 ] ( https://github.com/humbug/php-scoper/issues/286 ) .
107
109
110
+ To fix such cases, you will need to resort to [ patchers] .
111
+
108
112
109
113
### String values
110
114
@@ -127,6 +131,8 @@ prefixed. But there is bound to have confusing cases. For example:
127
131
is no way to know if it is a class name or a random string except for a
128
132
handful of methods such as ` class_alias ` , ` function_exists ` , etc.
129
133
134
+ To fix such cases, you will need to resort to [ patchers] .
135
+
130
136
131
137
### Native functions and constants shadowing
132
138
@@ -180,6 +186,8 @@ to Composer loading files based on a hash which is generated from package name
180
186
and relative file path. For a workaround see
181
187
[ #298 ] ( https://github.com/humbug/php-scoper/issues/298#issuecomment-525700081 ) .
182
188
189
+ To fix such cases, you will need to resort to [ patchers] .
190
+
183
191
184
192
### Composer Plugins
185
193
@@ -226,7 +234,7 @@ transforming it to PSR-4, i.e. in the case above:
226
234
}
227
235
```
228
236
229
- If this will work for the classes under ` src/JsonMapper/ ` , it will not for ` JsonMapper.php ` .
237
+ If this works for the classes under ` src/JsonMapper/ ` , it will not for ` JsonMapper.php ` .
230
238
231
239
232
240
### Files autoloading
@@ -265,3 +273,4 @@ is no way to alias one.
265
273
[ box ] : https://github.com/humbug/box
266
274
[ exposed-symbols ] : configuration.md#exposed-symbols
267
275
[ #298 ] : https://github.com/humbug/php-scoper/issues/298
276
+ [ patchers ] : configuration.md#patchers
0 commit comments