Commit graph

11 commits

Author SHA1 Message Date
ac31dd09d0
Fix wrong verification link for skillsets
For whatever reason, URL structure is different for skillsets compared
to skills.
2020-10-19 11:48:02 +02:00
Markus Klein
ca56b9224c [FEATURE] Integration campaign support
Resolves: #3
2020-10-08 16:47:44 +02:00
94c2038658
Handle 404 and "Oops" API responses
The API is created by a TYPO3.
It provides proper 404 for unavailable Skill IDs.
An "Oops" is returned for unavailable SkillSet IDs.
2020-10-05 09:23:51 +02:00
8179104233
Add missing declare_strict 2020-10-05 08:51:59 +02:00
444fc7021e
Provide verification link and button for SkillSet 2020-10-05 08:49:34 +02:00
bafbc76cfa
Add missing test case 2020-10-05 08:49:33 +02:00
c234d3e757
Add first API implementation
Allow to retrieve skill and skill set by ID.
Returns PHP classes with proper getter for most important info.
All info are available via PHP array from those classes.
2020-10-05 08:49:33 +02:00
691adc00a6
Follow and validate against PSR-12
This prevents unnecessary merge conflicts in future.
Also code follows a simple formatting rule set and is easier to read.
2020-10-05 08:49:33 +02:00
bf1e666091
Make skill ID optional when creating link instance
Link looks more like a service.
When dealing with dependency injection it would make sense to create a
single instance with settings.

Following calls can then ask to create a button or link with all
necessary information.
2020-10-05 08:42:23 +02:00
Markus Klein
1f42619fef [TASK] Update codestyle and add .editorconfig 2020-09-24 16:54:45 +02:00
619436a2fd
Add tests and execute via GitHub Actions 2020-09-10 11:22:16 +02:00