Skip to content

Commit

Permalink
Use 8.2 in tests for 8.2 attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Mar 3, 2023
1 parent 468dd1b commit 9abd428
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/AttributeTest.php
Expand Up @@ -263,6 +263,9 @@ public function getIterator()
class Foo
{}
',
'assertions' => [],
'ignored_issues' => [],
'php_version' => '8.2',
],
'sensitiveParameter' => [
'code' => '<?php
Expand All @@ -277,6 +280,9 @@ public function __construct(
) {}
}
',
'assertions' => [],
'ignored_issues' => [],
'php_version' => '8.2',
],
'createObjectAsAttributeArg' => [
'code' => '<?php
Expand Down Expand Up @@ -801,6 +807,8 @@ public function __construct(
}
',
'error_message' => 'Attribute SensitiveParameter cannot be used on a method',
'ignored_issues' => [],
'php_version' => '8.2',
],
];
}
Expand Down

0 comments on commit 9abd428

Please sign in to comment.