Skip to content

Commit

Permalink
Add deprecation note
Browse files Browse the repository at this point in the history
  • Loading branch information
shengslogar committed Feb 6, 2023
1 parent 28fdfc0 commit a188bbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/FacadePhpDocTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ public function testFullyQualifiedClassNames($class, $line)
{
// IDE Helper (v2.4.3) doesn't rewrite class names to FQCNs, so make sure only
// fully qualified class names and built-in types are used in the Manager class
// ----------------------------------------------------------------------------
// Note: we'll eventually need to update with `assertMatchesRegularExpression`.
// This is currently slated for removal in PHPUnit 10, but hasn't been enforced
// yet. Laravel 10 supports PHPUnit 10 and 9, so we've stuck with v9 for now.
// @see https://github.com/laravel/framework/blob/10.x/composer.json#L101
// @see https://github.com/sebastianbergmann/phpunit/issues/4086
$this->assertRegExp(
'/^(\\\\.*|array|object|bool|callable|int|mixed|null|string|void)$/',
$class,
Expand Down

0 comments on commit a188bbf

Please sign in to comment.