Issue #3380037: Add a helper for mocking PHP regular (global) functions like file_put_contents
Showing
- src/Stub/ConfigurableLanguageManagerStub.php 3 additions, 2 deletionssrc/Stub/ConfigurableLanguageManagerStub.php
- src/TestHelpers.php 110 additions, 0 deletionssrc/TestHelpers.php
- src/lib/MockedFunctionCalls.php 11 additions, 0 deletionssrc/lib/MockedFunctionCalls.php
- src/lib/MockedFunctionStorage.php 39 additions, 0 deletionssrc/lib/MockedFunctionStorage.php
- test_helpers.info.yml 1 addition, 1 deletiontest_helpers.info.yml
- tests/src/Unit/TestHelpersApi/MockPhpFunctionTest.php 143 additions, 0 deletionstests/src/Unit/TestHelpersApi/MockPhpFunctionTest.php
Loading
Please register or sign in to comment