Documentation

Deprecated

Table of Contents

Sources/Actions/Admin/Permissions.php
Sources/Actions/RequestMembers.php
Sources/Lang.php
Sources/minify/src/Exception.php
Sources/Search/APIs/Custom.php
Sources/Subs-Compat.php
Sources/ZxcvbnPhp/Matchers/BaseMatch.php
vendor/composer/InstalledVersions.php
vendor/symfony/console/Application.php
vendor/symfony/console/ConsoleEvents.php
vendor/symfony/console/Event/ConsoleExceptionEvent.php
vendor/symfony/console/Helper/QuestionHelper.php
vendor/symfony/debug/Exception/ContextErrorException.php
vendor/symfony/debug/Tests/Fixtures/DeprecatedClass.php
vendor/symfony/debug/Tests/Fixtures/DeprecatedInterface.php
vendor/symfony/finder/Exception/ExceptionInterface.php
vendor/symfony/process/Process.php
vendor/symfony/process/ProcessBuilder.php
vendor/symfony/process/ProcessUtils.php
vendor/symfony/yaml/Dumper.php

Permissions.php

Line Element Reason
3420 Permissions::integrateLoadPermissions()
3506 Permissions::integrateLoadIllegalPermissions()
3546 Permissions::integrateLoadIllegalGuestPermissions()

RequestMembers.php

Line Element Reason
34 RequestMembers

The requestmembers action wasn't used even in SMF 2.0!

Lang.php

Line Element Reason
839 Lang::loadOld()

Only used to support compatibility with old name formats.

Exception.php

Line Element Reason
20 Exception

Use Exceptions\BasicException instead

Custom.php

Line Element Reason
34 Custom

Subs-Compat.php

Line Element Reason
9959 forum_time()

since 2.1

11243 sanitizeMSCutPaste()

BaseMatch.php

Line Element Reason
123 BaseMatch::binom()

Use Binomial::binom() instead

InstalledVersions.php

Line Element Reason
262 InstalledVersions::getRawData()

Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.

Application.php

Line Element Reason
748 Application::getTerminalWidth()

since version 3.2, to be removed in 4.0. Create a Terminal instance instead.

762 Application::getTerminalHeight()

since version 3.2, to be removed in 4.0. Create a Terminal instance instead.

776 Application::getTerminalDimensions()

since version 3.2, to be removed in 4.0. Create a Terminal instance instead.

795 Application::setTerminalDimensions()

since version 3.2, to be removed in 4.0. Set the COLUMNS and LINES env vars instead.

ConsoleEvents.php

Line Element Reason
55 ConsoleEvents::EXCEPTION

The console.exception event is deprecated since version 3.3 and will be removed in 4.0. Use the console.error event instead.

ConsoleExceptionEvent.php

Line Element Reason
27 ConsoleExceptionEvent

since version 3.3, to be removed in 4.0. Use ConsoleErrorEvent instead.

QuestionHelper.php

Line Element Reason
83 QuestionHelper::setInputStream()

since version 3.2, to be removed in 4.0. Use StreamableInputInterface::setStream() instead.

102 QuestionHelper::getInputStream()

since version 3.2, to be removed in 4.0. Use StreamableInputInterface::getStream() instead.

ContextErrorException.php

Line Element Reason
21 ContextErrorException

since version 3.3. Instead, \ErrorException will be used directly in 4.0.

DeprecatedClass.php

Line Element Reason
10 DeprecatedClass

but this is a test deprecation notice.

DeprecatedInterface.php

Line Element Reason
10 DeprecatedInterface

but this is a test deprecation notice.

ExceptionInterface.php

Line Element Reason
19 ExceptionInterface

since 3.3, to be removed in 4.0.

Process.php

Line Element Reason
1188 Process::getOptions()

since version 3.3, to be removed in 4.0.

1204 Process::setOptions()

since version 3.3, to be removed in 4.0.

1222 Process::getEnhanceWindowsCompatibility()

since version 3.3, to be removed in 4.0. Enhanced Windows compatibility will always be enabled.

1238 Process::setEnhanceWindowsCompatibility()

since version 3.3, to be removed in 4.0. Enhanced Windows compatibility will always be enabled.

1254 Process::getEnhanceSigchildCompatibility()

since version 3.3, to be removed in 4.0. Sigchild compatibility will always be enabled.

1274 Process::setEnhanceSigchildCompatibility()

since version 3.3, to be removed in 4.0.

1308 Process::areEnvironmentVariablesInherited()

since version 3.3, to be removed in 4.0. Environment variables will always be inherited.

ProcessBuilder.php

Line Element Reason
126 ProcessBuilder::inheritEnvironmentVariables()

since version 3.3, to be removed in 4.0.

227 ProcessBuilder::setOption()

since version 3.3, to be removed in 4.0.

ProcessUtils.php

Line Element Reason
41 ProcessUtils::escapeArgument()

since version 3.3, to be removed in 4.0. Use a command line array or give env vars to the Process::start/run() method instead.

Dumper.php

Line Element Reason
47 Dumper::setIndentation()

since version 3.1, to be removed in 4.0. Pass the indentation to the constructor instead.

Search results