PHP 8.2.31
Preview: FunctionCallSignatureUnitTest.js.fixed Size: 1.75 KB
//opt/cpanel/ea-wappspector/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.js.fixed

test(
);
test();
test(arg, arg2);
test();
test();
test();
test(arg);
test(arg);
test(arg);

if (foo(arg) === true) {

}

var something = get(arg1, arg2);
var something = get(arg1, arg2);
var something = get(arg1, arg2);

make_foo(string/*the string*/, true/*test*/);
make_foo(string/*the string*/, true/*test*/);
make_foo(string /*the string*/, true /*test*/);
make_foo(/*the string*/string, /*test*/true);
make_foo(/*the string*/string, /*test*/true);

// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesAfterOpen 1
// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesBeforeClose 1
test( arg, arg2 );
test( arg, arg2 );
test( arg, arg2 );
// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesAfterOpen 0
// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesBeforeClose 0

this.init = function(data) {
    a.b('').a(
        function(itemid, target) {
        b(
            itemid,
            target,
            {
                reviewData: _reviewData,
                pageid: itemid
            },
            '',
            function() {
                var _showAspectItems = function(itemid) {
                    a.a(a.c(''), '');
                    a.b(a.c('-' + itemid), '');
                };
                a.foo(
                    function(itemid, target) {
                    _foo(itemid);
                    }
                );
            }
        );
        }
    );
};

a.prototype = {

    a: function()
    {
        this.addItem(
            {
            /**
             * @return void
             */
            a: function()
            {

            },
            /**
            * @return void
             */
            a: function()
            {

            },
            }
        );
    }
};

Directory Contents

Dirs: 0 × Files: 17

Name Size Perms Modified Actions
10.13 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
10.09 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.69 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.75 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
3.80 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.00 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
8.04 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
193 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
294 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
293 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
294 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.04 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.05 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
3.85 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
2.29 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download
138 B lrw-r--r-- 2025-11-04 16:30:35
Edit Download
1.84 KB lrw-r--r-- 2025-11-04 16:30:35
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).