Skip to content

Issue #7: Implemented unit tests, cs-check, static analysis.#8

Merged
alexmerlin merged 11 commits intodotkernel:3.0from
PopNatanael:3.0
Jul 28, 2023
Merged

Issue #7: Implemented unit tests, cs-check, static analysis.#8
alexmerlin merged 11 commits intodotkernel:3.0from
PopNatanael:3.0

Conversation

@PopNatanael
Copy link
Copy Markdown
Member

No description provided.

@arhimede arhimede requested a review from alexmerlin July 18, 2023 09:23
Copy link
Copy Markdown
Member

@alexmerlin alexmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the following:

  1. add empty line to the end of CHANGELOG.md and config/response-header.global.php.dist as reported here
  2. in preparation for a 3.2.0 release, please replace on the line with PHP from Packagist the string 3.1.0 with 3.2.0
  3. for consistency across our packages, let's rename the tests directory to test
  4. add test for src/ConfigProvider

Comment thread README.md Outdated
Comment thread README.md
Comment thread composer.json Outdated
Comment thread phpcs.xml Outdated
Comment thread phpunit.xml Outdated
Comment thread tests/ResponseHeaderMiddlewareFactoryTest.php Outdated
Comment thread tests/ResponseHeaderMiddlewareFactoryTest.php Outdated
Comment thread tests/ResponseHeaderMiddlewareTest.php Outdated
Comment thread tests/ResponseHeaderMiddlewareTest.php Outdated
Comment thread tests/ResponseHeaderMiddlewareTest.php Outdated
This was linked to issues Jul 18, 2023
@alexmerlin alexmerlin added the enhancement New feature or request label Jul 18, 2023
Comment thread test/ResponseHeaderMiddlewareFactoryTest.php
Comment thread test/ResponseHeaderMiddlewareTest.php Outdated
Comment thread test/ResponseHeaderMiddlewareTest.php Outdated
Comment thread test/ResponseHeaderMiddlewareFactoryTest.php Outdated
Copy link
Copy Markdown
Member

@alexmerlin alexmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that you are verifying that the headers are being added correctly, let's also check if their value is the same as the one in the configuration.

@alexmerlin alexmerlin merged commit b997a9c into dotkernel:3.0 Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

green badge Code quality

2 participants