atmonshi/sender

View on GitHub
src/mobilyWs/functionUnicode.php

Summary

Maintainability
D
1 day
Test Coverage

Method convertToUnicode has 308 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function convertToUnicode($message)
{
    $chrArray[0] = "،";
    $unicodeArray[0] = "060C";
    $chrArray[1] = "؛";
Severity: Major
Found in src/mobilyWs/functionUnicode.php - About 1 day to fix

    File functionUnicode.php has 313 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    //دالة تحويل الرساله إلى ترميز UNICODE الخاص بالإرسال من خلال بوابة موبايلي
    function convertToUnicode($message)
    {
        $chrArray[0] = "،";
    Severity: Minor
    Found in src/mobilyWs/functionUnicode.php - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status