Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan committed Sep 5, 2021
1 parent 8a866a3 commit 3be174a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/Fixer/LanguageConstruct/GetClassToClassKeywordFixerTest.php
Expand Up @@ -118,6 +118,18 @@ public function provideFixCases()
'<?php get_class($a === $b);',
];

yield [
'<?php get_class($foo->bar);',
];

yield [
'<?php get_class($$foo);',
];

yield [
'<?php get_class($arr[$bar]);',
];

yield [
'<?php \a\get_class($foo);',
];
Expand Down

0 comments on commit 3be174a

Please sign in to comment.