| | |
| | | }, |
| | | "config": { |
| | | "platform": { |
| | | "php": "7.3.26" |
| | | "php": "8.1" |
| | | } |
| | | }, |
| | | "require": { |
| | | "php": ">=7.3", |
| | | "ubnt/ucrm-plugin-sdk": "^0.8.1", |
| | | "php": ">=8.1", |
| | | "ubnt/ucrm-plugin-sdk": "^0.9.0", |
| | | "umulmrum/holiday": "^0.6.0" |
| | | } |
| | | } |
| | |
| | | "url": "https://github.com/jacekkow/ucrm-holidays", |
| | | "version": "0.1", |
| | | "ucrmVersionCompliancy": { |
| | | "min": "3.0.0-beta2", |
| | | "min": "4.0.0", |
| | | "max": null |
| | | }, |
| | | "unmsVersionCompliancy": { |
| | |
| | | throw new \RuntimeException('Failed to process event - event not found'); |
| | | } |
| | | |
| | | if (!is_int($event['entityId'])) { |
| | | if (!ctype_digit($event['entityId'])) { |
| | | throw new \RuntimeException('Failed to process event - invalid entity ID'); |
| | | } |
| | | |