Skip to content

Commit

Permalink
Merge pull request #500 from nanasess/fix-phpstan
Browse files Browse the repository at this point in the history
Fix SMARTY_PLUGINS_DIR not found
  • Loading branch information
chihiro-adachi authored Jan 12, 2022
2 parents 87d0ffc + 87f40b5 commit 3fb5ecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/require.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
$loader = require __DIR__.'/../data/vendor/autoload.php';

class_exists('FPDI'); // XXX PHPStan が FPDI を見つけてくれないのでロードしておく
class_exists('Smarty'); // XXX PHPStan が Smarty を見つけてくれないのでロードしておく

if (!class_exists('PHPUnit_Framework_TestCase')) {
class_alias('PHPUnit\Framework\TestCase', 'PHPUnit_Framework_TestCase');
}
Expand Down

0 comments on commit 3fb5ecf

Please sign in to comment.