Removed outdated PHP6 reference in "best practices" docs.
Changed references from PHP6 to PHP7 in tests.
This commit is contained in:
parent
71b1dde096
commit
5393bc9956
@ -54,7 +54,7 @@ Don't use special characters
|
|||||||
|
|
||||||
Avoid using any non-ASCII characters in class, field, table or
|
Avoid using any non-ASCII characters in class, field, table or
|
||||||
column names. Doctrine itself is not unicode-safe in many places
|
column names. Doctrine itself is not unicode-safe in many places
|
||||||
and will not be until PHP itself is fully unicode-aware (PHP6).
|
and will not be until PHP itself is fully unicode-aware.
|
||||||
|
|
||||||
Don't use identifier quoting
|
Don't use identifier quoting
|
||||||
----------------------------
|
----------------------------
|
||||||
|
@ -634,7 +634,7 @@ class ArrayHydratorTest extends HydrationTestCase
|
|||||||
'sclr0' => 'JWAGE',
|
'sclr0' => 'JWAGE',
|
||||||
'p__phonenumber' => '91',
|
'p__phonenumber' => '91',
|
||||||
'a__id' => '4',
|
'a__id' => '4',
|
||||||
'a__topic' => 'PHP6'
|
'a__topic' => 'PHP7'
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -662,7 +662,7 @@ class ArrayHydratorTest extends HydrationTestCase
|
|||||||
$this->assertEquals('Getting things done!', $result[0][0]['articles'][0]['topic']);
|
$this->assertEquals('Getting things done!', $result[0][0]['articles'][0]['topic']);
|
||||||
$this->assertEquals('ZendCon', $result[0][0]['articles'][1]['topic']);
|
$this->assertEquals('ZendCon', $result[0][0]['articles'][1]['topic']);
|
||||||
$this->assertEquals('LINQ', $result[1][0]['articles'][0]['topic']);
|
$this->assertEquals('LINQ', $result[1][0]['articles'][0]['topic']);
|
||||||
$this->assertEquals('PHP6', $result[1][0]['articles'][1]['topic']);
|
$this->assertEquals('PHP7', $result[1][0]['articles'][1]['topic']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -771,7 +771,7 @@ class ArrayHydratorTest extends HydrationTestCase
|
|||||||
'sclr0' => 'JWAGE',
|
'sclr0' => 'JWAGE',
|
||||||
'p__phonenumber' => '91',
|
'p__phonenumber' => '91',
|
||||||
'a__id' => '4',
|
'a__id' => '4',
|
||||||
'a__topic' => 'PHP6',
|
'a__topic' => 'PHP7',
|
||||||
'c__id' => null,
|
'c__id' => null,
|
||||||
'c__topic' => null
|
'c__topic' => null
|
||||||
),
|
),
|
||||||
@ -803,7 +803,7 @@ class ArrayHydratorTest extends HydrationTestCase
|
|||||||
$this->assertEquals('Getting things done!', $result[0][0]['articles'][0]['topic']);
|
$this->assertEquals('Getting things done!', $result[0][0]['articles'][0]['topic']);
|
||||||
$this->assertEquals('ZendCon', $result[0][0]['articles'][1]['topic']);
|
$this->assertEquals('ZendCon', $result[0][0]['articles'][1]['topic']);
|
||||||
$this->assertEquals('LINQ', $result[1][0]['articles'][0]['topic']);
|
$this->assertEquals('LINQ', $result[1][0]['articles'][0]['topic']);
|
||||||
$this->assertEquals('PHP6', $result[1][0]['articles'][1]['topic']);
|
$this->assertEquals('PHP7', $result[1][0]['articles'][1]['topic']);
|
||||||
|
|
||||||
$this->assertEquals('First!', $result[0][0]['articles'][0]['comments'][0]['topic']);
|
$this->assertEquals('First!', $result[0][0]['articles'][0]['comments'][0]['topic']);
|
||||||
|
|
||||||
|
@ -645,7 +645,7 @@ class ObjectHydratorTest extends HydrationTestCase
|
|||||||
'sclr0' => 'JWAGE',
|
'sclr0' => 'JWAGE',
|
||||||
'p__phonenumber' => '91',
|
'p__phonenumber' => '91',
|
||||||
'a__id' => '4',
|
'a__id' => '4',
|
||||||
'a__topic' => 'PHP6'
|
'a__topic' => 'PHP7'
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -773,7 +773,7 @@ class ObjectHydratorTest extends HydrationTestCase
|
|||||||
'sclr0' => 'JWAGE',
|
'sclr0' => 'JWAGE',
|
||||||
'p__phonenumber' => '91',
|
'p__phonenumber' => '91',
|
||||||
'a__id' => '4',
|
'a__id' => '4',
|
||||||
'a__topic' => 'PHP6',
|
'a__topic' => 'PHP7',
|
||||||
'c__id' => null,
|
'c__id' => null,
|
||||||
'c__topic' => null
|
'c__topic' => null
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user