Skip to content

Commit c0410e4

Browse files
committed
fix: indirect deprecations
1 parent 9152056 commit c0410e4

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

tests/Bridge/Doctrine/MongoDbOdm/PropertyInfo/DoctrineExtractorTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ public function testGetProperties(): void
5454
'date',
5555
'float',
5656
'bool',
57-
'boolean',
5857
'customFoo',
5958
'int',
60-
'integer',
6159
'string',
6260
'key',
6361
'hash',
@@ -143,9 +141,7 @@ public function typesProvider(): array
143141
['date', [new Type(Type::BUILTIN_TYPE_OBJECT, false, 'DateTime')]],
144142
['float', [new Type(Type::BUILTIN_TYPE_FLOAT)]],
145143
['bool', [new Type(Type::BUILTIN_TYPE_BOOL)]],
146-
['boolean', [new Type(Type::BUILTIN_TYPE_BOOL)]],
147144
['int', [new Type(Type::BUILTIN_TYPE_INT)]],
148-
['integer', [new Type(Type::BUILTIN_TYPE_INT)]],
149145
['string', [new Type(Type::BUILTIN_TYPE_STRING)]],
150146
['key', [new Type(Type::BUILTIN_TYPE_INT)]],
151147
['hash', [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true)]],

tests/Bridge/Doctrine/MongoDbOdm/PropertyInfo/Fixtures/DoctrineDummy.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@ class DoctrineDummy
101101
*/
102102
private $bool;
103103

104-
/**
105-
* @Field(type="boolean")
106-
*/
107-
private $boolean;
108-
109104
/**
110105
* @Field(type="custom_foo")
111106
*/
@@ -116,11 +111,6 @@ class DoctrineDummy
116111
*/
117112
private $int;
118113

119-
/**
120-
* @Field(type="integer")
121-
*/
122-
private $integer;
123-
124114
/**
125115
* @Field(type="string")
126116
*/

tests/Bridge/Doctrine/MongoDbOdm/PropertyInfo/Fixtures/DoctrineGeneratedValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
class DoctrineGeneratedValue
2727
{
2828
/**
29-
* @Id(strategy="INCREMENT", type="integer")
29+
* @Id(strategy="INCREMENT", type="int")
3030
*/
3131
public $id;
3232

0 commit comments

Comments
 (0)