Completed
Push — develop ( 7427e0...b82f08 )
by Tom
14s
created

DummyCommand::manageArguments()   C

Complexity

Conditions 7
Paths 8

Size

Total Lines 73
Code Lines 47

Duplication

Lines 13
Ratio 17.81 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 13
loc 73
rs 6.6896
cc 7
eloc 47
nc 8
nop 2

How to fix   Long Method   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace N98\Magento\Command\Eav\Attribute\Create;
4
5
use N98\Magento\Application;
6
use Symfony\Component\Console\Input\InputArgument;
7
use Symfony\Component\Console\Input\InputInterface;
8
use Symfony\Component\Console\Input\InputOption;
9
use Symfony\Component\Console\Input\ArrayInput;
10
use Symfony\Component\Console\Output\OutputInterface;
11
use Symfony\Component\Console\Question\ChoiceQuestion;
12
use Symfony\Component\Console\Question\Question;
13
14
class DummyCommand extends \N98\Magento\Command\AbstractMagentoCommand
15
{
16
    protected $sizes = array(
17
        'XXS', 'XS', 'S', 'M', 'L', 'XL', 'XXL', 'XXXL', '37', '38',
18
        '39', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '54', '55', '56',
19
        '57', '58', '59', '60',
20
    );
21
    protected $designer = array(
22
        '08Sircus', '11 By Boris Bidjan Saberi', '1-100', '3.1 Phillip Lim', '32 Paradis Sprung Frères', '321',
23
        '3X1', '5 Preview', '69', '7 For All Mankind', '8pm', 'S Max Mara', 'A Diciannoveventitre', 'A.F.Vandevorst',
24
        'A.L.C.', 'A.P.C.', 'Aalto', 'Ack', 'Adam Lippes', 'Adidas', 'Adidas By Raf Simons', 'Adidas By Stella Mccartney',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 122 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
25
        'Adidas Originals', 'Adieu Paris', 'Ag Jeans', 'Agnona', 'Ahlem', 'Akris', 'Alaïa Vintage', 'Alberta Ferretti', 'Alberta Ferretti Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 147 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
26
        'Alberto Biani', 'Alberto Fasciani', 'Alberto Fermani', 'Aleksandr Manamïs', 'Alessandra Marchi',
27
        'Alex Perry', 'Alexa Wagner', 'Alexander McQueen', 'Alexander Wang', 'Alexandre Birman', 'Alexandre Vauthier',
28
        'Alexis Bittar', 'Alexis Mabille', 'Alfred Leder', 'Algenist', 'Alice Archer', 'Alice Waese', 'Alice+Olivia',
29
        'Alinka', 'Alison Lou', 'Alix', 'Allison Bryan', 'Allude', 'Ally Capellino', 'Altruis By Vinaya', 'Altuzarra',
30
        'Alvaro Gonzalez', 'Alyx', 'Amapô', 'Ambush', 'Amedeo', 'Amélie Pichard', 'Amen', 'Ami Alexandre Mattiussi', 'Amo',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 123 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
31
        'A-Morir', 'Anapsara', 'Ancient Greek Sandals', 'Andrea Marques', 'Andrea Ya aqov', 'Andy Wolf Eyewear', 'Anine Bing',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 126 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
32
        'Anita Ko', 'Ann Demeulemeester', 'Ann Demeulemeester Blanche', 'Anna Baiguera', 'Anna Karin Karlsson', 'Anna Kosturova',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 129 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
33
        'Anndra Neen', 'Anne Semonin', 'Anne Sofie Madsen', 'Annelise Michelson', 'Anrealage', 'Anthony Vaccarello', 'Antonia Zander',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 134 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
34
        'Antonio Berardi', 'Antonio Marras', 'Anya Hindmarch', 'Aperlai', 'Apiece Apart', 'April Chrichton & Nicholas Party', 'Aquazzura',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 138 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
35
        'Area Di Barbara Bologna', 'Arielle De Pinto', 'Aristide Najean', 'Armani Collezioni', 'Armani Jeans', 'Army Yves Salomon',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 131 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
36
        'As29', 'Ash', 'Asherali Knopfer', 'Ashish', 'Ashley Pittman', 'Aspesi', 'Assin', 'Assouline', 'Astley Clarke', 'Astraet',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 130 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
37
        'Atelier Bâba', 'Atelier Buffile', 'Atelier Paulin', 'Athena', 'Atlantic Stars', 'Atlantique Ascoli', 'Atm Anthony Thomas Melillo',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 139 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
38
        'Aurelia Probiotic Skincare', 'Aurelie Bidermann', 'Ava Adore', 'Avant Toi', 'Avelon', 'Awake', 'B May',
39
        'Badgley Mischka', 'Baja East', 'Bakel', 'Balenciaga Eyewear', 'Balenciaga Vintage', 'Ballin', 'Bally', 'Balmain', 'Bao Bao Issey Miyake',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 146 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
40
        'Barbara Bui', 'Barbara Casasola', 'Barbara I Gongini', 'Bark', 'Barn\'s', 'Barrie', 'Bassike', 'Bata', 'Bazar Deluxe',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 127 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
41
        'Bea Bongiasca', 'Beau Souci', 'Becca', 'Beek..', 'Bella Freud', 'Belstaff', 'Bernhard Willhelm', 'Beth Orduna', 'Bhindi Jewelers',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 139 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
42
        'Bianca Spender', 'Biba Vintage', 'Bibi Van Der Velden', 'Bintthani', 'Bionda Castana', 'Birkenstock', 'Bjorg', 'Blancha',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 130 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
43
        'Blk Dnm', 'Blugirl', 'Blumarine', 'Boboutic', 'Borbonese', 'Bottega Veneta Eyewear', 'Boutique Moschino', 'Boys Forever',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 130 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
44
        'Brandon Maxwell', 'Brian Atwood', 'Brioni', 'Brock Collection', 'Brother Vellies', 'Brunello Cucinelli', 'Brute',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 122 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
45
        'Building Block', 'Bukkehave', 'Bulgari', 'Burberry', 'Burberry Brit', 'Burberry Kids', 'Burberry London', 'Burberry Prorsum',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 134 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
46
        'Burberry Vintage', 'Buscemi', 'Buttero', 'By Boe', 'By Kilian', 'By Malene Birger', 'By Terry', 'By Walid', 'Byredo',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 126 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
47
        'Ca&Lou', 'Calleen Cordero', 'Callens', 'Calvin Klein Collection', 'Calvin Klein Jeans', 'Camilla', 'Camilla And Marc', 'Canali',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 137 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
48
        'Cane + Austin', 'Capucci', 'Car Shoe', 'Carhartt', 'Carin Wester', 'Carl Rotter', 'Carole Shashona', 'Carolina Bucci',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 127 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
49
        'Carolina Herrera', 'Cartier Vintage', 'Carven', 'Casadei', 'Case Scenario', 'Casey Casey', 'Casio', 'Castañer', 'Catherine Michiels',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 142 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
50
        'Cazal', 'Cecilia Prado', 'Cecilie Copenhagen', 'Cédric Charlier', 'Céline Eyewear', 'Céline Vintage', 'Cesare Paciotti',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 129 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
51
        'Chalayan', 'Chanel Eyewear', 'Chanel Vintage', 'Chantecaille', 'Charlet Par Aime', 'Charlotte Chesnais', 'Charlotte Olympia',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 134 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
52
        'Cherevichkiotvichki', 'Chiara Ferragni', 'Chie Mihara', 'Chinti And Parker', 'Chloé', 'Chloe Gosselin', 'Christian Dior', 'Christian Dior Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 156 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
53
        'Christian Koban', 'Christian Lacroix Vintage', 'Christian Siriano', 'Christian Wijnants', 'Christina Debs', 'Christopher Esber',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 137 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
54
        'Christopher Kane', 'Cinq A Sept', 'Cinzia Araia', 'Cire Trudon', 'Citizens Of Humanity', 'Cityshop', 'Claire Barrow', 'Clarice Price Thomas',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 150 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
55
        'Claude Montana Vintage', 'Claustrum', 'Closed', 'Co', 'Coach', 'Coco And Breezy', 'Colbert Md', 'Coliac', 'Color Wow', 'Comme Des Garçons', 'Comme Des Garçons Comme Des Garçons',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 187 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
56
        'Comme Des Garçons Girl', 'Comme Des Garçons Noir Kei Ninomiya', 'Comme Des Garçons Play', 'Comme Des Garçons Tricot', 'Comme Des Garçons Vintage', 'Comme Des Garçons Wallet',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 183 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
57
        'Common Projects', 'Converse', 'Corlette', 'Cornelia Webb', 'Côte&Ciel', 'Courrèges', 'Courrèges Vintage', 'Cover Fx', 'Creatures Of The Wind', 'Cristina Ortiz', 'Current/Elliott',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 188 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
58
        'Cushnie Et Ochs', 'Cutler & Gross', 'Cutuli Cult', 'Cvc Stones', 'Dagmar', 'Damir Doma', 'Dana Kellin', 'Dana Rebecca', 'Daniela Gregis', 'Daniela Villegas', 'David Koma', 'Delfina Delettrez',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 201 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
59
        'Delpozo', 'Derek Lam', 'Derek Lam 10 Crosby', 'Desa Collection', 'Designinverso', 'Dezso', 'Diadora', 'Diane Von Furstenberg', 'Diesel', 'Diesel Black Gold', 'Dima',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 174 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
60
        'Dimissianos & Miller', 'Dion Lee', 'Dionea Orcini', 'Dior Eyewear', 'Diptyque', 'Dita Eyewear', 'DKNY', 'Dkny Pure', 'Dodo Bar Or', 'Dolce & Gabbana',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 159 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
61
        'Dominic Jones', 'Dondup', 'Dorateymur', 'Doreen Mellen', 'Dorothee Schumacher', 'Dosa',
62
        'Dovetusai', 'Dr Sebagh', 'Dr. Martens', 'DressCamp', 'Dries Van Noten Eyewear', 'Drome',
63
        'Dsquared2', 'Dusan', 'Duvetica', 'Dylanlex', 'Each X Other', 'Eddie Borgo',
64
        'Edge Of Ember', 'Edie Parker', 'Edun', 'Eggs', 'Egrey', 'Ejxiii', 'Ek Thongprasert', 'Elena Ghisellini', 'Eleventy', 'Elie Saab', 'Elie Tahari',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 153 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
65
        'Elise Dray', 'Elizabeth And James', 'Ellen Conde', 'Ellery', 'Emanuel Ungaro', 'Emanuel Ungaro Vintage',
66
        'Emanuele Bicocchi', 'Emilio Pucci', 'Emilio Pucci Vintage', 'Emma Hardie', 'Emporio Armani', 'Emporio Armani Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 127 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
67
        'Enfants Riches Deprimes', 'Engineered Garments', 'Epos', 'Equipment', 'Erdem', 'Erickson Beamon',
68
        'Erika Cavallini', 'Ermanno Gallamini', 'Ermanno Scervino', 'Escada Vintage', 'Eshvi', 'Espèces',
69
        'Esteban Cortazar', 'Être Cécile', 'Etro', 'Études Studio', 'Eugenia Kim', 'Eve Lom',
70
        'Extreme Cashmere', 'Eyevan7285', 'Eytys', 'Fabiana Filippi', 'Facetasm', 'Factory 900',
71
        'Fad Three', 'Fadeless', 'Faith Connexion', 'Faliero Sarti', 'Family Affair', 'Fannie Schiavoni', 'Fashion Clinic', 'Faustine Steinmetz', 'Fausto Puglisi', 'Fay', 'Federica Moretti',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 190 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
72
        'Fendi', 'Fendi Vintage', 'Feverish', 'Figue', 'Filles A Papa', 'Filù Hats', 'Fiorentini + Baker', 'Fiya', 'Fleur Du Mal', 'For Love And Lemons', 'For Restless Sleepers',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 178 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
73
        'Fornasetti', 'Fornasetti Profumi', 'Forte Forte', 'Frame Denim', 'Frances Valentine', 'Francesco Demaria',
74
        'Frank & Eileen', 'Franz Marfurt Lucerne', 'Frency & Mercury', 'Frends', 'Furla', 'G.V.G.V.',
75
        'Gabriela Hearst', 'Gabriella Ingram', 'Galvan', 'Gareth Pugh', 'Garrard', 'Garrett Leight',
76
        'Gas Bijoux', 'Gavello', 'Gaydamak', 'Gcds', 'Gedebe', 'Gemco', 'Geoffrey B. Small', 'Getting Back To Square One', 'Giada Benincasa', 'Giamba', 'Giambattista Valli',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 173 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
77
        'Gianfranco Ferre Vintage', 'Gianluca Capannolo', 'Gianvito Rossi', 'Gig', 'Gigi Burris Millinery', 'Gigli Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 124 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
78
        'GINGER & SMART', 'Giorgio Armani', 'Giorgio Armani Vintage', 'Giorgio Brato', 'Gisele For Eshvi', 'Giuliana Romanno',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 126 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
79
        'Giuseppe Zanotti Design', 'Givenchy', 'Givenchy Vintage', 'Gold And Wood', 'Golden Goose Deluxe Brand', 'Goldfaden Md',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 128 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
80
        'Goldsign', 'Good For Nothing Emb', 'Goti', 'Goyard Vintage', 'Greg Lauren', 'Grenson',
81
        'Greta Constantine', 'Grey Ant', 'Grey Jason Wu', 'G-Star', 'Gucci Eyewear', 'Guidi',
82
        'Guild Prime', 'Guy Laroche Vintage', 'Hache', 'Haider Ackermann', 'Hakusan', 'Halston Heritage',
83
        'Hanna Wallmark', 'Harcoza', 'Harris Wharf London', 'Haus', 'Hayward', 'Hector Magazine',
84
        'Heidi Klein', 'Heikki Salonen', 'Helmut Lang', 'Helmut Lang Vintage', 'Hender Scheme', 'Henderson Baracco',
85
        'Henrik Vibskov', 'Henson', 'Hermès Vintage', 'Herno', 'Heroine Sport', 'Herrlicht', 'Hervé Léger', 'Hipanema', 'Hirondelle', 'Hl Heddie Lovu', 'Hogan',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 160 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
86
        'Hogan Rebel', 'Holiday', 'Hood By Air', 'Hoorsenbuhs', 'Hope', 'Horisaki Design & Handel',
87
        'House Of Holland', 'House Of Voltaire', 'Htc Hollywood Trading Company', 'Hudson', 'Humanoid', 'Hussein Bazaza',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 121 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
88
        'Iceberg', 'Idonthaveasister', 'Ilana Ariel', 'Ilaria Nistri', 'Ileana Makri', 'Illesteva', 'Iluminage', 'Imogen Belfield', 'Incotex', 'Individual Sentiments', 'Industrie Veneziane', 'Ingie Paris', 'Institut Esthederm', 'Inverni', 'Io Ivana Omazic', 'Iosselliani',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 272 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
89
        'Irene Neuwirth', 'Iro', 'Isaac Reina', 'Isaac Sellam Experience', 'Isabel Benenato', 'Isabel Marant', 'Isabel Marant Étoile', 'Isabel Marant For Oliver Peoples', 'Isolda', 'Issey Miyake', 'Issey Miyake Cauliflower',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 224 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
90
        'Issey Miyake Men', 'Issey Miyake Vintage', 'Italia Independent', 'Ivo Scunzani', 'Ivy & Liv', 'Ivy Kirzhner',
91
        'J Brand', 'J.W. Anderson', 'Jacob Cohen', 'Jacquemus', 'Jacques Marie Mage', 'Jacquie Aiche',
92
        'Jagga', 'James Perse', 'James Read', 'Jamin Puech', 'Jane Bowler', 'Janis Savitt', 'Japsis Jewellery', 'Jason Wu', 'Jay Ahr', 'Jc De Castelbajac Vintage', 'Jean Louis Scherrer Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 194 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
93
        'Jean Paul Gaultier Vintage', 'Jean-François Mimilla', 'Jean-Michel Cazabat', 'Jeffrey Campbell', 'Jenni Kayne', 'Jeremy Deller',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 137 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
94
        'Jeremy Scott', 'Jérôme Dreyfuss', 'Jessie Harris', 'Jezebel London', 'Jil Sander', 'Jil Sander Navy',
95
        'Jil Sander Vintage', 'Jimmy Choo', 'Jitrois', 'Joanna Laura Constantine', 'Jocelyn', 'Joëlle Jewellery',
96
        'John Booth', 'John Brevard', 'John Galliano Vintage', 'John Smedley', 'Joie', 'Jonathan Cohen',
97
        'Jonathan Saunders', 'Jonathan Simkhai', 'Joseph', 'Joshua Sanders', 'Jour/Né', 'Jozica', 'Juicy Couture', 'Julien David', 'Junior Gaultier', 'Junya Watanabe Comme Des Garçons', 'Junya Watanabe Comme Des Garçons Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 229 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
98
        'Just Cavalli', 'Just Female', 'Jvdf', 'K. Jacques', 'Kamushki', 'Kane Ny', 'Kansai Yamamoto Vintage', 'Karen Walker Eyewear', 'Karolin', 'Kat Burki', 'Katherine Wallach',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 179 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
99
        'Katrine Kristensen', 'Kaufmanfranco', 'Kdia', 'Kenzo', 'Kenzo Vintage', 'Kevyn Aucoin', 'Khai Khai', 'Khirma Eliazov', 'Kijima Takayuki', 'Kilometre X The Webster', 'Kim Mee Hye',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 188 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
100
        'Kimberly Mcdonald', 'Kinz Kanaan', 'Kitx', 'Ko Studio', 'Koral', 'Krewe Du Optic', 'Kris Van Assche', 'Kristensen Du Nord', 'Kristin Hanson', 'Krizia Vintage', 'Ksubi',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 177 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
101
        'KTZ', 'Kuboraum', 'Kyme', 'L.G.R', 'La Brune Et La Blonde', 'La Mania', 'La Perla', 'Label Under Construction', 'Laboratorigarbo', 'Lafayette 148', 'Lala Berlin',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 171 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
102
        'Lamat', 'Lancer', 'Lanvin', 'Lanvin Vintage', 'Lara Bohinc', 'Lareida', 'Larkspur & Hawk', 'Larsson & Jennings', 'Laura B', 'Lauren Klassen', 'Laurence Dacade',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 169 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
103
        'Ld Tuttle', 'Le Bon Marche X The Webster', 'Le Ciel Bleu', 'Le Coq Sportif', 'Le Kasha', 'Le Kilt', 'Le Specs', 'Leather Crown', 'Lee Brennan Design', 'Leivankash', 'Lela Rose',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 186 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
104
        'Lemaire', 'Lemlem', 'Les Petits Joueurs', 'Lesca', 'Levi\'s', 'Linda Farrow', 'Linda Farrow Gallery', 'Lindberg', 'Lipstick Queen', 'Lisa Marie Fernandez', 'Liska',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 173 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
105
        'Liska Haute Fourrure By Romain Brau', 'Live The Process With Chelsea Leyland', 'Living Proof', 'Lizzie Fortunato Jewels', 'Local Supply', 'Loeffler Randall', 'Loewe', 'Loquet', 'Loree Rodkin', 'Loren Stewart', 'Loro Piana',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 232 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
106
        'Lost & Found Ria Dunn', 'Lost & Found Rooms', 'Lotos', 'Louis Feraud Vintage', 'Louis Vuitton Vintage', 'Love Moschino', 'Loveless', 'Loyd/Ford', 'Lucas Hugh', 'Lucien Pellat Finet', 'Luis Miguel Howard',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 213 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
107
        'Luis Morais', 'Luisa Cevese Riedizioni', 'Lulu Guinness', 'Luxury Fashion', 'Lydia Courteille', 'M Missoni', 'M Missoni Vintage', 'M2malletier', 'Ma+', 'Mad Et Len', 'Madame',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 184 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
108
        'Magda Butrym', 'Maharishi', 'Maison Close', 'Maison Kitsuné', 'Maison Margiela', 'Maison Margiela Vintage', 'Maison Michel', 'Maison Rabih Kayrouz', 'Maison Recuerdo', 'Maison Ullens', 'Maiyet',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 203 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
109
        'Majestic Filatures', 'Majesty Black', 'Malia Mills', 'Malin+Goetz', 'Malone Souliers', 'Mame', 'Manebi', 'Manning Cartell', 'Manoush', 'Mansur Gavriel', 'Manu Atelier',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 177 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
110
        'Mara Hoffman', 'Marc Alary', 'Marc By Marc Jacobs', 'Marc Jacobs', 'Marc Le Bihan', 'Marcelo Burlon County Of Milan', 'March La.B', 'Marchesa', 'Marchesa Notte', 'Marco De Vincenzo', 'Maria Black',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 206 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
111
        'Maria Lucia Hohan', 'Maria Teresa Sottile', 'Marie Helene De Taillac', 'Mark Cross', 'Markus Lupfer', 'Marni', 'Marsèll', 'Marshall', 'Martha Medeiros', 'Martine Jarlgaard', 'Mary Katrantzou',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 201 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
112
        'Mary Katrantzou X Adidas Originals', 'Maryam Nassir Zadeh', 'Marysia', 'Masnada', 'Massimo Alba', 'Master & Dynamic', 'Masunaga', 'Matar', 'Mathilde Danglade', 'Maticevski', 'Matsuda',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 193 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
113
        'Matthew Darbyshire', 'Matthew Williamson', 'Mawi', 'Max Mara', 'Max Mara Studio', 'Max Tan', 'Maxime Llorens', 'Maxwell Snow', 'MCM', 'Mcm Vintage', 'McQ Alexander McQueen',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 182 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
114
        'Me&Mr.Gentleman', 'Melissa + Jeremy Scott', 'Melissa Joy Manning', 'Melissa Odabash', 'Mes Demoiselles', 'Miahatami', 'Miansai', 'Michael Kors', 'Michael Michael Kors', 'Michael Schmidt', 'Michel Vivien',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 213 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
115
        'Micol Ragni', 'Mih Jeans', 'Mihara Yasuhiro', 'Milly', 'Minimarket', 'Minjukim', 'Minna Parikka', 'Mira Mikati', 'Missoni', 'Missoni Vintage', 'Miu Miu Eyewear',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 170 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
116
        'Mm6 Maison Margiela', 'Moa Master Of Arts', 'Moeva', 'Monan', 'Moncler', 'Moncler Gamme Rouge', 'Moncler Grenoble', 'Moncler X Erdem', 'Monday Active', 'Monica Sordo', 'Monies',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 186 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
117
        'Monique Lhuillier', 'Monocle Eyewear', 'Monreal London', 'Moo Piyasombatkul', 'Moohong', 'Moratorium', 'Moreau', 'Moschino', 'Moschino Vintage', 'Mother', 'Mother Of Pearl',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 182 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
118
        'Mou', 'Movitra', 'Mr & Mrs Italy', 'MSGM', 'Mua Mua', 'Mugler', 'Murmur', 'Musée', 'Muubaa', 'Muveil', 'Mykita',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 121 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
119
        'Myriam Schaefer', 'Myswear', 'N.Peal', 'Nafsika Skourti', 'Narciso Rodriguez', 'Nasir Mazhar', 'Natasha Collis', 'Natasha Zinko', 'Nathalie Trad', 'Natura Bisse', 'Neil Barrett',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 187 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
120
        'Nektar De Stagni', 'Neuw', 'Nevermind', 'New Balance', 'Newbark', 'Nicholas Kirkwood', 'Nicole Miller', 'Nicopanda', 'Night Market', 'Nike', 'Nikos Koulis',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 165 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
121
        'Nili Lotan', 'Nina Ricci', 'Nina Ricci Vintage', 'Nixon', 'Niza Huang', 'Nº21', 'Nobody Denim', 'Nomia', 'Noor Fares', 'Noritamy', 'Norma Kamali',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 155 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
122
        'Norse Projects', 'NSF', 'Nuface', 'O&M', 'Oamc', 'Obey', 'Occulter', 'Odeeh', 'Odeur', 'Of Rare Origin', 'Officine Creative',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 134 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
123
        'Off-White', 'Oliver Goldsmith', 'Oliver Peoples', 'Olympia Le-Tan', 'One Oak By Sara', 'Onia', 'Opening Ceremony', 'Organic By John Patrick', 'Orolog By Jaime Hayon', 'Oscar de la Renta', 'Oskia',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 205 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
124
        'Osman', 'Ouigal', 'P.A.R.O.S.H.', 'Paco Rabanne', 'Paige', 'Palm Angels', 'Paloma Barceló', 'Pamela Love', 'Paname', 'Pantos Paris', 'Paolo Piovan',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 157 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
125
        'Parfums De Marly', 'Pascia', 'Paul & Joe', 'Paul Andrew', 'Paul Smith', 'Paul Smith Black Label', 'Paula Cademartori', 'Paule Ka', 'Pb 0110', 'Pearl', 'Pearls Before Swine',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 182 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
126
        'Pedro Garcia', 'Pelle Moda', 'Pepa Pombo', 'Peppercotton', 'Percy And Reed', 'Perricone Md', 'Perrin Paris', 'Persol', 'Persol Vintage', 'Petar Petrov', 'Peter & May Walk',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 181 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
127
        'Peter Cohen', 'Peter Jensen', 'Peter Non', 'Peter Pilotto', 'Petit Bateau', 'Petralux', 'Phat Buddha', 'Philipp Plein', 'Philippe Model', 'Philosophy Di Lorenzo Serafini', 'Piamita',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 191 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
128
        'Piazza Sempione', 'Pierre Balmain', 'Pierre Cardin Vintage', 'Pierre Hardy', 'Pierre-Louis Mascia', 'Piers Atkinson', 'Pleats Please By Issey Miyake', 'Pleats Please By Issey Miyake Vintage', 'Plein Sud', 'Pollini', 'Polo Ralph Lauren',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 245 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
129
        'Pomellato', 'Porter-Yoshida & Co', 'Ports 1961', 'Poupette St Barth', 'Prabal Gurung', 'Prada Eyewear', 'Prada Vintage', 'Pramma', 'Preen By Thornton Bregazzi', 'Premiata', 'Premiata White',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 199 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
130
        'Prism', 'Proenza Schouler', 'Protagonist', 'PS Paul Smith', 'Pt01', 'Puma', 'Puro Iosselliani', 'R13', 'Rachel Comey', 'Racil', 'Radical Skincare',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 156 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
131
        'Rag & Bone', 'Rag & Bone /Jean', 'Ralph Lauren', 'Ralph Lauren Black', 'Ralph Lauren Purple', 'Ram', 'Ramy Brook', 'Raquel Allegra', 'Rauwolf', 'Ray-Ban', 'Re/Done',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 174 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
132
        'Reality Studio', 'Rebecca Minkoff', 'Rebecca Taylor', 'Rebecca Vallance', 'Red Valentino', 'Reebok', 'Reinaldo Lourenço', 'Reinhard Plank', 'Ren', 'René Caovilla', 'Renee So',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 184 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
133
        'Repetto', 'Retrosuperfuture', 'Rewind Vintage Affairs', 'Rick Owens', 'Rick Owens DRKSHDW', 'Rick Owens Lilies', 'Ritch Erani NYFC', 'Robert Clergerie', 'Roberta Di Camerino Vintage', 'Roberto Cavalli', 'Roberto Collina',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 230 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
134
        'Roberto Del Carlo', 'Roberto Marroni', 'Rochas', 'Rochelle Sara', 'Rocio', 'Rockins', 'Rodarte', 'Rodebjer', 'Rodial', 'Roksanda', 'Roland Mouret',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 156 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
135
        'Romeo Gigli Vintage', 'Ros Millar', 'Rosa De La Cruz', 'Rosa Maria', 'Rosamosario', 'Rosantica', 'Rosetta Getty', 'Rosie Assoulin', 'Rovant Antiqu', 'Rta', 'Ruifier',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 175 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
136
        'Rula Galayini', 'Rundholz', 'Rundholz Black Label', 'Rupert Sanderson', 'Ryan Lo', 'Ryan Roche', 'Sabine G', 'Sacai', 'Sachajuan', 'Saint Laurent', 'Saks Potts',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 170 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
137
        'Salinas', 'Saloni', 'Salvatore Ferragamo', 'Salvatore Santoro', 'Sam & Lavi', 'Sam Edelman', 'Sama Eyewear', 'Samantha Sung', 'Samira13', 'Samsung By Colombo Via Della Spiga', 'San Lorenzo',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 199 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
138
        'Sandrine Rose', 'Sandy Liang', 'Santoni', 'Saqqara', 'Sara Battaglia', 'Sara Weinstock', 'Sarah & Sebastian', 'Sarah Angold Studio', 'Sarah Chapman', 'Sarah Chofakian', 'Sarah Noor',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 191 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
139
        'Sarah’s Bag', 'Sartore', 'Saturnino', 'Saucony', 'Savas', 'Scanlan Theodore', 'Schutz', 'Scunzani Ivo', 'Sea', 'See By Chloé', 'See Concept',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 150 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
140
        'Seeme', 'Self-Portrait', 'Selin Kent', 'Sener Besim', 'Serapian', 'Sergio Rossi', 'Serpui', 'Shades Of Grey By Micah Cohen', 'Shamballa Jewels', 'Shaun Leane', 'Shinola',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 179 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
141
        'Shiseido', 'Shourouk', 'Shrimps', 'Shylee Rose', 'Si-Jay', 'Silvano Sassetti', 'Simon Harrison', 'Simon Miller', 'Simona Tagliaferri', 'Simone Rocha', 'Sirciam',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 170 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
142
        'Sjal', 'Slave To Ancestors', 'Smoke X Mirrors', 'Smythe', 'Smythson', 'Société Anonyme', 'Soha Sardinia', 'Soludos', 'Sonia By Sonia Rykiel', 'Sonia Rykiel', 'Sonia Rykiel Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 190 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
143
        'Sophia Webster', 'Sophie Bille Brahe', 'Sophie Hulme', 'Sophie Theallet', 'Soulland', 'Spektre', 'Spencer Vladimir', 'Spinelli Kilcollin', 'Stampd', 'Stefano Mortari', 'Steffen Schraut',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 195 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
144
        'Stella McCartney', 'Stephan Schneider', 'Stephane Kélian', 'Stephen Sprouse Vintage', 'Stephen Webster', 'Stine Goya', 'Stone', 'Stouls', 'Strut This', 'Stuart Weitzman', 'Studio Chofakian',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 199 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
145
        'Stussy', 'Stutterheim', 'Suicoke', 'Sun Buddies', 'Sunday Riley', 'Suno', 'Superga', 'Suzusan', 'SW/TCH', 'Swear', 'Swedish Hasbeens',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 143 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
146
        'Sylvie Schimmel', 'Sylvio Giardina', 'T By Alexander Wang', 'T3', 'Tabitha Simmons', 'Tag Heuer', 'Tagliatore', 'Taher Chemirik', 'Talika', 'Talitha', 'Tamara Mellon',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 176 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
147
        'Tanya Taylor', 'Tara4779', 'Tata Naka', 'Temperley London', 'Ter Et Bantine', 'The Cambridge Satchel Company', 'The Elder Statesman', 'The Great', 'The Last Conspiracy', 'The Row', 'The Seafarer',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 205 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
148
        'The Soloist', 'The Webster', 'Theo By Tim Van Steenbergen', 'Theory', 'Thierry Lasry', 'Thierry Mugler Vintage', 'This Works', 'Thom Browne', 'Thom Krom', 'Thomas Wylde', 'Thomasine',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 192 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
149
        'Thoraval', 'Thorsun', 'Tibi', 'Tobias Wistisen', 'Tod\'s', 'Toga', 'Tom Binns', 'Tomas Maier', 'Tomasini', 'Tome', 'Tone It Up',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 137 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
150
        'Toogood', 'Tori Praver', 'Tory Burch', 'Trippen', 'Troubadour', 'True Rocks', 'Tsumori Chisato', 'Tu Es Mon Tresor', 'Twin-Set', 'Ugo Cacciatori', 'Ulla Johnson',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 171 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
151
        'Ulla Soucasse', 'Uma Wang', 'Unconditional', 'Undercover', 'Unif', 'United Nude', 'Unravel', 'Urban Zen', 'Uribe', 'Uzerai Edits', 'V Jewellery',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 154 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
152
        'V73', 'Valas', 'Valdez Panama Hats', 'Valencia', 'Valentino', 'Valentino Garavani', 'Valery Kovalska', 'Valextra', 'Vanessa Bruno', 'Vanessa Bruno Athé', 'Vans',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 170 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
153
        'Vava', 'Veneffect', 'Venessa Arizaga', 'Venyx', 'Vera Wang', 'Veronica Beard', 'Veronique Branquinho', 'Veronique Leroy', 'Versace', 'Versace Collection', 'Versace Vintage',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 182 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
154
        'Versus', 'Very Gavello', 'Vibe Harsløf', 'Victoria Beckham', 'Victoria Beckham Denim', 'Victoria Victoria Beckham', 'Vieri', 'Vince', 'Vince Camuto', 'Visvim', 'Vita Fede',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 181 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
155
        'Vita Kin', 'Vivetta', 'Vivienne Westwood', 'Vivienne Westwood Anglomania', 'Vivienne Westwood Gold Label', 'Vivienne Westwood Red Label', 'Vojd Studios', 'W.I.T.H.', 'Walter Van Beirendonck Vintage', 'Want Les Essentiels De La Vie', 'Warm-Me',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 252 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
156
        'Weber Hodel Feder', 'Werkstatt:München', 'Westward Leaning', 'Windle And Moodie', 'Won Hundred', 'Wood Wood', 'Woolrich', 'Wouters & Hendrix', 'Wouters & Hendrix Gold', 'Wrq.E.D', 'Wuki',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 196 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
157
        'Wunderkind', 'Wwake', 'Wxyz By Laura Wass', 'Y / Project', 'Y-3', 'Y-3 By Yohji Yamamoto Vintage', 'Yang Li', 'Yannis Sergakis', 'Yazbukey', 'Yeezy', 'Yigal Azrouel',
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 175 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
158
        'YMC', 'Yohji Yamamoto', 'Yohji Yamamoto Vintage', 'Yosuzi', 'Yukié Deuxpoints', 'Yves Saint Laurent Vintage',
159
        'Yves Salomon', 'Yvonne Léon', 'Zac Zac Posen', 'Zadig & Voltaire', 'Zanellato', 'Zanone',
160
        'Zanzan', 'Zayiana', 'Zero + Maria Cornejo', 'Zilla', 'Zimmermann', 'Zoe And Morgan', 'Zoe Karssen', 'Zuhair Murad'
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 123 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
161
    );
162
    protected $faker;
163
    protected $_supported_locales = array(
164
        'en_US',
165
        'en_GB'
166
    );
167
168
    protected function configure()
169
    {
170
        $help = <<<HELP
171
Supported Locales:
172
173
- en_US
174
- en_GB
175
HELP;
176
        $this
177
            ->setName('eav:attribute:create-dummy-values')
178
            ->addArgument('locale', InputArgument::OPTIONAL, 'Locale')
179
            ->addArgument('attribute-id', InputArgument::OPTIONAL, 'Attribute ID to add values')
180
            ->addArgument('values-type', InputArgument::OPTIONAL, 'Types of Values to create (default int)')
181
            ->addArgument('values-number', InputArgument::OPTIONAL, 'Number of Values to create (default 1)')
182
            ->setDescription('Create a dummy values for dropdown attributes')
183
            ->setHelp($help);
184
    }
185
186
    /**
187
     * @param \Symfony\Component\Console\Input\InputInterface   $input
188
     * @param \Symfony\Component\Console\Output\OutputInterface $output
189
     *
190
     * @return int|void
191
     */
192
    protected function execute(InputInterface $input, OutputInterface $output)
193
    {
194
        $this->detectMagento($output, true);
195
        if(!$this->initMagento()) {
196
            return;
197
        }
198
        $this->input = $input;
0 ignored issues
show
Bug introduced by
The property input does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
199
        $this->output = $output;
0 ignored issues
show
Bug introduced by
The property output does not exist. Did you maybe forget to declare it?

In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:

class MyClass { }

$x = new MyClass();
$x->foo = true;

Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion:

class MyClass {
    public $foo;
}

$x = new MyClass();
$x->foo = true;
Loading history...
200
201
        $this->output->writeln("<warning>This only create sample attribute values, do not use on production environment</warning>\r\n");
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 136 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
202
203
        // MANAGE ARGUMENTS
204
        $_argument = $this->manageArguments($input, $output);
205
        if(!in_array($input->getArgument('locale'), $this->_supported_locales)) {
206
            $this->output->writeln("<warning>Locale `" . $input->getArgument('locale') . "` not supported, switch to default locale `us_US`.</warning>\r\n");
0 ignored issues
show
Coding Style introduced by
This line exceeds maximum limit of 120 characters; contains 157 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
207
            $_argument['locale'] = "en_US";
208
        }
209
        else {
210
            $_argument['locale'] = $input->getArgument('locale');
211
        }
212
213
        $attribute = \Mage::getModel('eav/entity_attribute')->load($_argument['attribute-id']);
214
        for ($i = 0; $i < $_argument['values-number']; $i++) {
215
216
            $value = $this->createValue($_argument['values-type'], $_argument['locale']);
217
            if(!$this->attributeValueExists($attribute, $value)) {
218
                try {
219
                    $attribute->setData('option', array(
220
                        'value' => array(
221
                            'option' => array($value, $value)
222
                        )
223
                    ));
224
                    $attribute->save();
225
                } catch (\Exception $e) {
226
                    $output->writeln("<error>" . $e->getMessage() . "</error>");
227
                    die;
0 ignored issues
show
Coding Style Compatibility introduced by
The method execute() contains an exit expression.

An exit expression should only be used in rare cases. For example, if you write a short command line script.

In most cases however, using an exit expression makes the code untestable and often causes incompatibilities with other libraries. Thus, unless you are absolutely sure it is required here, we recommend to refactor your code to avoid its usage.

Loading history...
228
                }
229
                $output->writeln("<comment>ATTRIBUTE VALUE: '" . $value . "' ADDED!</comment>\r");
230
            }
231
        }
232
    }
233
234
    /**
235
     * Manage console arguments
236
     *
237
     * @param \Symfony\Component\Console\Input\InputInterface   $input
238
     * @param \Symfony\Component\Console\Output\OutputInterface $output
239
     *
240
     * @return array
241
     */
242
    protected function manageArguments(&$input, &$output)
243
    {
244
        /**
245
         * ARGUMENTS
246
         */
247
        $helper = $this->getHelper('question');
248
        $_argument = array();
249
250
        // ATTRIBUTE ID
251
        if(is_null($input->getArgument('attribute-id'))) {
252
            $attribute_code = \Mage::getModel('eav/entity_attribute')->getCollection()
253
                ->addFieldToSelect('*')
254
                ->addFieldToFilter('entity_type_id', array('eq' => 4))
255
                ->addFieldToFilter('backend_type', array('in' => array('int')))
256
                ->setOrder('attribute_id', 'ASC');;
257
            $_attribute_codes = array();
258
259
            foreach ($attribute_code as $item) {
260
                $_attribute_codes[$item['attribute_id']] = $item['attribute_id'] . "|" . $item['attribute_code'];
261
            }
262
263
            $question = new ChoiceQuestion(
264
                'Please select Attribute ID',
265
                $_attribute_codes
266
            );
267
            $question->setErrorMessage('Attribute ID "%s" is invalid.');
268
            $response = explode("|", $helper->ask($input, $output, $question));
269
            $input->setArgument('attribute-id', $response[0]);
270
        }
271
        $output->writeln('<info>Attribute code selected: ' . $input->getArgument('attribute-id') . "</info>\r\n");
272
        $_argument['attribute-id'] = (int)$input->getArgument('attribute-id');
273
274
        // TYPE OF VALUES
275
        if(is_null($input->getArgument('values-type'))) {
276
277
            $_values_type = array(
278
                'int'      => 'int',
279
                'string'   => 'string',
280
                'color'    => 'color',
281
                'size'     => 'size',
282
                'designer' => 'designer'
283
            );
284
285
            $question = new ChoiceQuestion(
286
                'Please select Attribute Value Type',
287
                $_values_type,
288
                'int'
289
            );
290
            $question->setErrorMessage('Attribute Value Type "%s" is invalid.');
291
            $input->setArgument('values-type', $helper->ask($input, $output, $question));
292
        }
293
        $output->writeln('<info>Attribute Value Type selected: ' . $input->getArgument('values-type') . "</info>\r\n");
294
        $_argument['values-type'] = $input->getArgument('values-type');
295
296
        // NUMBER OF VALUES
297 View Code Duplication
        if(is_null($input->getArgument('values-number'))) {
0 ignored issues
show
Duplication introduced by
This code seems to be duplicated across your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
298
            $question = new Question("Please enter the number of values to create (default 1): ", 1);
299
            $question->setValidator(function ($answer) {
300
                $answer = (int)($answer);
301
                if(!is_int($answer) || $answer <= 0) {
302
                    throw new \RuntimeException(
303
                        'Please enter an integer value or > 0'
304
                    );
305
                }
306
                return $answer;
307
            });
308
            $input->setArgument('values-number', $helper->ask($input, $output, $question));
309
        }
310
        $output->writeln('<info>Number of values to create: ' . $input->getArgument('values-number') . "</info>\r\n");
311
        $_argument['values-number'] = $input->getArgument('values-number');
312
313
        return $_argument;
314
    }
315
316
    /**
317
     * Create option type
318
     *
319
     * @param string $_type
320
     *
321
     * @return int|string
322
     */
323
    protected function createValue($_type, $locale)
324
    {
325
        if(!isset($this->faker)) {
326
            $this->faker = \Faker\Factory::create($locale);
327
        }
328
329
        switch ($_type) {
330
            case 'int':
331
                $value = $this->faker->randomNumber();
332
                break;
333
            case 'string':
334
                $value = $this->faker->sentence(3);
335
                break;
336
            case 'color':
337
                $value = $this->faker->colorName;
338
                break;
339
            case 'size':
340
                $value = $this->sizes[array_rand($this->sizes)];
341
                break;
342
            case 'designer':
343
                $value = $this->designer[array_rand($this->designer)];
344
                break;
345
            default:
346
                $value = $this->faker->randomNumber();
347
        }
348
349
        return $value;
350
    }
351
352
    /**
353
     * Check if an option exist
354
     *
355
     * @param \Mage_Eav_Model_Entity_Attribute nt $attribute
356
     * @param string                           $arg_value
357
     *
358
     * @return bool
359
     */
360
    protected function attributeValueExists(&$attribute, $arg_value)
361
    {
362
        $attribute_options_model = \Mage::getModel('eav/entity_attribute_source_table');
363
        $attribute_options_model->setAttribute($attribute);
364
        $options = $attribute_options_model->getAllOptions(false);
365
366
        foreach ($options as $option) {
367
            if($option['label'] == $arg_value) {
368
                return true;
369
            }
370
        }
371
372
        return false;
373
    }
374
}