Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add invokeInaccessibleMethod and getInaccessiblePropertyValue trait m…
…ethods (#220) <!-- Filling out the required portions of this template is mandatory. Any PR that does not include enough information to be reviewed may be closed at a maintainers' discretion. All new code requires associated documentation and unit tests. --> # Summary <!-- Required --> Improves the `AccessInaccessibleClassMembersTrait` used in `WP_Mock` own `TestCase` to invoke an inaccessible class method or get an inaccessible property value. ## Contributor checklist <!-- Required --> <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you are unsure about any of these, please ask for clarification. We are here to help! --> - [x] I agree to follow this project's [**Code of Conduct**](https://github.com/10up/.github/blob/trunk/CODE_OF_CONDUCT.md). - [x] I have updated the documentation accordingly - [x] I have added tests to cover changes introduced by this pull request - [x] All new and existing tests pass ## Testing <!-- Required --> <!-- If applicable, add specific steps for the reviewer to perform as part of their testing process prior to approving this pull request. --> <!-- List any configuration requirements for testing. --> ### Reviewer checklist <!-- Required --> <!-- The following checklist is for the reviewer: add any steps that may be relevant while reviewing this pull request --> - [x] Code changes review - [ ] Documentation changes review - [x] Unit tests pass - [x] Static analysis passes --------- Co-authored-by: Ashley Gibson <[email protected]>
- Loading branch information