PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
Squiz
/
Tests
/
Objects
this.request({ action: 'getTypeFormatContents' }); addTypeFormatButton.addClickEvent(function() { self.addNewTypeFormat(); }); var x = {}; var y = { VarOne : 'If you ask me, thats if you ask', VarTwo : ['Alonzo played you', 'for a fool', 'esse'], VarThree: function(arg) { console.info(1); } }; var z = { VarOne : 'If you ask me, thats if you ask', VarTwo : ['Alonzo played you', 'for a fool', 'esse'], VarThree: function(arg) { console.info(1); } }; var x = function() { console.info(2); }; AssetListingEditWidgetType.prototype = { init: function(data, assetid, editables) { } }; AssetListingEditWidgetType.prototype = { init: function(data, assetid, editables) { } }; AssetListingEditWidgetType.prototype = { // phpcs: disable Standard.Cat.SniffName -- testing annotation between closing brace and comma init: function(data, assetid, editables) { } // phpcs:enable };
[-] ObjectMemberCommaUnitTest.js
[edit]
[-] ObjectInstantiationUnitTest.php
[edit]
[+]
..
[-] DisallowObjectStringIndexUnitTest.php
[edit]
[-] ObjectInstantiationUnitTest.inc
[edit]
[-] ObjectMemberCommaUnitTest.js.fixed
[edit]
[-] DisallowObjectStringIndexUnitTest.js
[edit]
[-] ObjectMemberCommaUnitTest.php
[edit]