Showing 428 of 1,426 total issues
Method __construct
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Year $year,
StatisticsService $statisticsService,
SerializerInterface $serializer,
ResponseFactory $responseFactory,
TeamRepository $teamRepository,
Function parseHTML
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.parseHTML = function( data, context, keepScripts ) {
if ( typeof data !== "string" ) {
return [];
}
if ( typeof context === "boolean" ) {
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each( function() {
Function getWidthOrHeight
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getWidthOrHeight( elem, dimension, extra ) {
// Start with computed style
var styles = getStyles( elem ),
val = curCSS( elem, dimension, styles ),
Function _fnGetCellData
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnGetCellData( settings, rowIdx, colIdx, type )
{
var draw = settings.iDraw;
var col = settings.aoColumns[colIdx];
var rowData = settings.aoData[rowIdx]._aData;
Function off
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
off: function( types, selector, fn ) {
var handleObj, type;
if ( types && types.preventDefault && types.handleObj ) {
// ( event ) dispatched jQuery.Event
Function _setListeners
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_proto._setListeners = function _setListeners() {
var _this3 = this;
var triggers = this.config.trigger.split(' ');
triggers.forEach(function (trigger) {
Function __details_add
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var __details_add = function ( ctx, row, data, klass )
{
// Convert to array of TR elements
var rows = [];
var addRow = function ( r, k ) {
Function getRowByUniqueId
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.getRowByUniqueId = function (id) {
var uniqueId = this.options.uniqueId,
len = this.options.data.length,
dataRow = null,
i, row, rowUniqueId;
Function _getPopperConfig
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_proto._getPopperConfig = function _getPopperConfig() {
var _this2 = this;
var offsetConf = {};
Function __setColumnVis
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var __setColumnVis = function ( settings, column, vis ) {
var
cols = settings.aoColumns,
col = cols[ column ],
data = settings.aoData,
Method normalize
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function normalize($question, $format = null, array $context = []): array
{
$category = $this->categoryNormalizer->normalize(
$question->getCategory(),
$format
Method handle
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function handle(DomainMessage $domainMessage)
{
$payload = $domainMessage->getPayload();
if (!($payload instanceof AnsweredCorrect || $payload instanceof AnsweredInCorrect)) {
return;
Function when
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
Function clone
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
var i, l, srcElements, destElements,
clone = elem.cloneNode( true ),
inPage = jQuery.contains( elem.ownerDocument, elem );
Function position
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
position: function() {
if ( !this[ 0 ] ) {
return;
}
Function propFilter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function propFilter( props, specialEasing ) {
var index, name, easing, value, hooks;
// camelCase, specialEasing and expand cssHook pass
for ( index in props ) {
Function addClass
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( isFunction( value ) ) {
Function _numbers
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _numbers ( page, pages ) {
var
numbers = [],
buttons = extPagination.numbers_length,
half = Math.floor( buttons / 2 ),
Function _fnAjaxUpdateDraw
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnAjaxUpdateDraw ( settings, json )
{
// v1.10 uses camelCase variables, while 1.9 uses Hungarian notation.
// Support both
var compat = function ( old, modern ) {