Skip to content

Commit

Permalink
Merge branch '6.x' into 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Mar 15, 2024
2 parents 595a17f + 411142f commit 8b7ca0c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG-6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench-core`.

## 6.49.1

Released: 2024-03-15

### Fixes

* Fixes `class_implements(): Class AllowDynamicProperties does not exist and could not be loaded` error on PHP 8.1 and lower.

## 6.49.0

Released: 2024-03-13
Expand Down
4 changes: 4 additions & 0 deletions src/PHPUnit/AttributeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ public static function forMethod(string $className, string $methodName): array
*/
public static function validAttribute($class): bool
{
if (\is_string($class) && ! class_exists($class)) {
return false;
}

$implements = class_implements($class);

return isset($implements[TestingFeature::class])
Expand Down

0 comments on commit 8b7ca0c

Please sign in to comment.