Jacek Kowalski
2023-06-14 14d3eeddc827c7d822ecbc7b371b13cb3e9ac108
Fixes for UCRM 4.0
3 files modified
11 ■■■■ changed files
composer.json 7 ●●●●● 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,13 @@
    },
    "config": {
        "platform": {
            "php": "7.3.26"
            "php": "8.1"
        }
    },
    "require": {
        "php": ">=7.1",
        "ubnt/ucrm-plugin-sdk": "^0.8.1",
        "php": ">=8.1",
        "ext-json": "*",
        "ubnt/ucrm-plugin-sdk": "^0.9.0",
        "webit/w-firma-api": "^2.3"
    }
}
manifest.json
@@ -7,7 +7,7 @@
        "url": "https://github.com/jacekkow/ucrm-wfirma",
        "version": "1.1",
        "ucrmVersionCompliancy": {
            "min": "3.4.3",
            "min": "4.0.0",
            "max": null
        },
        "unmsVersionCompliancy": {
src/UcrmHelper.php
@@ -79,7 +79,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');
                }