| Línea 23... |
Línea 23... |
| 23 |
This can be achieved by:
|
23 |
This can be achieved by:
|
| 24 |
a) Download the patch from
|
24 |
a) Download the patch from
|
| 25 |
https://github.com/bobthecow/mustache.php/pull/402/commits/db771014c7e346438f68077813ebdda3fdae12df.patch
|
25 |
https://github.com/bobthecow/mustache.php/pull/402/commits/db771014c7e346438f68077813ebdda3fdae12df.patch
|
| 26 |
b) In terminal, navigate to lib/mustache/src/Mustache
|
26 |
b) In terminal, navigate to lib/mustache/src/Mustache
|
| 27 |
c) Run the following: patch --directory . < ~/path/to/patch.patch
|
27 |
c) Run the following: patch --directory . < ~/path/to/patch.patch
|
| 28 |
d) We do not need the unit test, so run rm DisableLambdaRenderingTest.php
|
- |
|
| 29 |
|
28 |
d) We do not need the unit test, so run rm DisableLambdaRenderingTest.php
|
| - |
|
29 |
2) Apply local changes to ensure that all nullable method parameters are correctly type-hinted.
|
| - |
|
30 |
These can be detected using:
|
| - |
|
31 |
phpcs --sniffs=PHPCompatibility.FunctionDeclarations.RemovedImplicitlyNullableParam lib/mustache
|
| - |
|
32 |
|