File tree Expand file tree Collapse file tree 3 files changed +8
-19
lines changed
Functional/Doctrine/Phpcr Expand file tree Collapse file tree 3 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 21
21
fail-fast : false
22
22
matrix :
23
23
include :
24
- - php-version : ' 8.0 '
24
+ - php-version : ' 8.1 '
25
25
dependencies : ' lowest'
26
- - php-version : ' 8.0'
27
26
- php-version : ' 8.1'
28
27
- php-version : ' 8.2'
29
28
- php-version : ' 8.3'
Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \Fixtures \App \Document ;
13
13
14
- use Doctrine \ODM \PHPCR \Mapping \Annotations as PHPCRODM ;
14
+ use Doctrine \ODM \PHPCR \Mapping \Attributes as PHPCRODM ;
15
15
16
- /**
17
- * @PHPCRODM\Document(referenceable=true)
18
- */
16
+ #[PHPCRODM \Document(referenceable: true )]
19
17
class Content
20
18
{
21
- /**
22
- * @PHPCRODM\Id
23
- */
19
+ #[PHPCRODM \Id()]
24
20
private $ id ;
25
21
26
- /**
27
- * @PHPCRODM\ParentDocument
28
- */
22
+ #[PHPCRODM \ParentDocument]
29
23
private $ parent ;
30
24
31
- /**
32
- * @PHPCRODM\NodeName
33
- */
25
+ #[PHPCRODM \NodeName]
34
26
private $ name ;
35
27
36
- /**
37
- * @PHPCRODM\Field(type="string")
38
- */
28
+ #[PHPCRODM \Field(type: 'string ' )]
39
29
private $ title ;
40
30
41
31
public function setId ($ id )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function testGetRouteCollectionForRequestFormat()
113
113
*/
114
114
public function testGetRouteCollectionForRequestNonPhpcrUrl ()
115
115
{
116
- $ routes = $ this ->repository ->getRouteCollectionForRequest (Request::create ('http:/// ' ));
116
+ $ routes = $ this ->repository ->getRouteCollectionForRequest (Request::create ('http://localhost / ' ));
117
117
$ this ->assertInstanceOf (RouteCollection::class, $ routes );
118
118
$ this ->assertCount (1 , $ routes );
119
119
You can’t perform that action at this time.
0 commit comments