Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jun 23, 2022
1 parent 6279343 commit b2a431e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/other-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ jobs:
cd e2e/bug7441
composer install
../../phpstan analyse -c app/phpstan.neon
steps:
- name: "Checkout"
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions e2e/restricted-php-ini/app/C.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

class C extends A
{
use T;

public function foo(): void
{
}
Expand Down
9 changes: 9 additions & 0 deletions e2e/restricted-php-ini/app/T.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

trait T
{
public function ff(): void
{
var_dump($x);
}
}
2 changes: 1 addition & 1 deletion e2e/restricted-php-ini/app/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ parameters:
-
message: '~^Undefined variable: \$x$~'
path: '*'
count: 3
count: 4

0 comments on commit b2a431e

Please sign in to comment.