Refactoring 2022 03 31
Reasons for creating this PR
Property values in the Skosmos or vocabulary configuration, got by a key should not be called directly, therefore the properties need separate interfaces (methods). This makes it easier to debug the code and the structure of the code will be easier to read, understand and maintain.
Link to relevant issue(s), if any
- Closes #
Description of the changes in this PR
Refactored those parts of the code in the VocabularyConfig.php where properties were called without dedicated methods. Added methods for the properties without an API.
Tests are needed but they will be made after the first review, after the implementation and the quality of the code have been checked.
Tests are needed but they will be made after the first review, after the idea and the quality of the code is checked.
Known problems or uncertainties in this PR
Checklist
- [ ] phpUnit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my feature works (if not, explain why below)
- [ ] The PR doesn't introduce unintended code changes (e.g. empty lines or useless reindentation)
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication