Jacek Kowalski
2023-06-14 a23175ed163a17055aea964a9a44ac11de995b11
Fixes for UCRM 4.0
3 files modified
10 ■■■■ changed files
composer.json 6 ●●●● patch | view | raw | blame | history
manifest.json 2 ●●● patch | view | raw | blame | history
src/UcrmHelper.php 2 ●●● patch | view | raw | blame | history
composer.json
@@ -6,12 +6,12 @@
    },
    "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"
    }
}
manifest.json
@@ -7,7 +7,7 @@
        "url": "https://github.com/jacekkow/ucrm-holidays",
        "version": "0.1",
        "ucrmVersionCompliancy": {
            "min": "3.0.0-beta2",
            "min": "4.0.0",
            "max": null
        },
        "unmsVersionCompliancy": {
src/UcrmHelper.php
@@ -58,7 +58,7 @@
                    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');
                }