1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Removed outdated PHP6 reference in "best practices" docs.

Changed references from PHP6 to PHP7 in tests.
This commit is contained in:
Alex Salguero 2015-07-31 11:03:03 +01:00
parent 71b1dde096
commit 5393bc9956
3 changed files with 7 additions and 7 deletions

View File

@ -54,7 +54,7 @@ Don't use special characters
Avoid using any non-ASCII characters in class, field, table or
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
----------------------------

View File

@ -634,7 +634,7 @@ class ArrayHydratorTest extends HydrationTestCase
'sclr0' => 'JWAGE',
'p__phonenumber' => '91',
'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('ZendCon', $result[0][0]['articles'][1]['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',
'p__phonenumber' => '91',
'a__id' => '4',
'a__topic' => 'PHP6',
'a__topic' => 'PHP7',
'c__id' => 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('ZendCon', $result[0][0]['articles'][1]['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']);

View File

@ -645,7 +645,7 @@ class ObjectHydratorTest extends HydrationTestCase
'sclr0' => 'JWAGE',
'p__phonenumber' => '91',
'a__id' => '4',
'a__topic' => 'PHP6'
'a__topic' => 'PHP7'
),
);
@ -773,7 +773,7 @@ class ObjectHydratorTest extends HydrationTestCase
'sclr0' => 'JWAGE',
'p__phonenumber' => '91',
'a__id' => '4',
'a__topic' => 'PHP6',
'a__topic' => 'PHP7',
'c__id' => null,
'c__topic' => null
),