Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests: set default certificate path as a constant #535

Merged
merged 1 commit into from Sep 17, 2021

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Sep 17, 2021

Pull Request Type

  • I have checked there is no other PR open for the same change.

This is a:

  • Bug fix
  • New feature
  • Code quality improvement

Context

Removing "magic numbers".

Part of a PR series to address #513

Detailed Description

This value does not change during the request, so should be a constant and as the minimum PHP version is now PHP 5.6, we can use constant scalar expressions in constants, so don't have to worry about the concatenation.

Includes moving this static file to a separate directory, so the src directory only contains code, not assets, like the certificates file and updating references to the file location elsewhere in the code.

This value does not change during the request, so should be a constant and as the minimum PHP version is now PHP 5.6, we can use constant scalar expressions in constants, so don't have to worry about the concatenation.

Includes moving this static file to a separate directory, so the `src` directory only contains code, not assets, like the certificates file and updating references to the file location elsewhere in the code.
@schlessera schlessera merged commit b44f52c into develop Sep 17, 2021
24 of 25 checks passed
@schlessera schlessera deleted the feature/513-1-certificates-path branch Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants