Skip to content

Commit

Permalink
Phpcs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton authored and CiviCRM committed Sep 16, 2020
1 parent 1b08632 commit f02b1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/afform/core/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));

// phpcs:enable
// Allow autoloading of PHPUnit helper classes in this extension.
$loader = new \Composer\Autoload\ClassLoader();
$loader->add('CRM_', __DIR__);
Expand Down
2 changes: 2 additions & 0 deletions ext/afform/mock/tests/phpunit/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

ini_set('memory_limit', '2G');
ini_set('safe_mode', 0);
// phpcs:disable
eval(cv('php:boot --level=classloader', 'phpcode'));
// phpcs:enable

// Allow autoloading of PHPUnit helper classes in this extension.
foreach ([__DIR__] as $dir) {
Expand Down

0 comments on commit f02b1a3

Please sign in to comment.