-
Notifications
You must be signed in to change notification settings - Fork 71
Comparing changes
Open a pull request
base repository: 10up/wp_mock
base: 1.0.0
head repository: 10up/wp_mock
compare: 1.0.1
- 17 commits
- 14 files changed
- 6 contributors
Commits on Aug 16, 2023
-
Update
WP_Mock::expectHookNotAdded()with new params (#234)<!-- 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 --> Adds method params to `expectHookNotAdded` for priority and allowed arguments that are symmetrical to `expectHookAdded` - and carries them over the aliased functions for filter and action hooks. This way, we can set more specific expectations than assuming hooks will always have `10, 1` as priority/args allowed. The PR also improves the WP_Mock hook methods phpdocs and types to match current standards. ### Closes: #233 ## 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 ### 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
Configuration menu - View commit details
-
Copy full SHA for e9e421c - Browse repository at this point
Copy the full SHA e9e421cView commit details
Commits on Dec 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5de5ef2 - Browse repository at this point
Copy the full SHA 5de5ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61aa0d8 - Browse repository at this point
Copy the full SHA 61aa0d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 410aeea - Browse repository at this point
Copy the full SHA 410aeeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50eae93 - Browse repository at this point
Copy the full SHA 50eae93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aabee4 - Browse repository at this point
Copy the full SHA 6aabee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceca878 - Browse repository at this point
Copy the full SHA ceca878View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d1418 - Browse repository at this point
Copy the full SHA e5d1418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 283d4f4 - Browse repository at this point
Copy the full SHA 283d4f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b16f349 - Browse repository at this point
Copy the full SHA b16f349View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6f3269 - Browse repository at this point
Copy the full SHA f6f3269View commit details -
Configuration menu - View commit details
-
Copy full SHA for d814a6f - Browse repository at this point
Copy the full SHA d814a6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c52a4d3 - Browse repository at this point
Copy the full SHA c52a4d3View commit details
Commits on Jan 4, 2024
-
Update PHP Dependencies and run tests with PHP 8.3 (#237)
# Summary <!-- Required --> Updates PHP dev dependencies (patch versions) and PHP in composer to support PHP < 9. This PR will also add a CI workflow to run tests in PHP 8.3. ### Closes: #236 ## 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 --> - [ ] Unit tests pass with PHP 8.3 and previous PHP versions <!-- 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 --> - [ ] Code changes review - [ ] Documentation changes review - [ ] Unit tests pass - [ ] Static analysis passes ## After merge - [ ] Tag v1.0.1
Configuration menu - View commit details
-
Copy full SHA for 4249c87 - Browse repository at this point
Copy the full SHA 4249c87View commit details
Commits on Jan 12, 2024
-
Update docs to explain how WP_Mock TestCase is preferable to extend t…
…han PhpUnit's (#239) <!-- 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 --> Updates docs to make it clear that implementations should use WP_Mock own `TestCase`, ideally, or at least provide teardown overrides. ### Closes: #238 ## 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 ### Reviewer checklist <!-- Required --> <!-- The following checklist is for the reviewer: add any steps that may be relevant while reviewing this pull request --> - [ ] Code changes review - [ ] Documentation changes review - [ ] Doc examples should always reference WP_Mock own `TestCase` - [ ] Unit tests pass - [ ] Static analysis passes --------- Co-authored-by: Ryan Neudorf <[email protected]> Co-authored-by: Ryan Neudorf <[email protected]> Co-authored-by: Drew Jaynes <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1bcc9a4 - Browse repository at this point
Copy the full SHA 1bcc9a4View commit details
Commits on Jan 15, 2024
-
ci: Use GITHUB_OUTPUT envvar instead of set-output command (#240)
`save-state` and `set-output` commands used in GitHub Actions are deprecated and [GitHub recommends using environment files](https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/). This PR updates the usage of `set-output` to `$GITHUB_OUTPUT` Instructions for envvar usage from GitHub docs: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
Configuration menu - View commit details
-
Copy full SHA for dbd6762 - Browse repository at this point
Copy the full SHA dbd6762View commit details
Commits on Jan 22, 2024
-
Remove version from composer and update changelog.md (#242)
# Summary <!-- Required --> Removes package version from composer.json. This should make packagist point to the git tags. Also updated the changelog.md to include changes from 1.0.1. ### Closes: #241 ## 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 --> - [x] All tests pass in CI ### 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 - [x] Documentation changes review - [x] Unit tests pass - [x] Static analysis passes
Configuration menu - View commit details
-
Copy full SHA for 48b7f22 - Browse repository at this point
Copy the full SHA 48b7f22View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 1.0.0...1.0.1