Documentation

Documentation

Packages

Default
Orbipay
lf4php
PHP

Namespaces

Orbipay
Composer
Doctrine
PhpCsFixer
GuzzleHttp
lf4php
LazyMap
LazyMapPerformance
LazyMapTest
LazyMapTestAsset
phpDocumentor
Prophecy
Foo
bar
Other
foo
PHPUnit
My
Psr
SebastianBergmann
Symfony
Webmozart

Interfaces, Classes and Traits

PHP_CodeCoverage_Driver
Interface for code coverage drivers.
Bor
Foo
Docblock
foo
iTemplate
a
b
i
PHPUnit_Exception
Marker interface for PHPUnit exceptions.
PHPUnit_Framework_IncompleteTest
A marker interface for marking any exception/error as result of an unit test as incomplete implementation or currently not implemented.
PHPUnit_Framework_RiskyTest
A marker interface for marking any exception/error as result of an unit test as risky.
PHPUnit_Framework_SelfDescribing
Interface for classes that can return a description of itself.
PHPUnit_Framework_SkippedTest
A marker interface for marking a unit test as being skipped.
PHPUnit_Framework_Test
A Test can be run and collect its results.
PHPUnit_Framework_TestListener
A Listener for test progress.
PHPUnit_Runner_TestSuiteLoader
An interface to define how a test suite should be loaded.
PHPUnit_Framework_MockObject_Builder_Identity
Builder interface for unique identifiers.
PHPUnit_Framework_MockObject_Builder_Match
Builder interface for invocation order matches.
PHPUnit_Framework_MockObject_Builder_MethodNameMatch
Builder interface for matcher of method names.
PHPUnit_Framework_MockObject_Builder_Namespace
Interface for builders which can register builders with a given identification.
PHPUnit_Framework_MockObject_Builder_ParametersMatch
Builder interface for parameter matchers.
PHPUnit_Framework_MockObject_Builder_Stub
Builder interface for stubs which are actions replacing an invocation.
PHPUnit_Framework_MockObject_Exception
Interface for exceptions used by PHPUnit_MockObject.
PHPUnit_Framework_MockObject_Invocation
Interface for invocations.
PHPUnit_Framework_MockObject_Invokable
Interface for classes which can be invoked.
PHPUnit_Framework_MockObject_Matcher_Invocation
Interface for classes which matches an invocation based on its method name, argument, order or call count.
PHPUnit_Framework_MockObject_MockObject
Interface for all mock objects which are generated by PHPUnit_Framework_MockObject_MockBuilder.
PHPUnit_Framework_MockObject_Stub_MatcherCollection
Stubs a method by returning a user-defined value.
PHPUnit_Framework_MockObject_Stub
An object that stubs the process of a normal method for a mock object.
PHPUnit_Framework_MockObject_Verifiable
Interface for classes which must verify a given expectation.
AnInterface
AnotherInterface
InterfaceWithStaticMethod
MockTestInterface
TraversableMockTestInterface
PHP_CodeSniffer_Report
Represents a PHP_CodeSniffer report.
PHP_CodeSniffer_Sniff
Represents a PHP_CodeSniffer sniff for sniffing coding standards.
Stringable
ComposerAutoloaderInit2ef2a2ba0d77843a47848d922e944464
PHP_CodeCoverage_Driver_HHVM
Driver for HHVM's code coverage functionality.
PHP_CodeCoverage_Driver_PHPDBG
Driver for PHPDBG's code coverage functionality.
PHP_CodeCoverage_Driver_Xdebug
Driver for Xdebug's code coverage functionality.
PHP_CodeCoverage_Exception_UnintentionallyCoveredCode
Exception that is raised when code is unintentionally covered.
PHP_CodeCoverage_Exception
Exception class for PHP_CodeCoverage component.
PHP_CodeCoverage_Filter
Filter for blacklisting and whitelisting of code coverage information.
PHP_CodeCoverage_Report_Clover
Generates a Clover XML logfile from an PHP_CodeCoverage object.
PHP_CodeCoverage_Report_Crap4j
PHP_CodeCoverage_Report_Factory
Factory for PHP_CodeCoverage_Report_Node_* object graphs.
PHP_CodeCoverage_Report_HTML_Renderer_Dashboard
Renders the dashboard for a PHP_CodeCoverage_Report_Node_Directory node.
PHP_CodeCoverage_Report_HTML_Renderer_Directory
Renders a PHP_CodeCoverage_Report_Node_Directory node.
PHP_CodeCoverage_Report_HTML_Renderer_File
Renders a PHP_CodeCoverage_Report_Node_File node.
PHP_CodeCoverage_Report_HTML_Renderer
Base class for PHP_CodeCoverage_Report_Node renderers.
PHP_CodeCoverage_Report_HTML
Generates an HTML report from an PHP_CodeCoverage object.
PHP_CodeCoverage_Report_Node_Directory
Represents a directory in the code coverage information tree.
PHP_CodeCoverage_Report_Node_File
Represents a file in the code coverage information tree.
PHP_CodeCoverage_Report_Node_Iterator
Recursive iterator for PHP_CodeCoverage_Report_Node object graphs.
PHP_CodeCoverage_Report_Node
Base class for nodes in the code coverage information tree.
PHP_CodeCoverage_Report_PHP
Uses var_export() to write a PHP_CodeCoverage object to a file.
PHP_CodeCoverage_Report_Text
Generates human readable output from an PHP_CodeCoverage object.
PHP_CodeCoverage_Report_XML_Directory
PHP_CodeCoverage_Report_XML_File_Coverage
PHP_CodeCoverage_Report_XML_File_Method
PHP_CodeCoverage_Report_XML_File_Report
PHP_CodeCoverage_Report_XML_File_Unit
PHP_CodeCoverage_Report_XML_File
PHP_CodeCoverage_Report_XML_Node
PHP_CodeCoverage_Report_XML_Project
PHP_CodeCoverage_Report_XML_Tests
PHP_CodeCoverage_Report_XML_Totals
PHP_CodeCoverage_Report_XML
PHP_CodeCoverage_Util_InvalidArgumentHelper
Factory for PHP_CodeCoverage_Exception objects that are used to describe invalid arguments passed to a function or method.
PHP_CodeCoverage_Util
Utility methods.
PHP_CodeCoverage
Provides collection functionality for PHP code coverage information.
BankAccount
BankAccountTest
A TestCase defines the fixture to run multiple tests.
CoverageClassExtendedTest
A TestCase defines the fixture to run multiple tests.
CoverageClassTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionParenthesesTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionParenthesesWhitespaceTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodOneLineAnnotationTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodParenthesesTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodParenthesesWhitespaceTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodTest
A TestCase defines the fixture to run multiple tests.
CoverageNoneTest
A TestCase defines the fixture to run multiple tests.
CoverageNothingTest
A TestCase defines the fixture to run multiple tests.
CoverageNotPrivateTest
A TestCase defines the fixture to run multiple tests.
CoverageNotProtectedTest
A TestCase defines the fixture to run multiple tests.
CoverageNotPublicTest
A TestCase defines the fixture to run multiple tests.
CoveragePrivateTest
A TestCase defines the fixture to run multiple tests.
CoverageProtectedTest
A TestCase defines the fixture to run multiple tests.
CoveragePublicTest
A TestCase defines the fixture to run multiple tests.
CoverageTwoDefaultClassAnnotations
CoveredParentClass
CoveredClass
NamespaceCoverageClassExtendedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageClassTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageCoversClassPublicTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageCoversClassTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageMethodTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotPrivateTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotProtectedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotPublicTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoveragePrivateTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageProtectedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoveragePublicTest
A TestCase defines the fixture to run multiple tests.
NotExistingCoveredElementTest
A TestCase defines the fixture to run multiple tests.
CoveredClassWithAnonymousFunctionInStaticMethod
Foo
Bar
Foo
Foo
Represents foo.
PHP_CodeCoverage_FilterTest
Tests for the PHP_CodeCoverage_Filter class.
PHP_CodeCoverage_Report_CloverTest
Tests for the PHP_CodeCoverage_Report_Clover class.
PHP_CodeCoverage_Report_FactoryTest
Tests for the PHP_CodeCoverage_Report_Factory class.
PHP_CodeCoverage_UtilTest
Tests for the PHP_CodeCoverage_Util class.
PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.
PHP_CodeCoverage_TestCase
Abstract base class for test case classes.
File_Iterator_Facade
Façade implementation that uses File_Iterator_Factory to create a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path. The list of unique files is returned as an array.
File_Iterator_Factory
Factory Method implementation that creates a File_Iterator that operates on an AppendIterator that contains an RecursiveDirectoryIterator for each given path.
File_Iterator
FilterIterator implementation that filters files based on prefix(es) and/or suffix(es). Hidden files and files from hidden directories are also filtered.
Text_Template
A simple template engine.
PHP_Timer
Utility class for timing.
PHP_TimerTest
A TestCase defines the fixture to run multiple tests.
PHP_Token_Stream_CachingFactory
A caching factory for token stream objects.
PHP_Token_Stream
A stream of PHP tokens.
PHP_Token
A PHP token.
PHP_TokenWithScope
A PHP token.
PHP_TokenWithScopeAndVisibility
A PHP token.
PHP_Token_Includes
A PHP token.
PHP_Token_FUNCTION
A PHP token.
PHP_Token_INTERFACE
A PHP token.
PHP_Token_ABSTRACT
A PHP token.
PHP_Token_AMPERSAND
A PHP token.
PHP_Token_AND_EQUAL
A PHP token.
PHP_Token_ARRAY
A PHP token.
PHP_Token_ARRAY_CAST
A PHP token.
PHP_Token_AS
A PHP token.
PHP_Token_AT
A PHP token.
PHP_Token_BACKTICK
A PHP token.
PHP_Token_BAD_CHARACTER
A PHP token.
PHP_Token_BOOLEAN_AND
A PHP token.
PHP_Token_BOOLEAN_OR
A PHP token.
PHP_Token_BOOL_CAST
A PHP token.
PHP_Token_BREAK
A PHP token.
PHP_Token_CARET
A PHP token.
PHP_Token_CASE
A PHP token.
PHP_Token_CATCH
A PHP token.
PHP_Token_CHARACTER
A PHP token.
PHP_Token_CLASS
A PHP token.
PHP_Token_CLASS_C
A PHP token.
PHP_Token_CLASS_NAME_CONSTANT
A PHP token.
PHP_Token_CLONE
A PHP token.
PHP_Token_CLOSE_BRACKET
A PHP token.
PHP_Token_CLOSE_CURLY
A PHP token.
PHP_Token_CLOSE_SQUARE
A PHP token.
PHP_Token_CLOSE_TAG
A PHP token.
PHP_Token_COLON
A PHP token.
PHP_Token_COMMA
A PHP token.
PHP_Token_COMMENT
A PHP token.
PHP_Token_CONCAT_EQUAL
A PHP token.
PHP_Token_CONST
A PHP token.
PHP_Token_CONSTANT_ENCAPSED_STRING
A PHP token.
PHP_Token_CONTINUE
A PHP token.
PHP_Token_CURLY_OPEN
A PHP token.
PHP_Token_DEC
A PHP token.
PHP_Token_DECLARE
A PHP token.
PHP_Token_DEFAULT
A PHP token.
PHP_Token_DIV
A PHP token.
PHP_Token_DIV_EQUAL
A PHP token.
PHP_Token_DNUMBER
A PHP token.
PHP_Token_DO
A PHP token.
PHP_Token_DOC_COMMENT
A PHP token.
PHP_Token_DOLLAR
A PHP token.
PHP_Token_DOLLAR_OPEN_CURLY_BRACES
A PHP token.
PHP_Token_DOT
A PHP token.
PHP_Token_DOUBLE_ARROW
A PHP token.
PHP_Token_DOUBLE_CAST
A PHP token.
PHP_Token_DOUBLE_COLON
A PHP token.
PHP_Token_DOUBLE_QUOTES
A PHP token.
PHP_Token_ECHO
A PHP token.
PHP_Token_ELSE
A PHP token.
PHP_Token_ELSEIF
A PHP token.
PHP_Token_EMPTY
A PHP token.
PHP_Token_ENCAPSED_AND_WHITESPACE
A PHP token.
PHP_Token_ENDDECLARE
A PHP token.
PHP_Token_ENDFOR
A PHP token.
PHP_Token_ENDFOREACH
A PHP token.
PHP_Token_ENDIF
A PHP token.
PHP_Token_ENDSWITCH
A PHP token.
PHP_Token_ENDWHILE
A PHP token.
PHP_Token_END_HEREDOC
A PHP token.
PHP_Token_EQUAL
A PHP token.
PHP_Token_EVAL
A PHP token.
PHP_Token_EXCLAMATION_MARK
A PHP token.
PHP_Token_EXIT
A PHP token.
PHP_Token_EXTENDS
A PHP token.
PHP_Token_FILE
A PHP token.
PHP_Token_FINAL
A PHP token.
PHP_Token_FOR
A PHP token.
PHP_Token_FOREACH
A PHP token.
PHP_Token_FUNC_C
A PHP token.
PHP_Token_GLOBAL
A PHP token.
PHP_Token_GT
A PHP token.
PHP_Token_IF
A PHP token.
PHP_Token_IMPLEMENTS
A PHP token.
PHP_Token_INC
A PHP token.
PHP_Token_INCLUDE
A PHP token.
PHP_Token_INCLUDE_ONCE
A PHP token.
PHP_Token_INLINE_HTML
A PHP token.
PHP_Token_INSTANCEOF
A PHP token.
PHP_Token_INT_CAST
A PHP token.
PHP_Token_ISSET
A PHP token.
PHP_Token_IS_EQUAL
A PHP token.
PHP_Token_IS_GREATER_OR_EQUAL
A PHP token.
PHP_Token_IS_IDENTICAL
A PHP token.
PHP_Token_IS_NOT_EQUAL
A PHP token.
PHP_Token_IS_NOT_IDENTICAL
A PHP token.
PHP_Token_IS_SMALLER_OR_EQUAL
A PHP token.
PHP_Token_LINE
A PHP token.
PHP_Token_LIST
A PHP token.
PHP_Token_LNUMBER
A PHP token.
PHP_Token_LOGICAL_AND
A PHP token.
PHP_Token_LOGICAL_OR
A PHP token.
PHP_Token_LOGICAL_XOR
A PHP token.
PHP_Token_LT
A PHP token.
PHP_Token_METHOD_C
A PHP token.
PHP_Token_MINUS
A PHP token.
PHP_Token_MINUS_EQUAL
A PHP token.
PHP_Token_MOD_EQUAL
A PHP token.
PHP_Token_MULT
A PHP token.
PHP_Token_MUL_EQUAL
A PHP token.
PHP_Token_NEW
A PHP token.
PHP_Token_NUM_STRING
A PHP token.
PHP_Token_OBJECT_CAST
A PHP token.
PHP_Token_OBJECT_OPERATOR
A PHP token.
PHP_Token_OPEN_BRACKET
A PHP token.
PHP_Token_OPEN_CURLY
A PHP token.
PHP_Token_OPEN_SQUARE
A PHP token.
PHP_Token_OPEN_TAG
A PHP token.
PHP_Token_OPEN_TAG_WITH_ECHO
A PHP token.
PHP_Token_OR_EQUAL
A PHP token.
PHP_Token_PAAMAYIM_NEKUDOTAYIM
A PHP token.
PHP_Token_PERCENT
A PHP token.
PHP_Token_PIPE
A PHP token.
PHP_Token_PLUS
A PHP token.
PHP_Token_PLUS_EQUAL
A PHP token.
PHP_Token_PRINT
A PHP token.
PHP_Token_PRIVATE
A PHP token.
PHP_Token_PROTECTED
A PHP token.
PHP_Token_PUBLIC
A PHP token.
PHP_Token_QUESTION_MARK
A PHP token.
PHP_Token_REQUIRE
A PHP token.
PHP_Token_REQUIRE_ONCE
A PHP token.
PHP_Token_RETURN
A PHP token.
PHP_Token_SEMICOLON
A PHP token.
PHP_Token_SL
A PHP token.
PHP_Token_SL_EQUAL
A PHP token.
PHP_Token_SR
A PHP token.
PHP_Token_SR_EQUAL
A PHP token.
PHP_Token_START_HEREDOC
A PHP token.
PHP_Token_STATIC
A PHP token.
PHP_Token_STRING
A PHP token.
PHP_Token_STRING_CAST
A PHP token.
PHP_Token_STRING_VARNAME
A PHP token.
PHP_Token_SWITCH
A PHP token.
PHP_Token_THROW
A PHP token.
PHP_Token_TILDE
A PHP token.
PHP_Token_TRY
A PHP token.
PHP_Token_UNSET
A PHP token.
PHP_Token_UNSET_CAST
A PHP token.
PHP_Token_USE
A PHP token.
PHP_Token_USE_FUNCTION
A PHP token.
PHP_Token_VAR
A PHP token.
PHP_Token_VARIABLE
A PHP token.
PHP_Token_WHILE
A PHP token.
PHP_Token_WHITESPACE
A PHP token.
PHP_Token_XOR_EQUAL
A PHP token.
PHP_Token_HALT_COMPILER
A PHP token.
PHP_Token_DIR
A PHP token.
PHP_Token_GOTO
A PHP token.
PHP_Token_NAMESPACE
A PHP token.
PHP_Token_NS_C
A PHP token.
PHP_Token_NS_SEPARATOR
A PHP token.
PHP_Token_CALLABLE
A PHP token.
PHP_Token_INSTEADOF
A PHP token.
PHP_Token_TRAIT
A PHP token.
PHP_Token_TRAIT_C
A PHP token.
PHP_Token_FINALLY
A PHP token.
PHP_Token_YIELD
A PHP token.
PHP_Token_ELLIPSIS
A PHP token.
PHP_Token_POW
A PHP token.
PHP_Token_POW_EQUAL
A PHP token.
PHP_Token_COALESCE
A PHP token.
PHP_Token_SPACESHIP
A PHP token.
PHP_Token_YIELD_FROM
A PHP token.
PHP_Token_ASYNC
A PHP token.
PHP_Token_AWAIT
A PHP token.
PHP_Token_COMPILER_HALT_OFFSET
A PHP token.
PHP_Token_ENUM
A PHP token.
PHP_Token_EQUALS
A PHP token.
PHP_Token_IN
A PHP token.
PHP_Token_JOIN
A PHP token.
PHP_Token_LAMBDA_ARROW
A PHP token.
PHP_Token_LAMBDA_CP
A PHP token.
PHP_Token_LAMBDA_OP
A PHP token.
PHP_Token_ONUMBER
A PHP token.
PHP_Token_NULLSAFE_OBJECT_OPERATOR
A PHP token.
PHP_Token_SHAPE
A PHP token.
PHP_Token_SUPER
A PHP token.
PHP_Token_TYPE
A PHP token.
PHP_Token_TYPELIST_GT
A PHP token.
PHP_Token_TYPELIST_LT
A PHP token.
PHP_Token_WHERE
A PHP token.
PHP_Token_XHP_ATTRIBUTE
A PHP token.
PHP_Token_XHP_CATEGORY
A PHP token.
PHP_Token_XHP_CATEGORY_LABEL
A PHP token.
PHP_Token_XHP_CHILDREN
A PHP token.
PHP_Token_XHP_LABEL
A PHP token.
PHP_Token_XHP_REQUIRED
A PHP token.
PHP_Token_XHP_TAG_GT
A PHP token.
PHP_Token_XHP_TAG_LT
A PHP token.
PHP_Token_XHP_TEXT
A PHP token.
class_with_method_that_declares_anonymous_class
Test
TestClass
Foo
Foo
Some comment
A
c
a
c
PHP_Token_ClassTest
Tests for the PHP_Token_CLASS class.
PHP_Token_ClosureTest
Tests for the PHP_Token_FUNCTION class.
PHP_Token_FunctionTest
Tests for the PHP_Token_FUNCTION class.
PHP_Token_IncludeTest
Tests for the PHP_Token_REQUIRE_ONCE, PHP_Token_REQUIRE PHP_Token_INCLUDE_ONCE and PHP_Token_INCLUDE_ONCE classes.
PHP_Token_InterfaceTest
Tests for the PHP_Token_INTERFACE class.
PHP_Token_NamespaceTest
Tests for the PHP_Token_NAMESPACE class.
PHP_TokenTest
Tests for the PHP_Token class.
PHPUnit_Extensions_GroupTestSuite
We have a TestSuite object A.
PHPUnit_Extensions_PhptTestCase
Runner for PHPT test cases.
PHPUnit_Extensions_PhptTestSuite
Suite for .phpt test cases.
PHPUnit_Extensions_RepeatedTest
A Decorator that runs a test repeatedly.
PHPUnit_Extensions_TestDecorator
A Decorator for Tests.
PHPUnit_Extensions_TicketListener
Base class for test listeners that interact with an issue tracker.
PHPUnit_Framework_Assert
A set of assertion methods.
PHPUnit_Framework_AssertionFailedError
Thrown when an assertion failed.
PHPUnit_Framework_BaseTestListener
An empty Listener that can be extended to implement TestListener with just a few lines of code.
PHPUnit_Framework_CodeCoverageException
Base class for all PHPUnit Framework exceptions.
PHPUnit_Framework_Constraint_And
Logical AND.
PHPUnit_Framework_Constraint_ArrayHasKey
Constraint that asserts that the array it is evaluated for has a given key.
PHPUnit_Framework_Constraint_ArraySubset
Constraint that asserts that the array it is evaluated for has a specified subset.
PHPUnit_Framework_Constraint_Attribute
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_Callback
Constraint that evaluates against a specified closure.
PHPUnit_Framework_Constraint_ClassHasAttribute
Constraint that asserts that the class it is evaluated for has a given attribute.
PHPUnit_Framework_Constraint_ClassHasStaticAttribute
Constraint that asserts that the class it is evaluated for has a given static attribute.
PHPUnit_Framework_Constraint_Composite
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_Count
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_Exception
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_ExceptionCode
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_ExceptionMessage
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_ExceptionMessageRegExp
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_FileExists
Constraint that checks if the file(name) that it is evaluated for exists.
PHPUnit_Framework_Constraint_GreaterThan
Constraint that asserts that the value it is evaluated for is greater than a given value.
PHPUnit_Framework_Constraint_IsAnything
Constraint that accepts any input value.
PHPUnit_Framework_Constraint_IsEmpty
Constraint that checks whether a variable is empty().
PHPUnit_Framework_Constraint_IsEqual
Constraint that checks if one value is equal to another.
PHPUnit_Framework_Constraint_IsFalse
Constraint that accepts false.
PHPUnit_Framework_Constraint_IsIdentical
Constraint that asserts that one value is identical to another.
PHPUnit_Framework_Constraint_IsInstanceOf
Constraint that asserts that the object it is evaluated for is an instance of a given class.
PHPUnit_Framework_Constraint_IsJson
Constraint that asserts that a string is valid JSON.
PHPUnit_Framework_Constraint_IsNull
Constraint that accepts null.
PHPUnit_Framework_Constraint_IsTrue
Constraint that accepts true.
PHPUnit_Framework_Constraint_IsType
Constraint that asserts that the value it is evaluated for is of a specified type.
PHPUnit_Framework_Constraint_JsonMatches_ErrorMessageProvider
Provides human readable messages for each JSON error.
PHPUnit_Framework_Constraint_JsonMatches
Asserts whether or not two JSON objects are equal.
PHPUnit_Framework_Constraint_LessThan
Constraint that asserts that the value it is evaluated for is less than a given value.
PHPUnit_Framework_Constraint_Not
Logical NOT.
PHPUnit_Framework_Constraint_ObjectHasAttribute
Constraint that asserts that the object it is evaluated for has a given attribute.
PHPUnit_Framework_Constraint_Or
Logical OR.
PHPUnit_Framework_Constraint_PCREMatch
Constraint that asserts that the string it is evaluated for matches a regular expression.
PHPUnit_Framework_Constraint_SameSize
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Constraint_StringContains
Constraint that asserts that the string it is evaluated for contains a given string.
PHPUnit_Framework_Constraint_StringEndsWith
Constraint that asserts that the string it is evaluated for ends with a given suffix.
PHPUnit_Framework_Constraint_StringMatches
Constraint that asserts that the string it is evaluated for matches a regular expression.
PHPUnit_Framework_Constraint_StringStartsWith
Constraint that asserts that the string it is evaluated for begins with a given prefix.
PHPUnit_Framework_Constraint_TraversableContains
Constraint that asserts that the Traversable it is applied to contains a given value.
PHPUnit_Framework_Constraint_TraversableContainsOnly
Constraint that asserts that the Traversable it is applied to contains only values of a given type.
PHPUnit_Framework_Constraint_Xor
Logical XOR.
PHPUnit_Framework_Constraint
Abstract base class for constraints which can be applied to any value.
PHPUnit_Framework_Error_Deprecated
Wrapper for PHP deprecated errors.
PHPUnit_Framework_Error_Notice
Wrapper for PHP notices.
PHPUnit_Framework_Error_Warning
Wrapper for PHP warnings.
PHPUnit_Framework_Error
Wrapper for PHP errors.
PHPUnit_Framework_Exception
Base class for all PHPUnit Framework exceptions.
PHPUnit_Framework_ExceptionWrapper
Wraps Exceptions thrown by code under test.
PHPUnit_Framework_ExpectationFailedException
Exception for expectations which failed their check.
PHPUnit_Framework_IncompleteTestCase
An incomplete test case
PHPUnit_Framework_IncompleteTestError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of an incomplete test.
PHPUnit_Framework_InvalidCoversTargetError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test that is skipped because of an invalid @covers annotation.
PHPUnit_Framework_InvalidCoversTargetException
Base class for all PHPUnit Framework exceptions.
PHPUnit_Framework_OutputError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test that printed output.
PHPUnit_Framework_RiskyTestError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a risky test.
PHPUnit_Framework_SkippedTestCase
A skipped test case
PHPUnit_Framework_SkippedTestError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a skipped test.
PHPUnit_Framework_SkippedTestSuiteError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a skipped test suite.
PHPUnit_Framework_SyntheticError
Creates a synthetic failed assertion.
PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.
PHPUnit_Framework_TestFailure
A TestFailure collects a failed test together with the caught exception.
PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.
PHPUnit_Framework_TestSuite_DataProvider
A TestSuite is a composite of Tests. It runs a collection of test cases.
PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.
PHPUnit_Framework_UnintentionallyCoveredCodeError
Extension to PHPUnit_Framework_AssertionFailedError to mark the special case of a test test that unintentionally covers code.
PHPUnit_Framework_Warning
A warning.
PHPUnit_Runner_BaseTestRunner
Base class for all test runners.
PHPUnit_Runner_Exception
PHPUnit_Runner_Filter_Factory
PHPUnit_Runner_Filter_Group_Exclude
PHPUnit_Runner_Filter_Group_Include
PHPUnit_Runner_Filter_GroupFilterIterator
PHPUnit_Runner_Filter_Test
PHPUnit_Runner_StandardTestSuiteLoader
The standard test suite loader.
PHPUnit_Runner_Version
This class defines the current version of PHPUnit.
PHPUnit_TextUI_Command
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
PHPUnit_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.
PHPUnit_TextUI_TestRunner
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
PHPUnit_Util_Blacklist
Utility class for blacklisting PHPUnit's own source code files.
PHPUnit_Util_Configuration
Wrapper for the PHPUnit XML configuration file.
PHPUnit_Util_ErrorHandler
Error handler that converts PHP errors and warnings to exceptions.
PHPUnit_Util_Fileloader
Utility methods to load PHP sourcefiles.
PHPUnit_Util_Filesystem
Filesystem helpers.
PHPUnit_Util_Filter
Utility class for code filtering.
PHPUnit_Util_Getopt
Command-line options parsing class.
PHPUnit_Util_GlobalState
PHPUnit_Util_InvalidArgumentHelper
Factory for PHPUnit_Framework_Exception objects that are used to describe invalid arguments passed to a function or method.
PHPUnit_Util_Log_JSON
A TestListener that generates JSON messages.
PHPUnit_Util_Log_JUnit
A TestListener that generates a logfile of the test execution in XML markup.
PHPUnit_Util_Log_TAP
A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).
PHPUnit_Util_PHP_Default
Default utility for PHP sub-processes.
PHPUnit_Util_PHP_Windows
Windows utility for PHP sub-processes.
PHPUnit_Util_PHP
Utility methods for PHP sub-processes.
PHPUnit_Util_Printer
Utility class that can print to STDOUT or write to a file.
PHPUnit_Util_Regex
Error handler that converts PHP errors and warnings to exceptions.
PHPUnit_Util_String
String helpers.
PHPUnit_Util_Test
Test helpers.
PHPUnit_Util_TestDox_NamePrettifier
Prettifies class and method names for use in TestDox documentation.
PHPUnit_Util_TestDox_ResultPrinter_HTML
Prints TestDox documentation in HTML format.
PHPUnit_Util_TestDox_ResultPrinter_Text
Prints TestDox documentation in text format.
PHPUnit_Util_TestDox_ResultPrinter
Base class for printers of TestDox documentation.
PHPUnit_Util_TestSuiteIterator
Iterator for test suites.
PHPUnit_Util_Type
Utility class for textual type (and value) representation.
PHPUnit_Util_XML
XML helpers.
AbstractTest
A TestCase defines the fixture to run multiple tests.
Author
An author.
BankAccountException
BankAccount
A bank account.
BankAccountTest
Tests for the BankAccount class.
BankAccountWithCustomExtensionTest
Tests for the BankAccount class.
BaseTestListenerSample
An empty Listener that can be extended to implement TestListener with just a few lines of code.
BeforeAndAfterTest
A TestCase defines the fixture to run multiple tests.
BeforeClassAndAfterClassTest
A TestCase defines the fixture to run multiple tests.
Book
A book.
Calculator
ChangeCurrentWorkingDirectoryTest
A TestCase defines the fixture to run multiple tests.
ParentClassWithPrivateAttributes
ParentClassWithProtectedAttributes
ClassWithNonPublicAttributes
ClassWithScalarTypeDeclarations
ClassWithToString
A class with a __toString() method.
ConcreteWithMyCustomExtensionTest
A TestCase defines the fixture to run multiple tests.
ConcreteTest
A TestCase defines the fixture to run multiple tests.
CoverageClassExtendedTest
A TestCase defines the fixture to run multiple tests.
CoverageClassTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionParenthesesTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionParenthesesWhitespaceTest
A TestCase defines the fixture to run multiple tests.
CoverageFunctionTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodOneLineAnnotationTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodParenthesesTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodParenthesesWhitespaceTest
A TestCase defines the fixture to run multiple tests.
CoverageMethodTest
A TestCase defines the fixture to run multiple tests.
CoverageNamespacedFunctionTest
A TestCase defines the fixture to run multiple tests.
CoverageNoneTest
A TestCase defines the fixture to run multiple tests.
CoverageNothingTest
A TestCase defines the fixture to run multiple tests.
CoverageNotPrivateTest
A TestCase defines the fixture to run multiple tests.
CoverageNotProtectedTest
A TestCase defines the fixture to run multiple tests.
CoverageNotPublicTest
A TestCase defines the fixture to run multiple tests.
CoveragePrivateTest
A TestCase defines the fixture to run multiple tests.
CoverageProtectedTest
A TestCase defines the fixture to run multiple tests.
CoveragePublicTest
A TestCase defines the fixture to run multiple tests.
CoverageTwoDefaultClassAnnotations
CoveredParentClass
CoveredClass
CustomPrinter
Prints the result of a TextUI TestRunner run.
DataProviderDebugTest
A TestCase defines the fixture to run multiple tests.
DataProviderFilterTest
A TestCase defines the fixture to run multiple tests.
DataProviderIncompleteTest
A TestCase defines the fixture to run multiple tests.
DataProviderSkippedTest
A TestCase defines the fixture to run multiple tests.
DataProviderTest
A TestCase defines the fixture to run multiple tests.
DependencyFailureTest
A TestCase defines the fixture to run multiple tests.
DependencySuccessTest
A TestCase defines the fixture to run multiple tests.
DependencyTestSuite
DoubleTestCase
DummyException
EmptyTestCaseTest
A TestCase defines the fixture to run multiple tests.
ExceptionInAssertPostConditionsTest
A TestCase defines the fixture to run multiple tests.
ExceptionInAssertPreConditionsTest
A TestCase defines the fixture to run multiple tests.
ExceptionInSetUpTest
A TestCase defines the fixture to run multiple tests.
ExceptionInTearDownTest
A TestCase defines the fixture to run multiple tests.
ExceptionInTest
A TestCase defines the fixture to run multiple tests.
ExceptionStackTest
A TestCase defines the fixture to run multiple tests.
ExceptionTest
A TestCase defines the fixture to run multiple tests.
Failure
A TestCase defines the fixture to run multiple tests.
FailureTest
A TestCase defines the fixture to run multiple tests.
FatalTest
A TestCase defines the fixture to run multiple tests.
IncompleteTest
A TestCase defines the fixture to run multiple tests.
InheritanceA
A TestCase defines the fixture to run multiple tests.
InheritanceB
A TestCase defines the fixture to run multiple tests.
InheritedTestCase
A TestCase defines the fixture to run multiple tests.
IniTest
A TestCase defines the fixture to run multiple tests.
IsolationTest
A TestCase defines the fixture to run multiple tests.
MockRunner
Base class for all test runners.
MultiDependencyTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageClassExtendedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageClassTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageCoversClassPublicTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageCoversClassTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageMethodTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotPrivateTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotProtectedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageNotPublicTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoveragePrivateTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoverageProtectedTest
A TestCase defines the fixture to run multiple tests.
NamespaceCoveragePublicTest
A TestCase defines the fixture to run multiple tests.
NoArgTestCaseTest
A TestCase defines the fixture to run multiple tests.
NonStatic
NoTestCaseClass
NoTestCases
A TestCase defines the fixture to run multiple tests.
NotExistingCoveredElementTest
A TestCase defines the fixture to run multiple tests.
NothingTest
A TestCase defines the fixture to run multiple tests.
NotPublicTestCase
A TestCase defines the fixture to run multiple tests.
NotVoidTestCase
A TestCase defines the fixture to run multiple tests.
OneTestCase
A TestCase defines the fixture to run multiple tests.
OutputTestCase
A TestCase defines the fixture to run multiple tests.
OverrideTestCase
A TestCase defines the fixture to run multiple tests.
RequirementsClassBeforeClassHookTest
A TestCase defines the fixture to run multiple tests.
RequirementsClassDocBlockTest
RequirementsTest
A TestCase defines the fixture to run multiple tests.
SampleArrayAccess
Sample class that implements ArrayAccess copied from http://www.php.net/manual/en/class.arrayaccess.php with some minor changes This class required for PHPUnit_Framework_Constraint_ArrayHasKey testing
SampleClass
Singleton
StackTest
A TestCase defines the fixture to run multiple tests.
StatusTest
A TestCase defines the fixture to run multiple tests.
Struct
Success
A TestCase defines the fixture to run multiple tests.
TemplateMethodsTest
A TestCase defines the fixture to run multiple tests.
TestIncomplete
A TestCase defines the fixture to run multiple tests.
TestIterator
TestIterator2
TestSkipped
A TestCase defines the fixture to run multiple tests.
TestError
A TestCase defines the fixture to run multiple tests.
TestWithTest
A TestCase defines the fixture to run multiple tests.
ThrowExceptionTestCase
A TestCase defines the fixture to run multiple tests.
ThrowNoExceptionTestCase
A TestCase defines the fixture to run multiple tests.
WasRun
A TestCase defines the fixture to run multiple tests.
Extensions_PhptTestCaseTest
A TestCase defines the fixture to run multiple tests.
PhpTestCaseProxy
Runner for PHPT test cases.
Extensions_RepeatedTestTest
A TestCase defines the fixture to run multiple tests.
Framework_AssertTest
A TestCase defines the fixture to run multiple tests.
Framework_BaseTestListenerTest
A TestCase defines the fixture to run multiple tests.
CountTest
A TestCase defines the fixture to run multiple tests.
ExceptionMessageRegExpTest
A TestCase defines the fixture to run multiple tests.
ExceptionMessageTest
A TestCase defines the fixture to run multiple tests.
Framework_Constraint_JsonMatches_ErrorMessageProviderTest
A TestCase defines the fixture to run multiple tests.
Framework_Constraint_JsonMatchesTest
A TestCase defines the fixture to run multiple tests.
Framework_ConstraintTest
A TestCase defines the fixture to run multiple tests.
Framework_SuiteTest
A TestCase defines the fixture to run multiple tests.
Framework_TestCaseTest
A TestCase defines the fixture to run multiple tests.
Framework_TestFailureTest
A TestCase defines the fixture to run multiple tests.
Framework_TestImplementorTest
A TestCase defines the fixture to run multiple tests.
Framework_TestListenerTest
A TestCase defines the fixture to run multiple tests.
Issue1149Test
A TestCase defines the fixture to run multiple tests.
Issue1216Test
A TestCase defines the fixture to run multiple tests.
Issue1265Test
A TestCase defines the fixture to run multiple tests.
Issue1330Test
A TestCase defines the fixture to run multiple tests.
Issue1335Test
A TestCase defines the fixture to run multiple tests.
Issue1337Test
A TestCase defines the fixture to run multiple tests.
Issue1348Test
A TestCase defines the fixture to run multiple tests.
ChildProcessClass1351
Issue1351Test
A TestCase defines the fixture to run multiple tests.
Issue1374Test
A TestCase defines the fixture to run multiple tests.
Issue1437Test
A TestCase defines the fixture to run multiple tests.
Issue1468Test
A TestCase defines the fixture to run multiple tests.
Issue1471Test
A TestCase defines the fixture to run multiple tests.
Issue1472Test
A TestCase defines the fixture to run multiple tests.
Issue1570Test
A TestCase defines the fixture to run multiple tests.
Issue2158Test
A TestCase defines the fixture to run multiple tests.
Issue244Test
A TestCase defines the fixture to run multiple tests.
Issue244Exception
Issue244ExceptionIntCode
Issue322Test
A TestCase defines the fixture to run multiple tests.
Issue433Test
A TestCase defines the fixture to run multiple tests.
Issue445Test
A TestCase defines the fixture to run multiple tests.
Issue498Test
A TestCase defines the fixture to run multiple tests.
Issue503Test
A TestCase defines the fixture to run multiple tests.
Issue581Test
A TestCase defines the fixture to run multiple tests.
Issue74Test
A TestCase defines the fixture to run multiple tests.
NewException
Issue765Test
A TestCase defines the fixture to run multiple tests.
Issue797Test
A TestCase defines the fixture to run multiple tests.
Issue1021Test
A TestCase defines the fixture to run multiple tests.
Issue523Test
A TestCase defines the fixture to run multiple tests.
Issue523
Issue578Test
A TestCase defines the fixture to run multiple tests.
Foo_Bar_Issue684Test
A TestCase defines the fixture to run multiple tests.
ChildSuite
OneTest
A TestCase defines the fixture to run multiple tests.
ParentSuite
TwoTest
A TestCase defines the fixture to run multiple tests.
Runner_BaseTestRunnerTest
A TestCase defines the fixture to run multiple tests.
Util_ConfigurationTest
A TestCase defines the fixture to run multiple tests.
Util_GetoptTest
A TestCase defines the fixture to run multiple tests.
Util_GlobalStateTest
A TestCase defines the fixture to run multiple tests.
Util_RegexTest
A TestCase defines the fixture to run multiple tests.
Util_TestDox_NamePrettifierTest
A TestCase defines the fixture to run multiple tests.
Util_TestTest
A TestCase defines the fixture to run multiple tests.
Util_XMLTest
A TestCase defines the fixture to run multiple tests.
PHPUnit_Framework_MockObject_Builder_InvocationMocker
Builder for mocked or stubbed invocations.
PHPUnit_Framework_MockObject_BadMethodCallException
PHPUnit_Framework_MockObject_RuntimeException
PHPUnit_Framework_MockObject_Generator
Mock Object Code Generator
PHPUnit_Framework_MockObject_Invocation_Object
Represents a non-static invocation.
PHPUnit_Framework_MockObject_Invocation_Static
Represents a static invocation.
PHPUnit_Framework_MockObject_InvocationMocker
Mocker for invocations which are sent from PHPUnit_Framework_MockObject_MockObject objects.
PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
Invocation matcher which checks if a method has been invoked zero or more times. This matcher will always match.
PHPUnit_Framework_MockObject_Matcher_AnyParameters
Invocation matcher which allows any parameters to a method.
PHPUnit_Framework_MockObject_Matcher_ConsecutiveParameters
Invocation matcher which looks for sets of specific parameters in the invocations.
PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
Invocation matcher which checks if a method was invoked at a certain index.
PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastCount
Invocation matcher which checks if a method has been invoked at least N times.
PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
Invocation matcher which checks if a method has been invoked at least one time.
PHPUnit_Framework_MockObject_Matcher_InvokedAtMostCount
Invocation matcher which checks if a method has been invoked at least N times.
PHPUnit_Framework_MockObject_Matcher_InvokedCount
Invocation matcher which checks if a method has been invoked a certain amount of times.
PHPUnit_Framework_MockObject_Matcher_InvokedRecorder
Records invocations and provides convenience methods for checking them later on.
PHPUnit_Framework_MockObject_Matcher_MethodName
Invocation matcher which looks for a specific method name in the invocations.
PHPUnit_Framework_MockObject_Matcher_Parameters
Invocation matcher which looks for specific parameters in the invocations.
PHPUnit_Framework_MockObject_Matcher_StatelessInvocation
Invocation matcher which does not care about previous state from earlier invocations.
PHPUnit_Framework_MockObject_Matcher
Main matcher which defines a full expectation using method, parameter and invocation matchers.
PHPUnit_Framework_MockObject_MockBuilder
Implementation of the Builder pattern for Mock objects.
PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
Stubs a method by returning a user-defined stack of values.
PHPUnit_Framework_MockObject_Stub_Exception
Stubs a method by raising a user-defined exception.
PHPUnit_Framework_MockObject_Stub_Return
Stubs a method by returning a user-defined value.
PHPUnit_Framework_MockObject_Stub_ReturnArgument
Stubs a method by returning an argument that was passed to the mocked method.
PHPUnit_Framework_MockObject_Stub_ReturnCallback
PHPUnit_Framework_MockObject_Stub_ReturnSelf
Stubs a method by returning the current object.
PHPUnit_Framework_MockObject_Stub_ReturnValueMap
Stubs a method by returning a value from a map.
AbstractMockTestClass
Bar
ClassThatImplementsSerializable
ClassWithStaticMethod
Foo
MethodCallback
MethodCallbackByReference
Mockable
PartialMockTestClass
SingletonClass
SomeClass
StaticMockTestClass
Framework_MockObject_GeneratorTest
A TestCase defines the fixture to run multiple tests.
Framework_MockBuilderTest
A TestCase defines the fixture to run multiple tests.
Framework_MockObject_Invocation_ObjectTest
A TestCase defines the fixture to run multiple tests.
Framework_MockObject_Invocation_StaticTest
A TestCase defines the fixture to run multiple tests.
Framework_MockObject_Matcher_ConsecutiveParametersTest
A TestCase defines the fixture to run multiple tests.
Framework_MockObjectTest
A TestCase defines the fixture to run multiple tests.
Framework_ProxyObjectTest
A TestCase defines the fixture to run multiple tests.
PHP_CodeSniffer_CLI
A class to process command line phpcs scripts.
PHP_CodeSniffer_DocGenerators_Generator
The base class for all PHP_CodeSniffer documentation generators.
PHP_CodeSniffer_DocGenerators_HTML
A doc generator that outputs documentation in one big HTML file.
PHP_CodeSniffer_DocGenerators_Markdown
A doc generator that outputs documentation in Markdown format.
PHP_CodeSniffer_DocGenerators_Text
A doc generator that outputs text-based documentation.
PHP_CodeSniffer_Exception
An exception thrown by PHP_CodeSniffer when it encounters an unrecoverable error.
PHP_CodeSniffer_Reporting
A class to manage reporting.
PHP_CodeSniffer_Reports_Cbf
CBF report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Checkstyle
Checkstyle report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Csv
Csv report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Diff
Diff report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Emacs
Emacs report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Full
Full report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Gitblame
Gitblame report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Hgblame
Mercurial report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Info
Info report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Json
Json report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Junit
JUnit report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Notifysend
Notify-send report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Source
Source report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Summary
Summary report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Svnblame
Svnblame report for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_VersionControl
Version control report base class for PHP_CodeSniffer.
PHP_CodeSniffer_Reports_Xml
Xml report for PHP_CodeSniffer.
PHP_CodeSniffer_Standards_AbstractScopeSniff
An AbstractScopeTest allows for tests that extend from this class to listen for tokens within a particular scope.
PHP_CodeSniffer_Standards_AbstractVariableSniff
A class to find T_VARIABLE tokens.
Generic_Sniffs_Arrays_DisallowLongArraySyntaxSniff
Bans the use of the PHP long array syntax.
Generic_Sniffs_Arrays_DisallowShortArraySyntaxSniff
Bans the use of the PHP short array syntax.
Generic_Sniffs_Classes_DuplicateClassNameSniff
Reports errors if the same class or interface name is used in multiple files.
Generic_Sniffs_Classes_OpeningBraceSameLineSniff
Generic_Sniffs_Classes_OpeningBraceSameLineSniff.
Generic_Sniffs_CodeAnalysis_EmptyStatementSniff
This sniff class detected empty statement.
Generic_Sniffs_CodeAnalysis_ForLoopShouldBeWhileLoopSniff
Detects for-loops that can be simplified to a while-loop.
Generic_Sniffs_CodeAnalysis_ForLoopWithTestFunctionCallSniff
Detects for-loops that use a function call in the test expression.
Generic_Sniffs_CodeAnalysis_JumbledIncrementerSniff
Detects incrementer jumbling in for loops.
Generic_Sniffs_CodeAnalysis_UnconditionalIfStatementSniff
Detects unconditional if- and elseif-statements.
Generic_Sniffs_CodeAnalysis_UnnecessaryFinalModifierSniff
Detects unnecessary final modifiers inside of final classes.
Generic_Sniffs_CodeAnalysis_UnusedFunctionParameterSniff
Checks the for unused function parameters.
Generic_Sniffs_CodeAnalysis_UselessOverridingMethodSniff
Detects unnecessary overridden methods that simply call their parent.
Generic_Sniffs_Commenting_DocCommentSniff
Ensures doc blocks follow basic formatting.
Generic_Sniffs_Commenting_FixmeSniff
Generic_Sniffs_Commenting_FixmeSniff.
Generic_Sniffs_Commenting_TodoSniff
Generic_Sniffs_Commenting_TodoSniff.
Generic_Sniffs_ControlStructures_InlineControlStructureSniff
Generic_Sniffs_ControlStructures_InlineControlStructureSniff.
Generic_Sniffs_Debug_ClosureLinterSniff
Generic_Sniffs_Debug_ClosureLinterSniff.
Generic_Sniffs_Debug_CSSLintSniff
Generic_Sniffs_Debug_CSSLintSniff.
Generic_Sniffs_Debug_ESLintSniff
Generic_Sniffs_Debug_ESLintSniff.
Generic_Sniffs_Debug_JSHintSniff
Generic_Sniffs_Debug_JSHintSniff.
Generic_Sniffs_Files_ByteOrderMarkSniff
Generic_Sniffs_Files_ByteOrderMarkSniff.
Generic_Sniffs_Files_EndFileNewlineSniff
Generic_Sniffs_Files_EndFileNewlineSniff.
Generic_Sniffs_Files_EndFileNoNewlineSniff
Generic_Sniffs_Files_EndFileNoNewlineSniff.
Generic_Sniffs_Files_InlineHTMLSniff
Generic_Sniffs_Files_InlineHTMLSniff.
Generic_Sniffs_Files_LineEndingsSniff
Generic_Sniffs_Files_LineEndingsSniff.
Generic_Sniffs_Files_LineLengthSniff
Generic_Sniffs_Files_LineLengthSniff.
Generic_Sniffs_Files_LowercasedFilenameSniff
Checks that all file names are lowercased.
Generic_Sniffs_Files_OneClassPerFileSniff
Checks that only one class is declared per file.
Generic_Sniffs_Files_OneInterfacePerFileSniff
Checks that only one interface is declared per file.
Generic_Sniffs_Files_OneTraitPerFileSniff
Checks that only one trait is declared per file.
Generic_Sniffs_Formatting_DisallowMultipleStatementsSniff
Generic_Sniffs_Formatting_DisallowMultipleStatementsSniff.
Generic_Sniffs_Formatting_MultipleStatementAlignmentSniff
Generic_Sniffs_Formatting_MultipleStatementAlignmentSniff.
Generic_Sniffs_Formatting_NoSpaceAfterCastSniff
Generic_Sniffs_Formatting_NoSpaceAfterCastSniff.
Generic_Sniffs_Formatting_SpaceAfterCastSniff
Generic_Sniffs_Formatting_SpaceAfterCastSniff.
Generic_Sniffs_Formatting_SpaceAfterNotSniff
Generic_Sniffs_Formatting_SpaceAfterNotSniff.
Generic_Sniffs_Functions_CallTimePassByReferenceSniff
Generic_Sniffs_Functions_CallTimePassByReferenceSniff.
Generic_Sniffs_Functions_FunctionCallArgumentSpacingSniff
Generic_Sniffs_Functions_FunctionCallArgumentSpacingSniff.
Generic_Sniffs_Functions_OpeningFunctionBraceBsdAllmanSniff
Generic_Sniffs_Functions_OpeningFunctionBraceBsdAllmanSniff.
Generic_Sniffs_Functions_OpeningFunctionBraceKernighanRitchieSniff
Generic_Sniffs_Functions_OpeningFunctionBraceKernighanRitchieSniff.
Generic_Sniffs_Metrics_CyclomaticComplexitySniff
Checks the cyclomatic complexity (McCabe) for functions.
Generic_Sniffs_Metrics_NestingLevelSniff
Checks the nesting level for methods.
Generic_Sniffs_NamingConventions_CamelCapsFunctionNameSniff
Generic_Sniffs_NamingConventions_CamelCapsFunctionNameSniff.
Generic_Sniffs_NamingConventions_ConstructorNameSniff
Generic_Sniffs_NamingConventions_ConstructorNameSniff.
Generic_Sniffs_NamingConventions_UpperCaseConstantNameSniff
Generic_Sniffs_NamingConventions_UpperCaseConstantNameSniff.
Generic_Sniffs_PHP_BacktickOperatorSniff
Generic_Sniffs_PHP_BacktickOperatorSniff.
Generic_Sniffs_PHP_CharacterBeforePHPOpeningTagSniff
Checks that the opening PHP tag is the first content in a file.
Generic_Sniffs_PHP_ClosingPHPTagSniff
Checks that open PHP tags are paired with closing tags.
Generic_Sniffs_PHP_DeprecatedFunctionsSniff
Generic_Sniffs_PHP_DeprecatedFunctionsSniff.
Generic_Sniffs_PHP_DisallowAlternativePHPTagsSniff
Generic_Sniffs_PHP_DisallowAlternativePHPTagsSniff.
Generic_Sniffs_PHP_DisallowShortOpenTagSniff
Generic_Sniffs_PHP_DisallowShortOpenTagSniff.
Generic_Sniffs_PHP_ForbiddenFunctionsSniff
Generic_Sniffs_PHP_ForbiddenFunctionsSniff.
Generic_Sniffs_PHP_LowerCaseConstantSniff
Generic_Sniffs_PHP_LowerCaseConstantSniff.
Generic_Sniffs_PHP_LowerCaseKeywordSniff
Generic_Sniffs_PHP_LowerCaseKeywordSniff.
Generic_Sniffs_PHP_NoSilencedErrorsSniff
Generic_Sniffs_PHP_NoSilencedErrorsSniff.
Generic_Sniffs_PHP_SAPIUsageSniff
Generic_Sniffs_PHP_SAPIUsageSniff.
Generic_Sniffs_PHP_SyntaxSniff
Generic_Sniffs_PHP_SyntaxSniff.
Generic_Sniffs_PHP_UpperCaseConstantSniff
Generic_Sniffs_PHP_UpperCaseConstantSniff.
Generic_Sniffs_Strings_UnnecessaryStringConcatSniff
Generic_Sniffs_Strings_UnnecessaryStringConcatSniff.
Generic_Sniffs_VersionControl_SubversionPropertiesSniff
Generic_Sniffs_VersionControl_SubversionPropertiesSniff.
Generic_Sniffs_WhiteSpace_DisallowSpaceIndentSniff
Generic_Sniffs_WhiteSpace_DisallowSpaceIndentSniff.
Generic_Sniffs_WhiteSpace_DisallowTabIndentSniff
Generic_Sniffs_WhiteSpace_DisallowTabIndentSniff.
Generic_Sniffs_WhiteSpace_ScopeIndentSniff
Generic_Sniffs_Whitespace_ScopeIndentSniff.
PHP_CodeSniffer_Standards_IncorrectPatternException
An exception thrown if the pattern being processed is not supposed to be validating the code in question.
MySource_Sniffs_Channels_DisallowSelfActionsSniff
Ensures that self and static are not used to call public methods in action classes.
MySource_Sniffs_Channels_IncludeOwnSystemSniff
Ensures that a system does not include itself.
MySource_Sniffs_Channels_IncludeSystemSniff
Ensures that systems, asset types and libs are included before they are used.
MySource_Sniffs_Channels_UnusedSystemSniff
Ensures that systems and asset types are used if they are included.
MySource_Sniffs_Commenting_FunctionCommentSniff
Parses and verifies the doc comments for functions.
MySource_Sniffs_CSS_BrowserSpecificStylesSniff
MySource_Sniffs_CSS_BrowserSpecificStylesSniff.
MySource_Sniffs_Debug_DebugCodeSniff
Warns about the use of debug code.
MySource_Sniffs_Debug_FirebugConsoleSniff
Ensures that console is not used for function or var names.
MySource_Sniffs_Objects_AssignThisSniff
Ensures this is not assigned to any other var but self.
MySource_Sniffs_Objects_CreateWidgetTypeCallbackSniff
Ensures the create() method of widget types properly uses callbacks.
MySource_Sniffs_Objects_DisallowNewWidgetSniff
Ensures that widgets are not manually created.
MySource_Sniffs_PHP_AjaxNullComparisonSniff
Ensures that values submitted via JS are not compared to NULL.
MySource_Sniffs_PHP_EvalObjectFactorySniff
Ensures that eval() is not used to create objects.
MySource_Sniffs_PHP_GetRequestDataSniff
Ensures that getRequestData() is used to access super globals.
MySource_Sniffs_PHP_ReturnFunctionValueSniff
Warns when function values are returned directly.
MySource_Sniffs_Strings_JoinStringsSniff
Ensures that strings are not joined using array.join().
PEAR_Sniffs_Classes_ClassDeclarationSniff
Class Declaration Test.
PEAR_Sniffs_Commenting_ClassCommentSniff
Parses and verifies the doc comments for classes.
PEAR_Sniffs_Commenting_FileCommentSniff
Parses and verifies the doc comments for files.
PEAR_Sniffs_Commenting_FunctionCommentSniff
Parses and verifies the doc comments for functions.
PEAR_Sniffs_Commenting_InlineCommentSniff
PHP_CodeSniffer_Sniffs_PEAR_Commenting_InlineCommentSniff.
PEAR_Sniffs_ControlStructures_ControlSignatureSniff
Verifies that control statements conform to their coding standards.
PEAR_Sniffs_ControlStructures_MultiLineConditionSniff
PEAR_Sniffs_ControlStructures_MultiLineConditionSniff.
PEAR_Sniffs_Files_IncludingFileSniff
PEAR_Sniffs_Files_IncludingFileSniff.
PEAR_Sniffs_Formatting_MultiLineAssignmentSniff
PEAR_Sniffs_Formatting_MultiLineAssignmentSniff.
PEAR_Sniffs_Functions_FunctionCallSignatureSniff
PEAR_Sniffs_Functions_FunctionCallSignatureSniff.
PEAR_Sniffs_Functions_FunctionDeclarationSniff
PEAR_Sniffs_Functions_FunctionDeclarationSniff.
PEAR_Sniffs_Functions_ValidDefaultValueSniff
PEAR_Sniffs_Functions_ValidDefaultValueSniff.
PEAR_Sniffs_NamingConventions_ValidClassNameSniff
PEAR_Sniffs_NamingConventions_ValidClassNameSniff.
PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff
PEAR_Sniffs_NamingConventions_ValidFunctionNameSniff.
PEAR_Sniffs_NamingConventions_ValidVariableNameSniff
PEAR_Sniffs_NamingConventions_ValidVariableNameSniff.
PEAR_Sniffs_WhiteSpace_ObjectOperatorIndentSniff
PEAR_Sniffs_WhiteSpace_ObjectOperatorIndentSniff.
PEAR_Sniffs_WhiteSpace_ScopeClosingBraceSniff
PEAR_Sniffs_Whitespace_ScopeClosingBraceSniff.
PEAR_Sniffs_WhiteSpace_ScopeIndentSniff
PEAR_Sniffs_Whitespace_ScopeIndentSniff.
PSR1_Sniffs_Classes_ClassDeclarationSniff
Class Declaration Test.
PSR1_Sniffs_Files_SideEffectsSniff
PSR1_Sniffs_Files_SideEffectsSniff.
PSR1_Sniffs_Methods_CamelCapsMethodNameSniff
PSR1_Sniffs_Methods_CamelCapsMethodNameSniff.
PSR2_Sniffs_Classes_ClassDeclarationSniff
Class Declaration Test.
PSR2_Sniffs_Classes_PropertyDeclarationSniff
Verifies that properties are declared correctly.
PSR2_Sniffs_ControlStructures_ControlStructureSpacingSniff
PSR2_Sniffs_WhiteSpace_ControlStructureSpacingSniff.
PSR2_Sniffs_ControlStructures_ElseIfDeclarationSniff
PSR2_Sniffs_ControlStructures_ElseIfDeclarationSniff.
PSR2_Sniffs_ControlStructures_SwitchDeclarationSniff
PSR2_Sniffs_ControlStructures_SwitchDeclarationSniff.
PSR2_Sniffs_Files_ClosingTagSniff
PSR2_Sniffs_Files_LineEndingsSniff.
PSR2_Sniffs_Files_EndFileNewlineSniff
Generic_Sniffs_Files_EndFileNewlineSniff.
PSR2_Sniffs_Methods_FunctionCallSignatureSniff
PSR2_Sniffs_Methods_FunctionCallSignatureSniff.
PSR2_Sniffs_Methods_FunctionClosingBraceSniff
PSR2_Sniffs_Methods_FunctionClosingBraceSniff.
PSR2_Sniffs_Methods_MethodDeclarationSniff
PSR2_Sniffs_Methods_MethodDeclarationSniff.
PSR2_Sniffs_Namespaces_NamespaceDeclarationSniff
PSR2_Sniffs_Namespaces_NamespaceDeclarationSniff.
PSR2_Sniffs_Namespaces_UseDeclarationSniff
PSR2_Sniffs_Namespaces_UseDeclarationSniff.
Squiz_Sniffs_Arrays_ArrayBracketSpacingSniff
Squiz_Sniffs_Arrays_ArrayBracketSpacingSniff.
Squiz_Sniffs_Arrays_ArrayDeclarationSniff
A test to ensure that arrays conform to the array coding standard.
Squiz_Sniffs_Classes_ClassDeclarationSniff
Class Declaration Test.
Squiz_Sniffs_Classes_ClassFileNameSniff
Squiz_Sniffs_Classes_ClassFileNameSniff.
Squiz_Sniffs_Classes_DuplicatePropertySniff
Squiz_Sniffs_Classes_DuplicatePropertySniff.
Squiz_Sniffs_Classes_LowercaseClassKeywordsSniff
Squiz_Sniffs_Classes_LowercaseClassKeywordsSniff.
Squiz_Sniffs_Classes_SelfMemberReferenceSniff
Tests self member references.
Squiz_Sniffs_Classes_ValidClassNameSniff
Squiz_Sniffs_Classes_ValidClassNameSniff.
Squiz_Sniffs_Commenting_BlockCommentSniff
Squiz_Sniffs_Commenting_BlockCommentSniff.
Squiz_Sniffs_Commenting_ClassCommentSniff
Parses and verifies the class doc comment.
Squiz_Sniffs_Commenting_ClosingDeclarationCommentSniff
Squiz_Sniffs_Commenting_ClosingDeclarationCommentSniff.
Squiz_Sniffs_Commenting_DocCommentAlignmentSniff
Squiz_Sniffs_Commenting_DocCommentAlignmentSniff.
Squiz_Sniffs_Commenting_EmptyCatchCommentSniff
Squiz_Sniffs_Commenting_EmptyCatchCommentSniff.
Squiz_Sniffs_Commenting_FileCommentSniff
Parses and verifies the file doc comment.
Squiz_Sniffs_Commenting_FunctionCommentSniff
Parses and verifies the doc comments for functions.
Squiz_Sniffs_Commenting_FunctionCommentThrowTagSniff
Verifies that a @throws tag exists for a function that throws exceptions.
Squiz_Sniffs_Commenting_InlineCommentSniff
Squiz_Sniffs_Commenting_InlineCommentSniff.
Squiz_Sniffs_Commenting_LongConditionClosingCommentSniff
Squiz_Sniffs_ControlStructures_LongConditionClosingCommentSniff.
Squiz_Sniffs_Commenting_PostStatementCommentSniff
Squiz_Sniffs_Commenting_PostStatementCommentSniff.
Squiz_Sniffs_Commenting_VariableCommentSniff
Parses and verifies the variable doc comment.
Squiz_Sniffs_ControlStructures_ControlSignatureSniff
Verifies that control statements conform to their coding standards.
Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff
Squiz_Sniffs_ControlStructures_ElseIfDeclarationSniff.
Squiz_Sniffs_ControlStructures_ForEachLoopDeclarationSniff
Squiz_Sniffs_ControlStructures_ForEachLoopDeclarationSniff.
Squiz_Sniffs_ControlStructures_ForLoopDeclarationSniff
Squiz_Sniffs_ControlStructures_ForLoopDeclarationSniff.
Squiz_Sniffs_ControlStructures_InlineIfDeclarationSniff
Squiz_Sniffs_ControlStructures_InlineIfDeclarationSniff.
Squiz_Sniffs_ControlStructures_LowercaseDeclarationSniff
Squiz_Sniffs_ControlStructures_LowercaseDeclarationSniff.
Squiz_Sniffs_ControlStructures_SwitchDeclarationSniff
Squiz_Sniffs_ControlStructures_SwitchDeclarationSniff.
Squiz_Sniffs_CSS_ClassDefinitionClosingBraceSpaceSniff
Squiz_Sniffs_CSS_ClassDefinitionClosingBraceSpaceSniff.
Squiz_Sniffs_CSS_ClassDefinitionNameSpacingSniff
Squiz_Sniffs_CSS_ClassDefinitionNameSpacingSniff.
Squiz_Sniffs_CSS_ClassDefinitionOpeningBraceSpaceSniff
Squiz_Sniffs_CSS_ClassDefinitionOpeningBraceSpaceSniff.
Squiz_Sniffs_CSS_ColonSpacingSniff
Squiz_Sniffs_CSS_ColonSpacingSniff.
Squiz_Sniffs_CSS_ColourDefinitionSniff
Squiz_Sniffs_CSS_ColourDefinitionSniff.
Squiz_Sniffs_CSS_DisallowMultipleStyleDefinitionsSniff
Squiz_Sniffs_CSS_DisallowMultipleStyleDefinitionsSniff.
Squiz_Sniffs_CSS_DuplicateClassDefinitionSniff
Squiz_Sniffs_CSS_DuplicateClassDefinitionSniff.
Squiz_Sniffs_CSS_DuplicateStyleDefinitionSniff
Squiz_Sniffs_CSS_DuplicateStyleDefinitionSniff.
Squiz_Sniffs_CSS_EmptyClassDefinitionSniff
Squiz_Sniffs_CSS_EmptyClassDefinitionSniff.
Squiz_Sniffs_CSS_EmptyStyleDefinitionSniff
Squiz_Sniffs_CSS_EmptyStyleDefinitionSniff.
Squiz_Sniffs_CSS_ForbiddenStylesSniff
Squiz_Sniffs_CSS_ForbiddenStylesSniff.
Squiz_Sniffs_CSS_IndentationSniff
Squiz_Sniffs_CSS_IndentationSniff.
Squiz_Sniffs_CSS_LowercaseStyleDefinitionSniff
Squiz_Sniffs_CSS_LowercaseStyleDefinitionSniff.
Squiz_Sniffs_CSS_MissingColonSniff
Squiz_Sniffs_CSS_MissingColonSniff.
Squiz_Sniffs_CSS_NamedColoursSniff
Squiz_Sniffs_CSS_NamedColoursSniff.
Squiz_Sniffs_CSS_OpacitySniff
Squiz_Sniffs_CSS_OpacitySniff.
Squiz_Sniffs_CSS_SemicolonSpacingSniff
Squiz_Sniffs_CSS_SemicolonSpacingSniff.
Squiz_Sniffs_CSS_ShorthandSizeSniff
Squiz_Sniffs_CSS_ShorthandSizeSniff.
Squiz_Sniffs_Debug_JavaScriptLintSniff
Squiz_Sniffs_Debug_JavaScriptLintSniff.
Squiz_Sniffs_Debug_JSLintSniff
Squiz_Sniffs_Debug_JSLintSniff.
Squiz_Sniffs_Files_FileExtensionSniff
Squiz_Sniffs_Files_FileExtensionSniff.
Squiz_Sniffs_Formatting_OperatorBracketSniff
Squiz_Sniffs_Formatting_OperationBracketSniff.
Squiz_Sniffs_Functions_FunctionDeclarationArgumentSpacingSniff
Squiz_Sniffs_Functions_FunctionDeclarationArgumentSpacingSniff.
Squiz_Sniffs_Functions_FunctionDeclarationSniff
Squiz_Sniffs_Functions_FunctionDeclarationSniff.
Squiz_Sniffs_Functions_FunctionDuplicateArgumentSniff
Squiz_Sniffs_Functions_FunctionDuplicateArgumentSpacingSniff.
Squiz_Sniffs_Functions_GlobalFunctionSniff
Squiz_Sniffs_Functions_GlobalFunctionSniff.
Squiz_Sniffs_Functions_LowercaseFunctionKeywordsSniff
Squiz_Sniffs_Functions_LowercaseFunctionKeywordsSniff.
Squiz_Sniffs_Functions_MultiLineFunctionDeclarationSniff
Squiz_Sniffs_Functions_MultiLineFunctionDeclarationSniff.
Squiz_Sniffs_NamingConventions_ValidFunctionNameSniff
Squiz_Sniffs_NamingConventions_ValidFunctionNameSniff.
Squiz_Sniffs_NamingConventions_ValidVariableNameSniff
Squiz_Sniffs_NamingConventions_ValidVariableNameSniff.
Squiz_Sniffs_Objects_DisallowObjectStringIndexSniff
Ensures that object indexes are written in dot notation.
Squiz_Sniffs_Objects_ObjectInstantiationSniff
Squiz_Sniffs_Objects_ObjectInstantiationSniff.
Squiz_Sniffs_Objects_ObjectMemberCommaSniff
Squiz_Sniffs_Objects_ObjectMemberCommaSniff.
Squiz_Sniffs_Operators_ComparisonOperatorUsageSniff
A Sniff to enforce the use of IDENTICAL type operators rather than EQUAL operators.
Squiz_Sniffs_Operators_IncrementDecrementUsageSniff
Squiz_Sniffs_Operators_IncrementDecrementUsageSniff.
Squiz_Sniffs_Operators_ValidLogicalOperatorsSniff
Squiz_Sniffs_Operators_ValidLogicalOperatorsSniff.
Squiz_Sniffs_PHP_CommentedOutCodeSniff
Squiz_Sniffs_PHP_CommentedOutCodeSniff.
Squiz_Sniffs_PHP_DisallowBooleanStatementSniff
Squiz_Sniffs_PHP_DisallowBooleanStatementSniff.
Squiz_Sniffs_PHP_DisallowComparisonAssignmentSniff
Squiz_Sniffs_PHP_DisallowComparisonAssignmentSniff.
Squiz_Sniffs_PHP_DisallowInlineIfSniff
Squiz_Sniffs_Formatting_DisallowInlineIfSniff.
Squiz_Sniffs_PHP_DisallowMultipleAssignmentsSniff
Squiz_Sniffs_PHP_DisallowMultipleAssignmentsSniff.
Squiz_Sniffs_PHP_DisallowObEndFlushSniff
Squiz_Sniffs_Formatting_DisallowObEndFlushSniff.
Squiz_Sniffs_PHP_DisallowSizeFunctionsInLoopsSniff
Squiz_Sniffs_PHP_DisallowSizeFunctionsInLoopsSniff.
Squiz_Sniffs_PHP_DiscouragedFunctionsSniff
Squiz_Sniffs_PHP_DiscouragedFunctionsSniff.
Squiz_Sniffs_PHP_EmbeddedPhpSniff
Squiz_Sniffs_PHP_EmbeddedPhpSniff.
Squiz_Sniffs_PHP_EvalSniff
Squiz_Sniffs_PHP_EvalSniff.
Squiz_Sniffs_PHP_ForbiddenFunctionsSniff
Squiz_Sniffs_PHP_ForbiddenFunctionsSniff.
Squiz_Sniffs_PHP_GlobalKeywordSniff
Squiz_Sniffs_PHP_GlobalKeywordSniff.
Squiz_Sniffs_PHP_HeredocSniff
Squiz_Sniffs_PHP_HeredocSniff.
Squiz_Sniffs_PHP_InnerFunctionsSniff
Squiz_Sniffs_PHP_InnerFunctionsSniff.
Squiz_Sniffs_PHP_LowercasePHPFunctionsSniff
Squiz_Sniffs_PHP_LowercasePHPFunctionsSniff.
Squiz_Sniffs_PHP_NonExecutableCodeSniff
Squiz_Sniffs_PHP_NonExecutableCodeSniff.
Squiz_Sniffs_Scope_MemberVarScopeSniff
Verifies that class members have scope modifiers.
Squiz_Sniffs_Scope_MethodScopeSniff
Verifies that class methods have scope modifiers.
Squiz_Sniffs_Scope_StaticThisUsageSniff
Squiz_Sniffs_Scope_StaticThisUsageSniff.
Squiz_Sniffs_Strings_ConcatenationSpacingSniff
Squiz_Sniffs_Strings_ConcatenationSpacingSniff.
Squiz_Sniffs_Strings_DoubleQuoteUsageSniff
Squiz_Sniffs_Strings_DoubleQuoteUsageSniff.
Squiz_Sniffs_Strings_EchoedStringsSniff
Squiz_Sniffs_Strings_EchoedStringsSniff.
Squiz_Sniffs_WhiteSpace_CastSpacingSniff
Squiz_Sniffs_WhiteSpace_CastSpacingSniff.
Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff
Squiz_Sniffs_WhiteSpace_ControlStructureSpacingSniff.
Squiz_Sniffs_WhiteSpace_FunctionClosingBraceSpaceSniff
Squiz_Sniffs_WhiteSpace_FunctionClosingBraceSpaceSniff.
Squiz_Sniffs_WhiteSpace_FunctionOpeningBraceSpaceSniff
Squiz_Sniffs_WhiteSpace_FunctionOpeningBraceSpaceSniff.
Squiz_Sniffs_WhiteSpace_FunctionSpacingSniff
Squiz_Sniffs_WhiteSpace_FunctionSpacingSniff.
Squiz_Sniffs_WhiteSpace_LanguageConstructSpacingSniff
Squiz_Sniffs_WhiteSpace_LanguageConstructSpacingSniff.
Squiz_Sniffs_WhiteSpace_LogicalOperatorSpacingSniff
Sniffs_Squiz_WhiteSpace_OperatorSpacingSniff.
Squiz_Sniffs_WhiteSpace_MemberVarSpacingSniff
Verifies that class members are spaced correctly.
Squiz_Sniffs_WhiteSpace_ObjectOperatorSpacingSniff
Squiz_Sniffs_WhiteSpace_ObjectOperatorSpacingSniff.
Squiz_Sniffs_WhiteSpace_OperatorSpacingSniff
Sniffs_Squiz_WhiteSpace_OperatorSpacingSniff.
Squiz_Sniffs_WhiteSpace_PropertyLabelSpacingSniff
Squiz_Sniffs_WhiteSpace_PropertyLabelSpacingSniff.
Squiz_Sniffs_WhiteSpace_ScopeClosingBraceSniff
Squiz_Sniffs_Whitespace_ScopeClosingBraceSniff.
Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff
Squiz_Sniffs_WhiteSpace_ScopeKeywordSpacingSniff.
Squiz_Sniffs_WhiteSpace_SemicolonSpacingSniff
Squiz_Sniffs_WhiteSpace_SemicolonSpacingSniff.
Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff
Squiz_Sniffs_WhiteSpace_SuperfluousWhitespaceSniff.
Zend_Sniffs_Debug_CodeAnalyzerSniff
Zend_Sniffs_Debug_CodeAnalyzerSniff.
Zend_Sniffs_Files_ClosingTagSniff
Zend_Sniffs_Files_LineEndingsSniff.
Zend_Sniffs_NamingConventions_ValidVariableNameSniff
Squiz_Sniffs_NamingConventions_ValidVariableNameSniff.
PHP_CodeSniffer_Tokenizers_Comment
Tokenizes doc block comments.
PHP_CodeSniffer_Tokenizers_CSS
Tokenizes CSS code.
PHP_CodeSniffer_Tokenizers_JS
Tokenizes JS code.
PHP_CodeSniffer_Tokens
The Tokens class contains weightings for tokens based on their probability of occurrence in a file.
PHP_CodeSniffer
PHP_CodeSniffer tokenizes PHP code and detects violations of a defined set of coding standards.
Normalizer
JsonException
Attribute
UnhandledMatchError
ValueError
AbstractTrait

Table of Contents

GITHUB_ISSUE  = 797
composerRequire2ef2a2ba0d77843a47848d922e944464()  : mixed
globalFunction()  : mixed
baz()  : mixed
baz()  : mixed
foo()  : mixed
foo()  : mixed
any()  : PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount
Returns a matcher that matches when the method is executed zero or more times.
anything()  : PHPUnit_Framework_Constraint_IsAnything
Returns a PHPUnit_Framework_Constraint_IsAnything matcher object.
arrayHasKey()  : PHPUnit_Framework_Constraint_ArrayHasKey
Returns a PHPUnit_Framework_Constraint_ArrayHasKey matcher object.
assertArrayHasKey()  : mixed
Asserts that an array has a specified key.
assertArraySubset()  : mixed
Asserts that an array has a specified subset.
assertArrayNotHasKey()  : mixed
Asserts that an array does not have a specified key.
assertAttributeContains()  : mixed
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.
assertAttributeContainsOnly()  : mixed
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.
assertAttributeCount()  : mixed
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
assertAttributeEmpty()  : mixed
Asserts that a static attribute of a class or an attribute of an object is empty.
assertAttributeEquals()  : mixed
Asserts that a variable is equal to an attribute of an object.
assertAttributeGreaterThan()  : mixed
Asserts that an attribute is greater than another value.
assertAttributeGreaterThanOrEqual()  : mixed
Asserts that an attribute is greater than or equal to another value.
assertAttributeInstanceOf()  : mixed
Asserts that an attribute is of a given type.
assertAttributeInternalType()  : mixed
Asserts that an attribute is of a given type.
assertAttributeLessThan()  : mixed
Asserts that an attribute is smaller than another value.
assertAttributeLessThanOrEqual()  : mixed
Asserts that an attribute is smaller than or equal to another value.
assertAttributeNotContains()  : mixed
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.
assertAttributeNotContainsOnly()  : mixed
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.
assertAttributeNotCount()  : mixed
Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.
assertAttributeNotEmpty()  : mixed
Asserts that a static attribute of a class or an attribute of an object is not empty.
assertAttributeNotEquals()  : mixed
Asserts that a variable is not equal to an attribute of an object.
assertAttributeNotInstanceOf()  : mixed
Asserts that an attribute is of a given type.
assertAttributeNotInternalType()  : mixed
Asserts that an attribute is of a given type.
assertAttributeNotSame()  : mixed
Asserts that a variable and an attribute of an object do not have the same type and value.
assertAttributeSame()  : mixed
Asserts that a variable and an attribute of an object have the same type and value.
assertClassHasAttribute()  : mixed
Asserts that a class has a specified attribute.
assertClassHasStaticAttribute()  : mixed
Asserts that a class has a specified static attribute.
assertClassNotHasAttribute()  : mixed
Asserts that a class does not have a specified attribute.
assertClassNotHasStaticAttribute()  : mixed
Asserts that a class does not have a specified static attribute.
assertContains()  : mixed
Asserts that a haystack contains a needle.
assertContainsOnly()  : mixed
Asserts that a haystack contains only values of a given type.
assertContainsOnlyInstancesOf()  : mixed
Asserts that a haystack contains only instances of a given classname
assertCount()  : mixed
Asserts the number of elements of an array, Countable or Traversable.
assertEmpty()  : mixed
Asserts that a variable is empty.
assertEqualXMLStructure()  : mixed
Asserts that a hierarchy of DOMElements matches.
assertEquals()  : mixed
Asserts that two variables are equal.
assertNotTrue()  : mixed
Asserts that a condition is not true.
assertFalse()  : mixed
Asserts that a condition is false.
assertFileEquals()  : mixed
Asserts that the contents of one file is equal to the contents of another file.
assertFileExists()  : mixed
Asserts that a file exists.
assertFileNotEquals()  : mixed
Asserts that the contents of one file is not equal to the contents of another file.
assertFileNotExists()  : mixed
Asserts that a file does not exist.
assertGreaterThan()  : mixed
Asserts that a value is greater than another value.
assertGreaterThanOrEqual()  : mixed
Asserts that a value is greater than or equal to another value.
assertInstanceOf()  : mixed
Asserts that a variable is of a given type.
assertInternalType()  : mixed
Asserts that a variable is of a given type.
assertJson()  : mixed
Asserts that a string is a valid JSON string.
assertJsonFileEqualsJsonFile()  : mixed
Asserts that two JSON files are equal.
assertJsonFileNotEqualsJsonFile()  : mixed
Asserts that two JSON files are not equal.
assertJsonStringEqualsJsonFile()  : mixed
Asserts that the generated JSON encoded object and the content of the given file are equal.
assertJsonStringEqualsJsonString()  : mixed
Asserts that two given JSON encoded objects or arrays are equal.
assertJsonStringNotEqualsJsonFile()  : mixed
Asserts that the generated JSON encoded object and the content of the given file are not equal.
assertJsonStringNotEqualsJsonString()  : mixed
Asserts that two given JSON encoded objects or arrays are not equal.
assertLessThan()  : mixed
Asserts that a value is smaller than another value.
assertLessThanOrEqual()  : mixed
Asserts that a value is smaller than or equal to another value.
assertNotContains()  : mixed
Asserts that a haystack does not contain a needle.
assertNotContainsOnly()  : mixed
Asserts that a haystack does not contain only values of a given type.
assertNotCount()  : mixed
Asserts the number of elements of an array, Countable or Traversable.
assertNotEmpty()  : mixed
Asserts that a variable is not empty.
assertNotEquals()  : mixed
Asserts that two variables are not equal.
assertNotInstanceOf()  : mixed
Asserts that a variable is not of a given type.
assertNotInternalType()  : mixed
Asserts that a variable is not of a given type.
assertNotFalse()  : mixed
Asserts that a condition is not false.
assertNotNull()  : mixed
Asserts that a variable is not null.
assertNotRegExp()  : mixed
Asserts that a string does not match a given regular expression.
assertNotSame()  : mixed
Asserts that two variables do not have the same type and value.
assertNotSameSize()  : mixed
Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same.
assertNotTag()  : mixed
This assertion is the exact opposite of assertTag().
assertNull()  : mixed
Asserts that a variable is null.
assertObjectHasAttribute()  : mixed
Asserts that an object has a specified attribute.
assertObjectNotHasAttribute()  : mixed
Asserts that an object does not have a specified attribute.
assertRegExp()  : mixed
Asserts that a string matches a given regular expression.
assertSame()  : mixed
Asserts that two variables have the same type and value.
assertSameSize()  : mixed
Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.
assertSelectCount()  : mixed
Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.
assertSelectEquals()  : mixed
assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?
assertSelectRegExp()  : mixed
assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml);// 3?
assertStringEndsNotWith()  : mixed
Asserts that a string ends not with a given prefix.
assertStringEndsWith()  : mixed
Asserts that a string ends with a given prefix.
assertStringEqualsFile()  : mixed
Asserts that the contents of a string is equal to the contents of a file.
assertStringMatchesFormat()  : mixed
Asserts that a string matches a given format string.
assertStringMatchesFormatFile()  : mixed
Asserts that a string matches a given format file.
assertStringNotEqualsFile()  : mixed
Asserts that the contents of a string is not equal to the contents of a file.
assertStringNotMatchesFormat()  : mixed
Asserts that a string does not match a given format string.
assertStringNotMatchesFormatFile()  : mixed
Asserts that a string does not match a given format string.
assertStringStartsNotWith()  : mixed
Asserts that a string starts not with a given prefix.
assertStringStartsWith()  : mixed
Asserts that a string starts with a given prefix.
assertTag()  : mixed
Evaluate an HTML or XML string and assert its structure and/or contents.
assertThat()  : mixed
Evaluates a PHPUnit_Framework_Constraint matcher object.
assertTrue()  : mixed
Asserts that a condition is true.
assertXmlFileEqualsXmlFile()  : mixed
Asserts that two XML files are equal.
assertXmlFileNotEqualsXmlFile()  : mixed
Asserts that two XML files are not equal.
assertXmlStringEqualsXmlFile()  : mixed
Asserts that two XML documents are equal.
assertXmlStringEqualsXmlString()  : mixed
Asserts that two XML documents are equal.
assertXmlStringNotEqualsXmlFile()  : mixed
Asserts that two XML documents are not equal.
assertXmlStringNotEqualsXmlString()  : mixed
Asserts that two XML documents are not equal.
at()  : PHPUnit_Framework_MockObject_Matcher_InvokedAtIndex
Returns a matcher that matches when the method is executed at the given $index.
atLeastOnce()  : PHPUnit_Framework_MockObject_Matcher_InvokedAtLeastOnce
Returns a matcher that matches when the method is executed at least once.
attribute()  : PHPUnit_Framework_Constraint_Attribute
Returns a PHPUnit_Framework_Constraint_Attribute matcher object.
attributeEqualTo()  : PHPUnit_Framework_Constraint_Attribute
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.
callback()  : PHPUnit_Framework_Constraint_Callback
Returns a PHPUnit_Framework_Constraint_Callback matcher object.
classHasAttribute()  : PHPUnit_Framework_Constraint_ClassHasAttribute
Returns a PHPUnit_Framework_Constraint_ClassHasAttribute matcher object.
classHasStaticAttribute()  : PHPUnit_Framework_Constraint_ClassHasStaticAttribute
Returns a PHPUnit_Framework_Constraint_ClassHasStaticAttribute matcher object.
contains()  : PHPUnit_Framework_Constraint_TraversableContains
Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object.
containsOnly()  : PHPUnit_Framework_Constraint_TraversableContainsOnly
Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
containsOnlyInstancesOf()  : PHPUnit_Framework_Constraint_TraversableContainsOnly
Returns a PHPUnit_Framework_Constraint_TraversableContainsOnly matcher object.
equalTo()  : PHPUnit_Framework_Constraint_IsEqual
Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.
exactly()  : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Returns a matcher that matches when the method is executed exactly $count times.
fileExists()  : PHPUnit_Framework_Constraint_FileExists
Returns a PHPUnit_Framework_Constraint_FileExists matcher object.
greaterThan()  : PHPUnit_Framework_Constraint_GreaterThan
Returns a PHPUnit_Framework_Constraint_GreaterThan matcher object.
greaterThanOrEqual()  : PHPUnit_Framework_Constraint_Or
Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.
identicalTo()  : PHPUnit_Framework_Constraint_IsIdentical
Returns a PHPUnit_Framework_Constraint_IsIdentical matcher object.
isEmpty()  : PHPUnit_Framework_Constraint_IsEmpty
Returns a PHPUnit_Framework_Constraint_IsEmpty matcher object.
isFalse()  : PHPUnit_Framework_Constraint_IsFalse
Returns a PHPUnit_Framework_Constraint_IsFalse matcher object.
isInstanceOf()  : PHPUnit_Framework_Constraint_IsInstanceOf
Returns a PHPUnit_Framework_Constraint_IsInstanceOf matcher object.
isJson()  : PHPUnit_Framework_Constraint_IsJson
Returns a PHPUnit_Framework_Constraint_IsJson matcher object.
isNull()  : PHPUnit_Framework_Constraint_IsNull
Returns a PHPUnit_Framework_Constraint_IsNull matcher object.
isTrue()  : PHPUnit_Framework_Constraint_IsTrue
Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
isType()  : PHPUnit_Framework_Constraint_IsType
Returns a PHPUnit_Framework_Constraint_IsType matcher object.
lessThan()  : PHPUnit_Framework_Constraint_LessThan
Returns a PHPUnit_Framework_Constraint_LessThan matcher object.
lessThanOrEqual()  : PHPUnit_Framework_Constraint_Or
Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.
logicalAnd()  : PHPUnit_Framework_Constraint_And
Returns a PHPUnit_Framework_Constraint_And matcher object.
logicalNot()  : PHPUnit_Framework_Constraint_Not
Returns a PHPUnit_Framework_Constraint_Not matcher object.
logicalOr()  : PHPUnit_Framework_Constraint_Or
Returns a PHPUnit_Framework_Constraint_Or matcher object.
logicalXor()  : PHPUnit_Framework_Constraint_Xor
Returns a PHPUnit_Framework_Constraint_Xor matcher object.
matches()  : PHPUnit_Framework_Constraint_StringMatches
Returns a PHPUnit_Framework_Constraint_StringMatches matcher object.
matchesRegularExpression()  : PHPUnit_Framework_Constraint_PCREMatch
Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.
never()  : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Returns a matcher that matches when the method is never executed.
objectHasAttribute()  : PHPUnit_Framework_Constraint_ObjectHasAttribute
Returns a PHPUnit_Framework_Constraint_ObjectHasAttribute matcher object.
onConsecutiveCalls()  : PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls
once()  : PHPUnit_Framework_MockObject_Matcher_InvokedCount
Returns a matcher that matches when the method is executed exactly once.
returnArgument()  : PHPUnit_Framework_MockObject_Stub_ReturnArgument
returnCallback()  : PHPUnit_Framework_MockObject_Stub_ReturnCallback
returnSelf()  : PHPUnit_Framework_MockObject_Stub_ReturnSelf
Returns the current object.
returnValue()  : PHPUnit_Framework_MockObject_Stub_Return
returnValueMap()  : PHPUnit_Framework_MockObject_Stub_ReturnValueMap
stringContains()  : PHPUnit_Framework_Constraint_StringContains
Returns a PHPUnit_Framework_Constraint_StringContains matcher object.
stringEndsWith()  : PHPUnit_Framework_Constraint_StringEndsWith
Returns a PHPUnit_Framework_Constraint_StringEndsWith matcher object.
stringStartsWith()  : PHPUnit_Framework_Constraint_StringStartsWith
Returns a PHPUnit_Framework_Constraint_StringStartsWith matcher object.
throwException()  : PHPUnit_Framework_MockObject_Stub_Exception
trait_exists()  : mixed
globalFunction()  : mixed
trait_exists()  : mixed
functionCallback()  : mixed
getallheaders()  : mixed
Get all HTTP header key/values as an associative array for the current request.
buildFromPackage()  : void
Build from a package list.
buildFromNode()  : void
Add from a node.
trigger_deprecation()  : void
Triggers a silenced deprecation notice.
ctype_alnum()  : mixed
ctype_alpha()  : mixed
ctype_cntrl()  : mixed
ctype_digit()  : mixed
ctype_graph()  : mixed
ctype_lower()  : mixed
ctype_print()  : mixed
ctype_punct()  : mixed
ctype_space()  : mixed
ctype_upper()  : mixed
ctype_xdigit()  : mixed
ctype_alnum()  : bool
ctype_alpha()  : bool
ctype_cntrl()  : bool
ctype_digit()  : bool
ctype_graph()  : bool
ctype_lower()  : bool
ctype_print()  : bool
ctype_punct()  : bool
ctype_space()  : bool
ctype_upper()  : bool
ctype_xdigit()  : bool
grapheme_extract()  : mixed
grapheme_stripos()  : mixed
grapheme_stristr()  : mixed
grapheme_strlen()  : mixed
grapheme_strpos()  : mixed
grapheme_strripos()  : mixed
grapheme_strrpos()  : mixed
grapheme_strstr()  : mixed
grapheme_substr()  : mixed
grapheme_extract()  : string|false
grapheme_stripos()  : int|false
grapheme_stristr()  : string|false
grapheme_strlen()  : int|false|null
grapheme_strpos()  : int|false
grapheme_strripos()  : int|false
grapheme_strrpos()  : int|false
grapheme_strstr()  : string|false
grapheme_substr()  : string|false
idn_to_ascii()  : mixed
idn_to_utf8()  : mixed
idn_to_ascii()  : string|false
idn_to_utf8()  : string|false
normalizer_is_normalized()  : mixed
normalizer_normalize()  : mixed
normalizer_is_normalized()  : bool
normalizer_normalize()  : string|false
mb_convert_encoding()  : mixed
mb_decode_mimeheader()  : mixed
mb_encode_mimeheader()  : mixed
mb_decode_numericentity()  : mixed
mb_encode_numericentity()  : mixed
mb_convert_case()  : mixed
mb_internal_encoding()  : mixed
mb_language()  : mixed
mb_list_encodings()  : mixed
mb_encoding_aliases()  : mixed
mb_check_encoding()  : mixed
mb_detect_encoding()  : mixed
mb_detect_order()  : mixed
mb_parse_str()  : mixed
mb_strlen()  : mixed
mb_strpos()  : mixed
mb_strtolower()  : mixed
mb_strtoupper()  : mixed
mb_substitute_character()  : mixed
mb_substr()  : mixed
mb_stripos()  : mixed
mb_stristr()  : mixed
mb_strrchr()  : mixed
mb_strrichr()  : mixed
mb_strripos()  : mixed
mb_strrpos()  : mixed
mb_strstr()  : mixed
mb_get_info()  : mixed
mb_http_output()  : mixed
mb_strwidth()  : mixed
mb_substr_count()  : mixed
mb_output_handler()  : mixed
mb_http_input()  : mixed
mb_convert_variables()  : mixed
mb_ord()  : mixed
mb_chr()  : mixed
mb_scrub()  : mixed
mb_str_split()  : mixed
mb_convert_encoding()  : array<string|int, mixed>|string|false
mb_decode_mimeheader()  : string
mb_encode_mimeheader()  : string
mb_decode_numericentity()  : string
mb_encode_numericentity()  : string
mb_convert_case()  : string
mb_internal_encoding()  : string|bool
mb_language()  : string|bool
mb_list_encodings()  : array<string|int, mixed>
mb_encoding_aliases()  : array<string|int, mixed>
mb_check_encoding()  : bool
mb_detect_encoding()  : string|false
mb_detect_order()  : array<string|int, mixed>|bool
mb_parse_str()  : bool
mb_strlen()  : int
mb_strpos()  : int|false
mb_strtolower()  : string
mb_strtoupper()  : string
mb_substitute_character()  : string|int|bool
mb_substr()  : string
mb_stripos()  : int|false
mb_stristr()  : string|false
mb_strrchr()  : string|false
mb_strrichr()  : string|false
mb_strripos()  : int|false
mb_strrpos()  : int|false
mb_strstr()  : string|false
mb_get_info()  : array<string|int, mixed>|string|int|false
mb_http_output()  : string|bool
mb_strwidth()  : int
mb_substr_count()  : int
mb_output_handler()  : string
mb_http_input()  : array<string|int, mixed>|string|false
mb_convert_variables()  : string|false
mb_ord()  : int|false
mb_chr()  : string|false
mb_scrub()  : string
mb_str_split()  : array<string|int, mixed>
sapi_windows_vt100_support()  : mixed
stream_isatty()  : mixed
utf8_encode()  : mixed
utf8_decode()  : mixed
spl_object_id()  : mixed
mb_ord()  : mixed
mb_chr()  : mixed
mb_scrub()  : mixed
is_countable()  : mixed
hrtime()  : mixed
array_key_first()  : mixed
array_key_last()  : mixed
fdiv()  : float
preg_last_error_msg()  : string
str_contains()  : bool
str_starts_with()  : bool
str_ends_with()  : bool
get_debug_type()  : string
get_resource_id()  : int

Constants

Functions

composerRequire2ef2a2ba0d77843a47848d922e944464()

composerRequire2ef2a2ba0d77843a47848d922e944464(mixed $fileIdentifier, mixed $file) : mixed
Parameters
$fileIdentifier : mixed
$file : mixed

foo()

foo(mixed $a, array<string|int, mixed> $b[, array<string|int, mixed> $c = array() ]) : mixed
Parameters
$a : mixed
$b : array<string|int, mixed>
$c : array<string|int, mixed> = array()

assertArrayHasKey()

Asserts that an array has a specified key.

assertArrayHasKey(mixed $key, array<string|int, mixed>|ArrayAccess $array[, string $message = '' ]) : mixed
Parameters
$key : mixed
$array : array<string|int, mixed>|ArrayAccess
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertArraySubset()

Asserts that an array has a specified subset.

assertArraySubset(array<string|int, mixed>|ArrayAccess $subset, array<string|int, mixed>|ArrayAccess $array[, bool $strict = false ][, string $message = '' ]) : mixed
Parameters
$subset : array<string|int, mixed>|ArrayAccess
$array : array<string|int, mixed>|ArrayAccess
$strict : bool = false

Check for object identity

$message : string = ''
Tags
since

Method available since Release 4.4.0

assertArrayNotHasKey()

Asserts that an array does not have a specified key.

assertArrayNotHasKey(mixed $key, array<string|int, mixed>|ArrayAccess $array[, string $message = '' ]) : mixed
Parameters
$key : mixed
$array : array<string|int, mixed>|ArrayAccess
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertAttributeContains()

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains a needle.

assertAttributeContains(mixed $needle, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
$needle : mixed
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
$ignoreCase : bool = false
$checkForObjectIdentity : bool = true
$checkForNonObjectIdentity : bool = false
Tags
since

Method available since Release 3.0.0

assertAttributeContainsOnly()

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type.

assertAttributeContainsOnly(string $type, string $haystackAttributeName, mixed $haystackClassOrObject[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
$type : string
$haystackAttributeName : string
$haystackClassOrObject : mixed
$isNativeType : bool = null
$message : string = ''
Tags
since

Method available since Release 3.1.4

assertAttributeCount()

Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.

assertAttributeCount(int $expectedCount, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
$expectedCount : int
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.6.0

assertAttributeEmpty()

Asserts that a static attribute of a class or an attribute of an object is empty.

assertAttributeEmpty(string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeEquals()

Asserts that a variable is equal to an attribute of an object.

assertAttributeEquals(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false

assertAttributeGreaterThan()

Asserts that an attribute is greater than another value.

assertAttributeGreaterThan(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertAttributeGreaterThanOrEqual()

Asserts that an attribute is greater than or equal to another value.

assertAttributeGreaterThanOrEqual(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertAttributeInstanceOf()

Asserts that an attribute is of a given type.

assertAttributeInstanceOf(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
$expected : string
$attributeName : string
$classOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeInternalType()

Asserts that an attribute is of a given type.

assertAttributeInternalType(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
$expected : string
$attributeName : string
$classOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeLessThan()

Asserts that an attribute is smaller than another value.

assertAttributeLessThan(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertAttributeLessThanOrEqual()

Asserts that an attribute is smaller than or equal to another value.

assertAttributeLessThanOrEqual(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertAttributeNotContains()

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain a needle.

assertAttributeNotContains(mixed $needle, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
$needle : mixed
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
$ignoreCase : bool = false
$checkForObjectIdentity : bool = true
$checkForNonObjectIdentity : bool = false
Tags
since

Method available since Release 3.0.0

assertAttributeNotContainsOnly()

Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object does not contain only values of a given type.

assertAttributeNotContainsOnly(string $type, string $haystackAttributeName, mixed $haystackClassOrObject[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
$type : string
$haystackAttributeName : string
$haystackClassOrObject : mixed
$isNativeType : bool = null
$message : string = ''
Tags
since

Method available since Release 3.1.4

assertAttributeNotCount()

Asserts the number of elements of an array, Countable or Traversable that is stored in an attribute.

assertAttributeNotCount(int $expectedCount, string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
$expectedCount : int
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.6.0

assertAttributeNotEmpty()

Asserts that a static attribute of a class or an attribute of an object is not empty.

assertAttributeNotEmpty(string $haystackAttributeName, mixed $haystackClassOrObject[, string $message = '' ]) : mixed
Parameters
$haystackAttributeName : string
$haystackClassOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeNotEquals()

Asserts that a variable is not equal to an attribute of an object.

assertAttributeNotEquals(mixed $expected, string $actualAttributeName, string $actualClassOrObject[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : string
$message : string = ''
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false

assertAttributeNotInstanceOf()

Asserts that an attribute is of a given type.

assertAttributeNotInstanceOf(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
$expected : string
$attributeName : string
$classOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeNotInternalType()

Asserts that an attribute is of a given type.

assertAttributeNotInternalType(string $expected, string $attributeName, mixed $classOrObject[, string $message = '' ]) : mixed
Parameters
$expected : string
$attributeName : string
$classOrObject : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertAttributeNotSame()

Asserts that a variable and an attribute of an object do not have the same type and value.

assertAttributeNotSame(mixed $expected, string $actualAttributeName, object $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : object
$message : string = ''

assertAttributeSame()

Asserts that a variable and an attribute of an object have the same type and value.

assertAttributeSame(mixed $expected, string $actualAttributeName, object $actualClassOrObject[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actualAttributeName : string
$actualClassOrObject : object
$message : string = ''

assertClassHasAttribute()

Asserts that a class has a specified attribute.

assertClassHasAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$className : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertClassHasStaticAttribute()

Asserts that a class has a specified static attribute.

assertClassHasStaticAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$className : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertClassNotHasAttribute()

Asserts that a class does not have a specified attribute.

assertClassNotHasAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$className : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertClassNotHasStaticAttribute()

Asserts that a class does not have a specified static attribute.

assertClassNotHasStaticAttribute(string $attributeName, string $className[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$className : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertContains()

Asserts that a haystack contains a needle.

assertContains(mixed $needle, mixed $haystack[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
$needle : mixed
$haystack : mixed
$message : string = ''
$ignoreCase : bool = false
$checkForObjectIdentity : bool = true
$checkForNonObjectIdentity : bool = false
Tags
since

Method available since Release 2.1.0

assertContainsOnly()

Asserts that a haystack contains only values of a given type.

assertContainsOnly(string $type, mixed $haystack[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
$type : string
$haystack : mixed
$isNativeType : bool = null
$message : string = ''
Tags
since

Method available since Release 3.1.4

assertContainsOnlyInstancesOf()

Asserts that a haystack contains only instances of a given classname

assertContainsOnlyInstancesOf(string $classname, array<string|int, mixed>|Traversable $haystack[, string $message = '' ]) : mixed
Parameters
$classname : string
$haystack : array<string|int, mixed>|Traversable
$message : string = ''

assertCount()

Asserts the number of elements of an array, Countable or Traversable.

assertCount(int $expectedCount, mixed $haystack[, string $message = '' ]) : mixed
Parameters
$expectedCount : int
$haystack : mixed
$message : string = ''

assertEqualXMLStructure()

Asserts that a hierarchy of DOMElements matches.

assertEqualXMLStructure(DOMElement $expectedElement, DOMElement $actualElement[, bool $checkAttributes = false ][, string $message = '' ]) : mixed
Parameters
$expectedElement : DOMElement
$actualElement : DOMElement
$checkAttributes : bool = false
$message : string = ''
Tags
since

Method available since Release 3.3.0

assertEquals()

Asserts that two variables are equal.

assertEquals(mixed $expected, mixed $actual[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false

assertFileEquals()

Asserts that the contents of one file is equal to the contents of another file.

assertFileEquals(string $expected, string $actual[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : string
$actual : string
$message : string = ''
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.2.14

assertFileExists()

Asserts that a file exists.

assertFileExists(string $filename[, string $message = '' ]) : mixed
Parameters
$filename : string
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertFileNotEquals()

Asserts that the contents of one file is not equal to the contents of another file.

assertFileNotEquals(string $expected, string $actual[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : string
$actual : string
$message : string = ''
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.2.14

assertFileNotExists()

Asserts that a file does not exist.

assertFileNotExists(string $filename[, string $message = '' ]) : mixed
Parameters
$filename : string
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertGreaterThan()

Asserts that a value is greater than another value.

assertGreaterThan(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertGreaterThanOrEqual()

Asserts that a value is greater than or equal to another value.

assertGreaterThanOrEqual(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertInstanceOf()

Asserts that a variable is of a given type.

assertInstanceOf(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : string
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertInternalType()

Asserts that a variable is of a given type.

assertInternalType(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : string
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertJson()

Asserts that a string is a valid JSON string.

assertJson(string $actualJson[, string $message = '' ]) : mixed
Parameters
$actualJson : string
$message : string = ''
Tags
since

Method available since Release 3.7.20

assertJsonFileEqualsJsonFile()

Asserts that two JSON files are equal.

assertJsonFileEqualsJsonFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualFile : string
$message : string = ''

assertJsonFileNotEqualsJsonFile()

Asserts that two JSON files are not equal.

assertJsonFileNotEqualsJsonFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualFile : string
$message : string = ''

assertJsonStringEqualsJsonFile()

Asserts that the generated JSON encoded object and the content of the given file are equal.

assertJsonStringEqualsJsonFile(string $expectedFile, string $actualJson[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualJson : string
$message : string = ''

assertJsonStringEqualsJsonString()

Asserts that two given JSON encoded objects or arrays are equal.

assertJsonStringEqualsJsonString(string $expectedJson, string $actualJson[, string $message = '' ]) : mixed
Parameters
$expectedJson : string
$actualJson : string
$message : string = ''

assertJsonStringNotEqualsJsonFile()

Asserts that the generated JSON encoded object and the content of the given file are not equal.

assertJsonStringNotEqualsJsonFile(string $expectedFile, string $actualJson[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualJson : string
$message : string = ''

assertJsonStringNotEqualsJsonString()

Asserts that two given JSON encoded objects or arrays are not equal.

assertJsonStringNotEqualsJsonString(string $expectedJson, string $actualJson[, string $message = '' ]) : mixed
Parameters
$expectedJson : string
$actualJson : string
$message : string = ''

assertLessThan()

Asserts that a value is smaller than another value.

assertLessThan(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertLessThanOrEqual()

Asserts that a value is smaller than or equal to another value.

assertLessThanOrEqual(mixed $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertNotContains()

Asserts that a haystack does not contain a needle.

assertNotContains(mixed $needle, mixed $haystack[, string $message = '' ][, bool $ignoreCase = false ][, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : mixed
Parameters
$needle : mixed
$haystack : mixed
$message : string = ''
$ignoreCase : bool = false
$checkForObjectIdentity : bool = true
$checkForNonObjectIdentity : bool = false
Tags
since

Method available since Release 2.1.0

assertNotContainsOnly()

Asserts that a haystack does not contain only values of a given type.

assertNotContainsOnly(string $type, mixed $haystack[, bool $isNativeType = null ][, string $message = '' ]) : mixed
Parameters
$type : string
$haystack : mixed
$isNativeType : bool = null
$message : string = ''
Tags
since

Method available since Release 3.1.4

assertNotCount()

Asserts the number of elements of an array, Countable or Traversable.

assertNotCount(int $expectedCount, mixed $haystack[, string $message = '' ]) : mixed
Parameters
$expectedCount : int
$haystack : mixed
$message : string = ''

assertNotEquals()

Asserts that two variables are not equal.

assertNotEquals(mixed $expected, mixed $actual[, string $message = '' ][, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : string = ''
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 2.3.0

assertNotInstanceOf()

Asserts that a variable is not of a given type.

assertNotInstanceOf(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : string
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertNotInternalType()

Asserts that a variable is not of a given type.

assertNotInternalType(string $expected, mixed $actual[, string $message = '' ]) : mixed
Parameters
$expected : string
$actual : mixed
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertNotNull()

Asserts that a variable is not null.

assertNotNull(mixed $actual[, string $message = '' ]) : mixed
Parameters
$actual : mixed
$message : string = ''

assertNotRegExp()

Asserts that a string does not match a given regular expression.

assertNotRegExp(string $pattern, string $string[, string $message = '' ]) : mixed
Parameters
$pattern : string
$string : string
$message : string = ''
Tags
since

Method available since Release 2.1.0

assertNotSame()

Asserts that two variables do not have the same type and value.

assertNotSame(mixed $expected, mixed $actual[, string $message = '' ]) : mixed

Used on objects, it asserts that two variables do not reference the same object.

Parameters
$expected : mixed
$actual : mixed
$message : string = ''

assertNotSameSize()

Assert that the size of two arrays (or `Countable` or `Traversable` objects) is not the same.

assertNotSameSize(array<string|int, mixed>|Countable|Traversable $expected, array<string|int, mixed>|Countable|Traversable $actual[, string $message = '' ]) : mixed
Parameters
$expected : array<string|int, mixed>|Countable|Traversable
$actual : array<string|int, mixed>|Countable|Traversable
$message : string = ''

assertNotTag()

This assertion is the exact opposite of assertTag().

assertNotTag(array<string|int, mixed> $matcher, string $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed

Rather than asserting that $matcher results in a match, it asserts that $matcher does not match.

Parameters
$matcher : array<string|int, mixed>
$actual : string
$message : string = ''
$isHtml : bool = true
Tags
since

Method available since Release 3.3.0

assertNull()

Asserts that a variable is null.

assertNull(mixed $actual[, string $message = '' ]) : mixed
Parameters
$actual : mixed
$message : string = ''

assertObjectHasAttribute()

Asserts that an object has a specified attribute.

assertObjectHasAttribute(string $attributeName, object $object[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$object : object
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertObjectNotHasAttribute()

Asserts that an object does not have a specified attribute.

assertObjectNotHasAttribute(string $attributeName, object $object[, string $message = '' ]) : mixed
Parameters
$attributeName : string
$object : object
$message : string = ''
Tags
since

Method available since Release 3.0.0

assertRegExp()

Asserts that a string matches a given regular expression.

assertRegExp(string $pattern, string $string[, string $message = '' ]) : mixed
Parameters
$pattern : string
$string : string
$message : string = ''

assertSame()

Asserts that two variables have the same type and value.

assertSame(mixed $expected, mixed $actual[, string $message = '' ]) : mixed

Used on objects, it asserts that two variables reference the same object.

Parameters
$expected : mixed
$actual : mixed
$message : string = ''

assertSameSize()

Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.

assertSameSize(array<string|int, mixed>|Countable|Traversable $expected, array<string|int, mixed>|Countable|Traversable $actual[, string $message = '' ]) : mixed
Parameters
$expected : array<string|int, mixed>|Countable|Traversable
$actual : array<string|int, mixed>|Countable|Traversable
$message : string = ''

assertSelectCount()

Assert the presence, absence, or count of elements in a document matching the CSS $selector, regardless of the contents of those elements.

assertSelectCount(array<string|int, mixed> $selector, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed

The first argument, $selector, is the CSS selector used to match the elements in the $actual document.

The second argument, $count, can be either boolean or numeric. When boolean, it asserts for presence of elements matching the selector (true) or absence of elements (false). When numeric, it asserts the count of elements.

assertSelectCount("#binder", true, $xml); // any? assertSelectCount(".binder", 3, $xml); // exactly 3?

Parameters
$selector : array<string|int, mixed>
$count : int
$actual : mixed
$message : string = ''
$isHtml : bool = true
Tags
since

Method available since Release 3.3.0

assertSelectEquals()

assertSelectEquals("#binder .name", "Chuck", true, $xml); // any? assertSelectEquals("#binder .name", "Chuck", false, $xml); // none?

assertSelectEquals(array<string|int, mixed> $selector, string $content, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
Parameters
$selector : array<string|int, mixed>
$content : string
$count : int
$actual : mixed
$message : string = ''
$isHtml : bool = true
Tags
since

Method available since Release 3.3.0

assertSelectRegExp()

assertSelectRegExp("#binder .name", "/Mike|Derek/", true, $xml); // any? assertSelectRegExp("#binder .name", "/Mike|Derek/", 3, $xml);// 3?

assertSelectRegExp(array<string|int, mixed> $selector, string $pattern, int $count, mixed $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed
Parameters
$selector : array<string|int, mixed>
$pattern : string
$count : int
$actual : mixed
$message : string = ''
$isHtml : bool = true
Tags
since

Method available since Release 3.3.0

assertStringEndsNotWith()

Asserts that a string ends not with a given prefix.

assertStringEndsNotWith(string $suffix, string $string[, string $message = '' ]) : mixed
Parameters
$suffix : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.4.0

assertStringEndsWith()

Asserts that a string ends with a given prefix.

assertStringEndsWith(string $suffix, string $string[, string $message = '' ]) : mixed
Parameters
$suffix : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.4.0

assertStringEqualsFile()

Asserts that the contents of a string is equal to the contents of a file.

assertStringEqualsFile(string $expectedFile, string $actualString[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expectedFile : string
$actualString : string
$message : string = ''
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.3.0

assertStringMatchesFormat()

Asserts that a string matches a given format string.

assertStringMatchesFormat(string $format, string $string[, string $message = '' ]) : mixed
Parameters
$format : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertStringMatchesFormatFile()

Asserts that a string matches a given format file.

assertStringMatchesFormatFile(string $formatFile, string $string[, string $message = '' ]) : mixed
Parameters
$formatFile : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertStringNotEqualsFile()

Asserts that the contents of a string is not equal to the contents of a file.

assertStringNotEqualsFile(string $expectedFile, string $actualString[, string $message = '' ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : mixed
Parameters
$expectedFile : string
$actualString : string
$message : string = ''
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.3.0

assertStringNotMatchesFormat()

Asserts that a string does not match a given format string.

assertStringNotMatchesFormat(string $format, string $string[, string $message = '' ]) : mixed
Parameters
$format : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertStringNotMatchesFormatFile()

Asserts that a string does not match a given format string.

assertStringNotMatchesFormatFile(string $formatFile, string $string[, string $message = '' ]) : mixed
Parameters
$formatFile : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.5.0

assertStringStartsNotWith()

Asserts that a string starts not with a given prefix.

assertStringStartsNotWith(string $prefix, string $string[, string $message = '' ]) : mixed
Parameters
$prefix : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.4.0

assertStringStartsWith()

Asserts that a string starts with a given prefix.

assertStringStartsWith(string $prefix, string $string[, string $message = '' ]) : mixed
Parameters
$prefix : string
$string : string
$message : string = ''
Tags
since

Method available since Release 3.4.0

assertTag()

Evaluate an HTML or XML string and assert its structure and/or contents.

assertTag(array<string|int, mixed> $matcher, string $actual[, string $message = '' ][, bool $isHtml = true ]) : mixed

The first argument ($matcher) is an associative array that specifies the match criteria for the assertion:

  • id : the node with the given id attribute must match the corresponding value.
  • tag : the node type must match the corresponding value.
  • attributes : a hash. The node's attributes must match the corresponding values in the hash.
  • content : The text content must match the given value.
  • parent : a hash. The node's parent must match the corresponding hash.
  • child: a hash. At least one of the node's immediate children must meet the criteria described by the hash.
  • ancestor : a hash. At least one of the node's ancestors must meet the criteria described by the hash.
  • descendant : a hash. At least one of the node's descendants must meet the criteria described by the hash.
  • children : a hash, for counting children of a node. Accepts the keys:
  • count: a number which must equal the number of children that match
  • less_than: the number of matching children must be greater than this number
  • greater_than : the number of matching children must be less than this number
  • only : another hash consisting of the keys to use to match on the children, and only matching children will be counted
// Matcher that asserts that there is an element with an id="my_id". $matcher = array('id' => 'my_id');

// Matcher that asserts that there is a "span" tag. $matcher = array('tag' => 'span');

// Matcher that asserts that there is a "span" tag with the content // "Hello World". $matcher = array('tag' => 'span', 'content' => 'Hello World');

// Matcher that asserts that there is a "span" tag with content matching // the regular expression pattern. $matcher = array('tag' => 'span', 'content' => 'regexp:/Try P(HP|ython)/');

// Matcher that asserts that there is a "span" with an "list" class // attribute. $matcher = array( 'tag'=> 'span', 'attributes' => array('class' => 'list') );

// Matcher that asserts that there is a "span" inside of a "div". $matcher = array( 'tag'=> 'span', 'parent' => array('tag' => 'div') );

// Matcher that asserts that there is a "span" somewhere inside a // "table". $matcher = array( 'tag' => 'span', 'ancestor' => array('tag' => 'table') );

// Matcher that asserts that there is a "span" with at least one "em" // child. $matcher = array( 'tag' => 'span', 'child' => array('tag' => 'em') );

// Matcher that asserts that there is a "span" containing a (possibly // nested) "strong" tag. $matcher = array( 'tag'=> 'span', 'descendant' => array('tag' => 'strong') );

// Matcher that asserts that there is a "span" containing 5-10 "em" tags // as immediate children. $matcher = array( 'tag' => 'span', 'children' => array( 'less_than'=> 11, 'greater_than' => 4, 'only' => array('tag' => 'em') ) );

// Matcher that asserts that there is a "div", with an "ul" ancestor and // a "li" parent (with class="enum"), and containing a "span" descendant // that contains an element with id="my_test" and the text "Hello World". $matcher = array( 'tag'=> 'div', 'ancestor' => array('tag' => 'ul'), 'parent' => array( 'tag'=> 'li', 'attributes' => array('class' => 'enum') ), 'descendant' => array( 'tag' => 'span', 'child' => array( 'id' => 'my_test', 'content' => 'Hello World' ) ) );

// Use assertTag() to apply a $matcher to a piece of $html. $this->assertTag($matcher, $html);

// Use assertTag() to apply a $matcher to a piece of $xml. $this->assertTag($matcher, $xml, '', false);

The second argument ($actual) is a string containing either HTML or XML text to be tested.

The third argument ($message) is an optional message that will be used if the assertion fails.

The fourth argument ($html) is an optional flag specifying whether to load the $actual string into a DOMDocument using the HTML or XML load strategy. It is true by default, which assumes the HTML load strategy. In many cases, this will be acceptable for XML as well.

Parameters
$matcher : array<string|int, mixed>
$actual : string
$message : string = ''
$isHtml : bool = true
Tags
since

Method available since Release 3.3.0

assertXmlFileEqualsXmlFile()

Asserts that two XML files are equal.

assertXmlFileEqualsXmlFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualFile : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertXmlFileNotEqualsXmlFile()

Asserts that two XML files are not equal.

assertXmlFileNotEqualsXmlFile(string $expectedFile, string $actualFile[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualFile : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertXmlStringEqualsXmlFile()

Asserts that two XML documents are equal.

assertXmlStringEqualsXmlFile(string $expectedFile, string $actualXml[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualXml : string
$message : string = ''
Tags
since

Method available since Release 3.3.0

assertXmlStringEqualsXmlString()

Asserts that two XML documents are equal.

assertXmlStringEqualsXmlString(string $expectedXml, string $actualXml[, string $message = '' ]) : mixed
Parameters
$expectedXml : string
$actualXml : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

assertXmlStringNotEqualsXmlFile()

Asserts that two XML documents are not equal.

assertXmlStringNotEqualsXmlFile(string $expectedFile, string $actualXml[, string $message = '' ]) : mixed
Parameters
$expectedFile : string
$actualXml : string
$message : string = ''
Tags
since

Method available since Release 3.3.0

assertXmlStringNotEqualsXmlString()

Asserts that two XML documents are not equal.

assertXmlStringNotEqualsXmlString(string $expectedXml, string $actualXml[, string $message = '' ]) : mixed
Parameters
$expectedXml : string
$actualXml : string
$message : string = ''
Tags
since

Method available since Release 3.1.0

attributeEqualTo()

Returns a PHPUnit_Framework_Constraint_IsEqual matcher object that is wrapped in a PHPUnit_Framework_Constraint_Attribute matcher object.

attributeEqualTo(string $attributeName, mixed $value[, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : PHPUnit_Framework_Constraint_Attribute
Parameters
$attributeName : string
$value : mixed
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.1.0

contains()

Returns a PHPUnit_Framework_Constraint_TraversableContains matcher object.

contains(mixed $value[, bool $checkForObjectIdentity = true ][, bool $checkForNonObjectIdentity = false ]) : PHPUnit_Framework_Constraint_TraversableContains
Parameters
$value : mixed
$checkForObjectIdentity : bool = true
$checkForNonObjectIdentity : bool = false
Tags
since

Method available since Release 3.0.0

equalTo()

Returns a PHPUnit_Framework_Constraint_IsEqual matcher object.

equalTo(mixed $value[, float $delta = 0.0 ][, int $maxDepth = 10 ][, bool $canonicalize = false ][, bool $ignoreCase = false ]) : PHPUnit_Framework_Constraint_IsEqual
Parameters
$value : mixed
$delta : float = 0.0
$maxDepth : int = 10
$canonicalize : bool = false
$ignoreCase : bool = false
Tags
since

Method available since Release 3.0.0

greaterThanOrEqual()

Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_GreaterThan matcher object.

greaterThanOrEqual(mixed $value) : PHPUnit_Framework_Constraint_Or
Parameters
$value : mixed
Tags
since

Method available since Release 3.1.0

lessThanOrEqual()

Returns a PHPUnit_Framework_Constraint_Or matcher object that wraps a PHPUnit_Framework_Constraint_IsEqual and a PHPUnit_Framework_Constraint_LessThan matcher object.

lessThanOrEqual(mixed $value) : PHPUnit_Framework_Constraint_Or
Parameters
$value : mixed
Tags
since

Method available since Release 3.1.0

matchesRegularExpression()

Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.

matchesRegularExpression(string $pattern) : PHPUnit_Framework_Constraint_PCREMatch
Parameters
$pattern : string
Tags
since

Method available since Release 3.0.0

stringContains()

Returns a PHPUnit_Framework_Constraint_StringContains matcher object.

stringContains(string $string[, bool $case = true ]) : PHPUnit_Framework_Constraint_StringContains
Parameters
$string : string
$case : bool = true
Tags
since

Method available since Release 3.0.0

trait_exists()

trait_exists(mixed $traitname[, mixed $autoload = true ]) : mixed
Parameters
$traitname : mixed
$autoload : mixed = true

trait_exists()

trait_exists(mixed $traitname[, mixed $autoload = true ]) : mixed
Parameters
$traitname : mixed
$autoload : mixed = true

getallheaders()

Get all HTTP header key/values as an associative array for the current request.

getallheaders() : mixed

buildFromPackage()

Build from a package list.

buildFromPackage(object &$phar) : void
Parameters
$phar : object

The Phar class.

buildFromNode()

Add from a node.

buildFromNode(object &$phar, object $node[, string $prefix = '' ]) : void
Parameters
$phar : object

The Phar class.

$node : object

The node to add.

$prefix : string = ''

The prefix of the structure.

trigger_deprecation()

Triggers a silenced deprecation notice.

trigger_deprecation(string $package, string $version, string $message, mixed ...$args) : void
Parameters
$package : string

The name of the Composer package that is triggering the deprecation

$version : string

The version of the package that introduced the deprecation

$message : string

The message of the deprecation

$args : mixed

Values to insert in the message using printf() formatting

Tags
author

Nicolas Grekas p@tchwork.com

ctype_alnum()

ctype_alnum(mixed $text) : mixed
Parameters
$text : mixed

ctype_alpha()

ctype_alpha(mixed $text) : mixed
Parameters
$text : mixed

ctype_cntrl()

ctype_cntrl(mixed $text) : mixed
Parameters
$text : mixed

ctype_digit()

ctype_digit(mixed $text) : mixed
Parameters
$text : mixed

ctype_graph()

ctype_graph(mixed $text) : mixed
Parameters
$text : mixed

ctype_lower()

ctype_lower(mixed $text) : mixed
Parameters
$text : mixed

ctype_print()

ctype_print(mixed $text) : mixed
Parameters
$text : mixed

ctype_punct()

ctype_punct(mixed $text) : mixed
Parameters
$text : mixed

ctype_space()

ctype_space(mixed $text) : mixed
Parameters
$text : mixed

ctype_upper()

ctype_upper(mixed $text) : mixed
Parameters
$text : mixed

ctype_xdigit()

ctype_xdigit(mixed $text) : mixed
Parameters
$text : mixed

ctype_alnum()

ctype_alnum(mixed $text) : bool
Parameters
$text : mixed

ctype_alpha()

ctype_alpha(mixed $text) : bool
Parameters
$text : mixed

ctype_cntrl()

ctype_cntrl(mixed $text) : bool
Parameters
$text : mixed

ctype_digit()

ctype_digit(mixed $text) : bool
Parameters
$text : mixed

ctype_graph()

ctype_graph(mixed $text) : bool
Parameters
$text : mixed

ctype_lower()

ctype_lower(mixed $text) : bool
Parameters
$text : mixed

ctype_print()

ctype_print(mixed $text) : bool
Parameters
$text : mixed

ctype_punct()

ctype_punct(mixed $text) : bool
Parameters
$text : mixed

ctype_space()

ctype_space(mixed $text) : bool
Parameters
$text : mixed

ctype_upper()

ctype_upper(mixed $text) : bool
Parameters
$text : mixed

ctype_xdigit()

ctype_xdigit(mixed $text) : bool
Parameters
$text : mixed

grapheme_extract()

grapheme_extract(mixed $haystack, mixed $size, mixed $type, mixed $start, mixed &$next) : mixed
Parameters
$haystack : mixed
$size : mixed
$type : mixed
$start : mixed
$next : mixed

grapheme_stripos()

grapheme_stripos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed

grapheme_stristr()

grapheme_stristr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$beforeNeedle : mixed = false

grapheme_strlen()

grapheme_strlen(mixed $input) : mixed
Parameters
$input : mixed

grapheme_strpos()

grapheme_strpos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed

grapheme_strripos()

grapheme_strripos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed

grapheme_strrpos()

grapheme_strrpos(mixed $haystack, mixed $needle, mixed $offset) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed

grapheme_strstr()

grapheme_strstr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$beforeNeedle : mixed = false

grapheme_substr()

grapheme_substr(mixed $string, mixed $offset[, mixed $length = null ]) : mixed
Parameters
$string : mixed
$offset : mixed
$length : mixed = null

grapheme_extract()

grapheme_extract(string|null $haystack, int|null $size[, int|null $type = GRAPHEME_EXTR_COUNT ], int|null $offset[, mixed &$next = null ]) : string|false
Parameters
$haystack : string|null
$size : int|null
$type : int|null = GRAPHEME_EXTR_COUNT
$offset : int|null
$next : mixed = null

grapheme_stripos()

grapheme_stripos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null

grapheme_stristr()

grapheme_stristr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$beforeNeedle : bool|null = false

grapheme_strlen()

grapheme_strlen(string|null $string) : int|false|null
Parameters
$string : string|null

grapheme_strpos()

grapheme_strpos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null

grapheme_strripos()

grapheme_strripos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null

grapheme_strrpos()

grapheme_strrpos(string|null $haystack, string|null $needle, int|null $offset) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null

grapheme_strstr()

grapheme_strstr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$beforeNeedle : bool|null = false

grapheme_substr()

grapheme_substr(string|null $string, int|null $offset[, int|null $length = null ]) : string|false
Parameters
$string : string|null
$offset : int|null
$length : int|null = null

idn_to_ascii()

idn_to_ascii(mixed $domain, mixed $flags[, mixed $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : mixed
Parameters
$domain : mixed
$flags : mixed
$variant : mixed = INTL_IDNA_VARIANT_UTS46
$idna_info : mixed = null

idn_to_utf8()

idn_to_utf8(mixed $domain, mixed $flags[, mixed $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : mixed
Parameters
$domain : mixed
$flags : mixed
$variant : mixed = INTL_IDNA_VARIANT_UTS46
$idna_info : mixed = null

idn_to_ascii()

idn_to_ascii(string|null $domain, int|null $flags[, int|null $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : string|false
Parameters
$domain : string|null
$flags : int|null
$variant : int|null = INTL_IDNA_VARIANT_UTS46
$idna_info : mixed = null

idn_to_utf8()

idn_to_utf8(string|null $domain, int|null $flags[, int|null $variant = INTL_IDNA_VARIANT_UTS46 ][, mixed &$idna_info = null ]) : string|false
Parameters
$domain : string|null
$flags : int|null
$variant : int|null = INTL_IDNA_VARIANT_UTS46
$idna_info : mixed = null

normalizer_is_normalized()

normalizer_is_normalized(mixed $string[, mixed $form = pNormalizer::FORM_C ]) : mixed
Parameters
$string : mixed
$form : mixed = pNormalizer::FORM_C

normalizer_normalize()

normalizer_normalize(mixed $string[, mixed $form = pNormalizer::FORM_C ]) : mixed
Parameters
$string : mixed
$form : mixed = pNormalizer::FORM_C

normalizer_is_normalized()

normalizer_is_normalized(string|null $string[, int|null $form = pNormalizer::FORM_C ]) : bool
Parameters
$string : string|null
$form : int|null = pNormalizer::FORM_C

normalizer_normalize()

normalizer_normalize(string|null $string[, int|null $form = pNormalizer::FORM_C ]) : string|false
Parameters
$string : string|null
$form : int|null = pNormalizer::FORM_C

mb_convert_encoding()

mb_convert_encoding(mixed $string, mixed $to_encoding[, mixed $from_encoding = null ]) : mixed
Parameters
$string : mixed
$to_encoding : mixed
$from_encoding : mixed = null

mb_decode_mimeheader()

mb_decode_mimeheader(mixed $string) : mixed
Parameters
$string : mixed

mb_encode_mimeheader()

mb_encode_mimeheader(mixed $string[, mixed $charset = null ][, mixed $transfer_encoding = null ][, mixed $newline = " " ], mixed $indent) : mixed
Parameters
$string : mixed
$charset : mixed = null
$transfer_encoding : mixed = null
$newline : mixed = " "
$indent : mixed

mb_decode_numericentity()

mb_decode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$map : mixed
$encoding : mixed = null

mb_encode_numericentity()

mb_encode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ][, mixed $hex = false ]) : mixed
Parameters
$string : mixed
$map : mixed
$encoding : mixed = null
$hex : mixed = false

mb_convert_case()

mb_convert_case(mixed $string, mixed $mode[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$mode : mixed
$encoding : mixed = null

mb_internal_encoding()

mb_internal_encoding([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_language()

mb_language([mixed $language = null ]) : mixed
Parameters
$language : mixed = null

mb_list_encodings()

mb_list_encodings() : mixed

mb_encoding_aliases()

mb_encoding_aliases(mixed $encoding) : mixed
Parameters
$encoding : mixed

mb_check_encoding()

mb_check_encoding([mixed $value = null ][, mixed $encoding = null ]) : mixed
Parameters
$value : mixed = null
$encoding : mixed = null

mb_detect_encoding()

mb_detect_encoding(mixed $string[, mixed $encodings = null ][, mixed $strict = false ]) : mixed
Parameters
$string : mixed
$encodings : mixed = null
$strict : mixed = false

mb_detect_order()

mb_detect_order([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_parse_str()

mb_parse_str(mixed $string[, mixed &$result = [] ]) : mixed
Parameters
$string : mixed
$result : mixed = []

mb_strlen()

mb_strlen(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_strpos()

mb_strpos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed
$encoding : mixed = null

mb_strtolower()

mb_strtolower(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_strtoupper()

mb_strtoupper(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_substitute_character()

mb_substitute_character([mixed $substitute_character = null ]) : mixed
Parameters
$substitute_character : mixed = null

mb_substr()

mb_substr(mixed $string, mixed $start[, mixed $length = 2147483647 ][, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$start : mixed
$length : mixed = 2147483647
$encoding : mixed = null

mb_stripos()

mb_stripos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed
$encoding : mixed = null

mb_stristr()

mb_stristr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strrchr()

mb_strrchr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strrichr()

mb_strrichr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strripos()

mb_strripos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed
$encoding : mixed = null

mb_strrpos()

mb_strrpos(mixed $haystack, mixed $needle, mixed $offset[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed
$encoding : mixed = null

mb_strstr()

mb_strstr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_get_info()

mb_get_info([mixed $type = 'all' ]) : mixed
Parameters
$type : mixed = 'all'

mb_http_output()

mb_http_output([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_strwidth()

mb_strwidth(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_substr_count()

mb_substr_count(mixed $haystack, mixed $needle[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$encoding : mixed = null

mb_output_handler()

mb_output_handler(mixed $string, mixed $status) : mixed
Parameters
$string : mixed
$status : mixed

mb_http_input()

mb_http_input([mixed $type = null ]) : mixed
Parameters
$type : mixed = null

mb_convert_variables()

mb_convert_variables(mixed $to_encoding, mixed $from_encoding, mixed ...&$vars) : mixed
Parameters
$to_encoding : mixed
$from_encoding : mixed
$vars : mixed

mb_ord()

mb_ord(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_chr()

mb_chr(mixed $codepoint[, mixed $encoding = null ]) : mixed
Parameters
$codepoint : mixed
$encoding : mixed = null

mb_scrub()

mb_scrub(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_str_split()

mb_str_split(mixed $string[, mixed $length = 1 ][, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$length : mixed = 1
$encoding : mixed = null

mb_convert_encoding()

mb_convert_encoding(array<string|int, mixed>|string|null $string, string|null $to_encoding[, array<string|int, mixed>|string|null $from_encoding = null ]) : array<string|int, mixed>|string|false
Parameters
$string : array<string|int, mixed>|string|null
$to_encoding : string|null
$from_encoding : array<string|int, mixed>|string|null = null

mb_decode_mimeheader()

mb_decode_mimeheader(string|null $string) : string
Parameters
$string : string|null

mb_encode_mimeheader()

mb_encode_mimeheader(string|null $string[, string|null $charset = null ][, string|null $transfer_encoding = null ][, string|null $newline = " " ], int|null $indent) : string
Parameters
$string : string|null
$charset : string|null = null
$transfer_encoding : string|null = null
$newline : string|null = " "
$indent : int|null

mb_decode_numericentity()

mb_decode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$map : array<string|int, mixed>
$encoding : string|null = null

mb_encode_numericentity()

mb_encode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ][, bool|null $hex = false ]) : string
Parameters
$string : string|null
$map : array<string|int, mixed>
$encoding : string|null = null
$hex : bool|null = false

mb_convert_case()

mb_convert_case(string|null $string, int|null $mode[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$mode : int|null
$encoding : string|null = null

mb_internal_encoding()

mb_internal_encoding([string|null $encoding = null ]) : string|bool
Parameters
$encoding : string|null = null

mb_language()

mb_language([string|null $language = null ]) : string|bool
Parameters
$language : string|null = null

mb_list_encodings()

mb_list_encodings() : array<string|int, mixed>

mb_encoding_aliases()

mb_encoding_aliases(string|null $encoding) : array<string|int, mixed>
Parameters
$encoding : string|null

mb_check_encoding()

mb_check_encoding([array<string|int, mixed>|string|null $value = null ][, string|null $encoding = null ]) : bool
Parameters
$value : array<string|int, mixed>|string|null = null
$encoding : string|null = null

mb_detect_encoding()

mb_detect_encoding(string|null $string[, array<string|int, mixed>|string|null $encodings = null ][, bool|null $strict = false ]) : string|false
Parameters
$string : string|null
$encodings : array<string|int, mixed>|string|null = null
$strict : bool|null = false

mb_detect_order()

mb_detect_order([array<string|int, mixed>|string|null $encoding = null ]) : array<string|int, mixed>|bool
Parameters
$encoding : array<string|int, mixed>|string|null = null

mb_parse_str()

mb_parse_str(string|null $string[, mixed &$result = [] ]) : bool
Parameters
$string : string|null
$result : mixed = []

mb_strlen()

mb_strlen(string|null $string[, string|null $encoding = null ]) : int
Parameters
$string : string|null
$encoding : string|null = null

mb_strpos()

mb_strpos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null
$encoding : string|null = null

mb_strtolower()

mb_strtolower(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null

mb_strtoupper()

mb_strtoupper(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null

mb_substitute_character()

mb_substitute_character([string|int|null $substitute_character = null ]) : string|int|bool
Parameters
$substitute_character : string|int|null = null

mb_substr()

mb_substr(string|null $string, int|null $start[, int|null $length = null ][, string|null $encoding = null ]) : string
Parameters
$string : string|null
$start : int|null
$length : int|null = null
$encoding : string|null = null

mb_stripos()

mb_stripos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null
$encoding : string|null = null

mb_stristr()

mb_stristr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null

mb_strrchr()

mb_strrchr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null

mb_strrichr()

mb_strrichr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null

mb_strripos()

mb_strripos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null
$encoding : string|null = null

mb_strrpos()

mb_strrpos(string|null $haystack, string|null $needle, int|null $offset[, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null
$encoding : string|null = null

mb_strstr()

mb_strstr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null

mb_get_info()

mb_get_info([string|null $type = 'all' ]) : array<string|int, mixed>|string|int|false
Parameters
$type : string|null = 'all'

mb_http_output()

mb_http_output([string|null $encoding = null ]) : string|bool
Parameters
$encoding : string|null = null

mb_strwidth()

mb_strwidth(string|null $string[, string|null $encoding = null ]) : int
Parameters
$string : string|null
$encoding : string|null = null

mb_substr_count()

mb_substr_count(string|null $haystack, string|null $needle[, string|null $encoding = null ]) : int
Parameters
$haystack : string|null
$needle : string|null
$encoding : string|null = null

mb_output_handler()

mb_output_handler(string|null $string, int|null $status) : string
Parameters
$string : string|null
$status : int|null

mb_http_input()

mb_http_input([string|null $type = null ]) : array<string|int, mixed>|string|false
Parameters
$type : string|null = null

mb_convert_variables()

mb_convert_variables(string|null $to_encoding, array<string|int, mixed>|string|null $from_encoding, mixed &$var, mixed ...&$vars) : string|false
Parameters
$to_encoding : string|null
$from_encoding : array<string|int, mixed>|string|null
$var : mixed
$vars : mixed

mb_ord()

mb_ord(string|null $string[, string|null $encoding = null ]) : int|false
Parameters
$string : string|null
$encoding : string|null = null

mb_chr()

mb_chr(int|null $codepoint[, string|null $encoding = null ]) : string|false
Parameters
$codepoint : int|null
$encoding : string|null = null

mb_scrub()

mb_scrub(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null

mb_str_split()

mb_str_split(string|null $string[, int|null $length = 1 ][, string|null $encoding = null ]) : array<string|int, mixed>
Parameters
$string : string|null
$length : int|null = 1
$encoding : string|null = null

sapi_windows_vt100_support()

sapi_windows_vt100_support(mixed $stream[, mixed $enable = null ]) : mixed
Parameters
$stream : mixed
$enable : mixed = null

stream_isatty()

stream_isatty(mixed $stream) : mixed
Parameters
$stream : mixed

utf8_encode()

utf8_encode(mixed $string) : mixed
Parameters
$string : mixed

utf8_decode()

utf8_decode(mixed $string) : mixed
Parameters
$string : mixed

spl_object_id()

spl_object_id(mixed $object) : mixed
Parameters
$object : mixed

mb_ord()

mb_ord(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_chr()

mb_chr(mixed $codepoint[, mixed $encoding = null ]) : mixed
Parameters
$codepoint : mixed
$encoding : mixed = null

mb_scrub()

mb_scrub(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

is_countable()

is_countable(mixed $value) : mixed
Parameters
$value : mixed

hrtime()

hrtime([mixed $as_number = false ]) : mixed
Parameters
$as_number : mixed = false

array_key_first()

array_key_first(array<string|int, mixed> $array) : mixed
Parameters
$array : array<string|int, mixed>

array_key_last()

array_key_last(array<string|int, mixed> $array) : mixed
Parameters
$array : array<string|int, mixed>

fdiv()

fdiv(float $num1, float $num2) : float
Parameters
$num1 : float
$num2 : float

preg_last_error_msg()

preg_last_error_msg() : string

str_contains()

str_contains(string $haystack, string $needle) : bool
Parameters
$haystack : string
$needle : string

str_starts_with()

str_starts_with(string $haystack, string $needle) : bool
Parameters
$haystack : string
$needle : string

str_ends_with()

str_ends_with(string $haystack, string $needle) : bool
Parameters
$haystack : string
$needle : string

get_debug_type()

get_debug_type(mixed $value) : string
Parameters
$value : mixed

get_resource_id()

get_resource_id(mixed $resource) : int
Parameters
$resource : mixed

Search results