Skip to content

Commit

Permalink
Remove version from composer and update changelog.md (#242)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
unfulvio-godaddy authored Jan 22, 2024
1 parent dbd6762 commit 48b7f22
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1](https://github.com/10up/wp_mock/compare/1.0.0...1.0.1) - 2024-01-04
### Changed
- Updated `WP_Mock::expectHookNotAdded()` with new params
- Updated PHP dependencies to ensure compatibility with PHP 8.3

## [1.0.0](https://github.com/10up/wp_mock/compare/0.5.0...1.0.0) - 2023-07-24
### Added
- Added and documented return types in codebase
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
WP_Mock - WordPress API Mocking Framework

Copyright 2013-2023 by the contributors
Copyright 2013-2024 by the contributors

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "10up/wp_mock",
"description": "A mocking library to take the pain out of unit testing for WordPress",
"license": "BSD-3-Clause",
"version": "1.0.0",
"prefer-stable": true,
"require": {
"php": ">=7.4 < 9",
Expand Down
2 changes: 1 addition & 1 deletion php/WP_Mock.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

/**
* @package WP_Mock
* @copyright 2013-2023 by the contributors
* @copyright 2013-2024 by the contributors
* @license BSD-3-Clause
* @see ../LICENSE.md
*/
Expand Down

0 comments on commit 48b7f22

Please sign in to comment.