mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 03:46:39 +00:00
69984ee652fde93d2374d94119396fdd8523ef24
This PR was merged into the 1.x branch.
Discussion
----------
Use mocks for profiles. Fixes #1660
| Q | A
| ------------- | ---
| Bug fix? | yes #1660
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
This PR aims to change the getProfile() method to returns mocks.
This fixes #1660
BTW Is there a specific reason why there are no mocks for the tests in the project ?
Commits
-------
f6bce94 Use stubs for profiles. Fixes #1660
Twig, the flexible, fast, and secure template language for PHP ============================================================== Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment. More Information ---------------- Read the `documentation`_ for more information. .. _documentation: http://twig.sensiolabs.org/documentation
Description
Languages
PHP
99.9%