Failed Conditions
Pull Request — experimental/sf (#3241)
by k-yamamura
43:19 queued 23:09
created

ShoppingNonmemberPage::入力_郵便番号1()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
/*
3
 * This file is part of EC-CUBE
4
 *
5
 * Copyright(c) 2000-2017 LOCKON CO.,LTD. All Rights Reserved.
6
 *
7
 * http://www.lockon.co.jp/
8
 *
9
 * This program is free software; you can redistribute it and/or
10
 * modify it under the terms of the GNU General Public License
11
 * as published by the Free Software Foundation; either version 2
12
 * of the License, or (at your option) any later version.
13
 *
14
 * This program is distributed in the hope that it will be useful,
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
 * GNU General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU General Public License
20
 * along with this program; if not, write to the Free Software
21
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
 */
23
24
namespace Page\Front;
25
26
27
class ShoppingNonmemberPage extends AbstractFrontPage
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
28
{
29
    public static function at($I)
30
    {
31
        $page = new self($I);
32
        $page->tester->see('お客様情報の入力', 'div.ec-pageHeader h1');
33
        return $page;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
34
    }
35
36
37
    public function 入力_姓($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_姓" is not in camel caps format
Loading history...
38
    {
39
        $this->tester->fillField(['id' => 'nonmember_name_name01'], $value);
40
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
41
    }
42
43
    public function 入力_名($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_名" is not in camel caps format
Loading history...
44
    {
45
        $this->tester->fillField(['id' => 'nonmember_name_name02'], $value);
46
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
47
    }
48
49
    public function 入力_セイ($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_セイ" is not in camel caps format
Loading history...
50
    {
51
        $this->tester->fillField(['id' => 'nonmember_kana_kana01'], $value);
52
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
53
    }
54
55
    public function 入力_メイ($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_メイ" is not in camel caps format
Loading history...
56
    {
57
        $this->tester->fillField(['id' => 'nonmember_kana_kana02'], $value);
58
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
59
    }
60
61
    public function 入力_郵便番号($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_郵便番号" is not in camel caps format
Loading history...
62
    {
63
        $this->tester->fillField(['id' => 'nonmember_postal_code'], $value);
64
65
        return $this;
66
    }
67
68
    public function 入力_都道府県($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_都道府県" is not in camel caps format
Loading history...
69
    {
70
        $this->tester->selectOption(['id' => 'nonmember_address_pref'], $value);
71
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
72
    }
73
74
    public function 入力_市区町村名($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_市区町村名" is not in camel caps format
Loading history...
75
    {
76
        $this->tester->fillField(['id' => 'nonmember_address_addr01'], $value);
77
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
78
    }
79
80
    public function 入力_番地_ビル名($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_番地_ビル名" is not in camel caps format
Loading history...
81
    {
82
        $this->tester->fillField(['id' => 'nonmember_address_addr02'], $value);
83
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
84
    }
85
86
    public function 入力_Eメール($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_Eメール" is not in camel caps format
Loading history...
87
    {
88
        $this->tester->fillField(['id' => 'nonmember_email_first'], $value);
89
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
90
    }
91
92
    public function 入力_Eメール確認($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_Eメール確認" is not in camel caps format
Loading history...
93
    {
94
        $this->tester->fillField(['id' => 'nonmember_email_second'], $value);
95
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
96
    }
97
98
    public function 入力_電話番号($value)
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::入力_電話番号" is not in camel caps format
Loading history...
99
    {
100
        $this->tester->fillField(['id' => 'nonmember_phone_number'], $value);
101
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
102
    }
103
104
    public function 次へ()
0 ignored issues
show
Coding Style introduced by
Method name "ShoppingNonmemberPage::次へ" is not in camel caps format
Loading history...
105
    {
106
        $this->tester->click('div.ec-RegisterRole__actions button.ec-blockBtn--action');
107
        return $this;
0 ignored issues
show
introduced by
Missing blank line before return statement
Loading history...
108
    }
109
}