ProfileFixture
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 23
c 0
b 0
f 0
1
<?php
2
3
class ProfileFixture extends CakeTestFixture {
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
4
5
/**
6
 * fields property
7
 *
8
 * @var array
9
 */
10
	public $fields = array(
11
		'id' => array('type' => 'integer', 'key' => 'primary'),
12
		'user_id' => array('type' => 'integer', 'null' => true),
13
		'nickname' => array('type' => 'string', 'null' => true),
14
		'company' => array('type' => 'string', 'null' => true),
15
	);
16
17
/**
18
 * records property
19
 *
20
 * @var array
21
 */
22
	public $records = array(
23
		array('user_id' => '3', 'nickname' => 'phpnut', 'company' => 'Cake Software Foundation, Inc.'),
24
	);
25
}
26
27