diff --git a/tests/Config/ConfigTest.php b/tests/Config/ConfigTest.php
index 8348eb048a9..82b48b7b0fe 100644
--- a/tests/Config/ConfigTest.php
+++ b/tests/Config/ConfigTest.php
@@ -860,202 +860,6 @@ class MyMockClass {}
$this->analyzeFile($file_path, new Context());
}
- public function testAllowedEchoFunction(): void
- {
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testForbiddenEchoFunctionViaFunctions(): void
- {
- $this->expectExceptionMessage('ForbiddenCode');
- $this->expectException(\Psalm\Exception\CodeException::class);
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
-
-
-
-
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testForbiddenEchoFunctionViaFlag(): void
- {
- $this->expectExceptionMessage('ForbiddenEcho');
- $this->expectException(\Psalm\Exception\CodeException::class);
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testAllowedPrintFunction(): void
- {
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testForbiddenPrintFunction(): void
- {
- $this->expectExceptionMessage('ForbiddenCode');
- $this->expectException(\Psalm\Exception\CodeException::class);
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
-
-
-
-
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testAllowedVarExportFunction(): void
- {
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testForbiddenVarExportFunction(): void
- {
- $this->expectExceptionMessage('ForbiddenCode');
- $this->expectException(\Psalm\Exception\CodeException::class);
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
-
-
-
-
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
- public function testForbiddenEmptyFunction(): void
- {
- $this->expectExceptionMessage('ForbiddenCode');
- $this->expectException(\Psalm\Exception\CodeException::class);
- $this->project_analyzer = $this->getProjectAnalyzerWithConfig(
- TestConfig::loadFromXML(
- dirname(__DIR__, 2),
- '
-
-
-
-
- '
- )
- );
-
- $file_path = getcwd() . '/src/somefile.php';
-
- $this->addFile(
- $file_path,
- 'analyzeFile($file_path, new Context());
- }
-
public function testValidThrowInvalidCatch(): void
{
$this->expectExceptionMessage('InvalidCatch');