Issues (30)

tests/bootstrap.php (1 issue)

1
<?php
2
declare(strict_types=1);
3
4
require __DIR__ . "/../vendor/autoload.php";
5
Testbench\Bootstrap::setup(__DIR__ . '/_temp', function (\Nette\Configurator $configurator): void {
6
  $configurator->addParameters(["appDir" => __DIR__, ]);
0 ignored issues
show
Deprecated Code introduced by
The function Nette\Bootstrap\Configurator::addParameters() has been deprecated: use addStaticParameters() ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

6
  /** @scrutinizer ignore-deprecated */ $configurator->addParameters(["appDir" => __DIR__, ]);

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
7
  $configurator->addConfig(__DIR__ . "/tests.neon");
8
});
9
?>