├── LICENSE ├── README.md ├── autoload.php ├── b2c_authentication.php ├── class-b2c-endpoint-handler.php ├── class-b2c-settings-page.php ├── class-b2c-settings.php ├── class-b2c-token-checker.php ├── composer.json ├── composer.lock ├── phpseclib ├── Crypt │ ├── AES.php │ ├── Base.php │ ├── BigInteger.php │ ├── Blowfish.php │ ├── DES.php │ ├── Hash.php │ ├── RC2.php │ ├── RC4.php │ ├── RSA.php │ ├── Random.php │ ├── Rijndael.php │ ├── TripleDES.php │ └── Twofish.php ├── File │ ├── ANSI.php │ ├── ASN1.php │ └── X509.php ├── Math │ └── BigInteger.php ├── Net │ ├── SCP.php │ ├── SFTP.php │ ├── SFTP │ │ └── Stream.php │ ├── SSH1.php │ └── SSH2.php ├── System │ ├── SSH │ │ └── Agent.php │ └── SSH_Agent.php └── openssl.cnf └── vendor ├── autoload.php ├── bin ├── phpunit └── phpunit.bat ├── composer ├── ClassLoader.php ├── LICENSE ├── autoload_classmap.php ├── autoload_namespaces.php ├── autoload_psr4.php ├── autoload_real.php ├── autoload_static.php ├── include_paths.php └── installed.json ├── firebase └── php-jwt │ ├── LICENSE │ ├── README.md │ ├── composer.json │ ├── composer.lock │ ├── package.xml │ └── src │ ├── BeforeValidException.php │ ├── ExpiredException.php │ ├── JWT.php │ └── SignatureInvalidException.php ├── phpunit ├── php-code-coverage │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── PHP │ │ ├── CodeCoverage.php │ │ └── CodeCoverage │ │ │ ├── Autoload.php │ │ │ ├── Autoload.php.in │ │ │ ├── Driver.php │ │ │ ├── Driver │ │ │ └── Xdebug.php │ │ │ ├── Exception.php │ │ │ ├── Filter.php │ │ │ ├── Report │ │ │ ├── Clover.php │ │ │ ├── Factory.php │ │ │ ├── HTML.php │ │ │ ├── HTML │ │ │ │ ├── Renderer.php │ │ │ │ └── Renderer │ │ │ │ │ ├── Dashboard.php │ │ │ │ │ ├── Directory.php │ │ │ │ │ ├── File.php │ │ │ │ │ └── Template │ │ │ │ │ ├── coverage_bar.html.dist │ │ │ │ │ ├── css │ │ │ │ │ ├── bootstrap-responsive.min.css │ │ │ │ │ ├── bootstrap.min.css │ │ │ │ │ ├── nv.d3.css │ │ │ │ │ └── style.css │ │ │ │ │ ├── dashboard.html.dist │ │ │ │ │ ├── directory.html.dist │ │ │ │ │ ├── directory_item.html.dist │ │ │ │ │ ├── file.html.dist │ │ │ │ │ ├── file_item.html.dist │ │ │ │ │ ├── img │ │ │ │ │ ├── glyphicons-halflings-white.png │ │ │ │ │ └── glyphicons-halflings.png │ │ │ │ │ ├── js │ │ │ │ │ ├── bootstrap.min.js │ │ │ │ │ ├── d3.min.js │ │ │ │ │ ├── html5shiv.js │ │ │ │ │ ├── jquery.min.js │ │ │ │ │ └── nv.d3.min.js │ │ │ │ │ └── method_item.html.dist │ │ │ ├── Node.php │ │ │ ├── Node │ │ │ │ ├── Directory.php │ │ │ │ ├── File.php │ │ │ │ └── Iterator.php │ │ │ ├── PHP.php │ │ │ └── Text.php │ │ │ ├── Util.php │ │ │ ├── Util │ │ │ └── InvalidArgumentHelper.php │ │ │ └── Version.php │ ├── README.md │ ├── Tests │ │ ├── PHP │ │ │ ├── CodeCoverage │ │ │ │ ├── FilterTest.php │ │ │ │ ├── Report │ │ │ │ │ ├── CloverTest.php │ │ │ │ │ └── FactoryTest.php │ │ │ │ └── UtilTest.php │ │ │ └── CodeCoverageTest.php │ │ ├── TestCase.php │ │ └── _files │ │ │ ├── BankAccount-clover.xml │ │ │ ├── BankAccount.php │ │ │ ├── BankAccountTest.php │ │ │ ├── CoverageClassExtendedTest.php │ │ │ ├── CoverageClassTest.php │ │ │ ├── CoverageFunctionParenthesesTest.php │ │ │ ├── CoverageFunctionParenthesesWhitespaceTest.php │ │ │ ├── CoverageFunctionTest.php │ │ │ ├── CoverageMethodOneLineAnnotationTest.php │ │ │ ├── CoverageMethodParenthesesTest.php │ │ │ ├── CoverageMethodParenthesesWhitespaceTest.php │ │ │ ├── CoverageMethodTest.php │ │ │ ├── CoverageNoneTest.php │ │ │ ├── CoverageNotPrivateTest.php │ │ │ ├── CoverageNotProtectedTest.php │ │ │ ├── CoverageNotPublicTest.php │ │ │ ├── CoverageNothingTest.php │ │ │ ├── CoveragePrivateTest.php │ │ │ ├── CoverageProtectedTest.php │ │ │ ├── CoveragePublicTest.php │ │ │ ├── CoverageTwoDefaultClassAnnotations.php │ │ │ ├── CoveredClass.php │ │ │ ├── CoveredFunction.php │ │ │ ├── NamespaceCoverageClassExtendedTest.php │ │ │ ├── NamespaceCoverageClassTest.php │ │ │ ├── NamespaceCoverageCoversClassPublicTest.php │ │ │ ├── NamespaceCoverageCoversClassTest.php │ │ │ ├── NamespaceCoverageMethodTest.php │ │ │ ├── NamespaceCoverageNotPrivateTest.php │ │ │ ├── NamespaceCoverageNotProtectedTest.php │ │ │ ├── NamespaceCoverageNotPublicTest.php │ │ │ ├── NamespaceCoveragePrivateTest.php │ │ │ ├── NamespaceCoverageProtectedTest.php │ │ │ ├── NamespaceCoveragePublicTest.php │ │ │ ├── NamespaceCoveredClass.php │ │ │ ├── NotExistingCoveredElementTest.php │ │ │ ├── class-with-anonymous-function-clover.xml │ │ │ ├── ignored-lines-clover.xml │ │ │ ├── source_with_class_and_anonymous_function.php │ │ │ ├── source_with_ignore.php │ │ │ ├── source_with_namespace.php │ │ │ ├── source_with_oneline_annotations.php │ │ │ ├── source_without_ignore.php │ │ │ └── source_without_namespace.php │ ├── build.xml │ ├── build │ │ ├── PHPCS │ │ │ ├── Sniffs │ │ │ │ ├── ControlStructures │ │ │ │ │ └── ControlSignatureSniff.php │ │ │ │ └── Whitespace │ │ │ │ │ └── ConcatenationSpacingSniff.php │ │ │ └── ruleset.xml │ │ ├── phpmd.xml │ │ └── travis-ci.xml │ ├── composer.json │ ├── package.xml │ ├── phpunit.xml.dist │ └── scripts │ │ ├── auto_append.php │ │ └── auto_prepend.php ├── php-file-iterator │ ├── .gitattributes │ ├── .gitignore │ ├── ChangeLog.md │ ├── LICENSE │ ├── README.md │ ├── composer.json │ └── src │ │ ├── Facade.php │ │ ├── Factory.php │ │ └── Iterator.php ├── php-text-template │ ├── .gitattributes │ ├── .gitignore │ ├── LICENSE │ ├── README.md │ ├── composer.json │ └── src │ │ └── Template.php ├── php-timer │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── composer.json │ ├── src │ │ └── Timer.php │ └── tests │ │ └── TimerTest.php ├── php-token-stream │ ├── .gitattributes │ ├── .gitignore │ ├── LICENSE │ ├── PHP │ │ ├── Token.php │ │ └── Token │ │ │ ├── Stream.php │ │ │ └── Stream │ │ │ ├── Autoload.php │ │ │ ├── Autoload.php.in │ │ │ └── CachingFactory.php │ ├── README.md │ ├── Tests │ │ ├── Token │ │ │ ├── ClassTest.php │ │ │ ├── ClosureTest.php │ │ │ ├── FunctionTest.php │ │ │ ├── IncludeTest.php │ │ │ ├── InterfaceTest.php │ │ │ └── NamespaceTest.php │ │ ├── TokenTest.php │ │ └── _files │ │ │ ├── classExtendsNamespacedClass.php │ │ │ ├── classInNamespace.php │ │ │ ├── classInScopedNamespace.php │ │ │ ├── closure.php │ │ │ ├── issue19.php │ │ │ ├── issue30.php │ │ │ ├── multipleNamespacesWithOneClassUsingBraces.php │ │ │ ├── multipleNamespacesWithOneClassUsingNonBraceSyntax.php │ │ │ ├── source.php │ │ │ ├── source2.php │ │ │ ├── source3.php │ │ │ ├── source4.php │ │ │ └── source5.php │ ├── build.xml │ ├── build │ │ ├── PHPCS │ │ │ ├── Sniffs │ │ │ │ ├── ControlStructures │ │ │ │ │ └── ControlSignatureSniff.php │ │ │ │ └── Whitespace │ │ │ │ │ └── ConcatenationSpacingSniff.php │ │ │ └── ruleset.xml │ │ └── phpmd.xml │ ├── composer.json │ ├── package.xml │ └── phpunit.xml.dist ├── phpunit-mock-objects │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── ChangeLog.markdown │ ├── LICENSE │ ├── PHPUnit │ │ └── Framework │ │ │ └── MockObject │ │ │ ├── Autoload.php │ │ │ ├── Autoload.php.in │ │ │ ├── Builder │ │ │ ├── Identity.php │ │ │ ├── InvocationMocker.php │ │ │ ├── Match.php │ │ │ ├── MethodNameMatch.php │ │ │ ├── Namespace.php │ │ │ ├── ParametersMatch.php │ │ │ └── Stub.php │ │ │ ├── Generator.php │ │ │ ├── Generator │ │ │ ├── mocked_class.tpl.dist │ │ │ ├── mocked_clone.tpl.dist │ │ │ ├── mocked_object_method.tpl.dist │ │ │ ├── mocked_static_method.tpl.dist │ │ │ ├── trait_class.tpl.dist │ │ │ ├── unmocked_clone.tpl.dist │ │ │ ├── wsdl_class.tpl.dist │ │ │ └── wsdl_method.tpl.dist │ │ │ ├── Invocation.php │ │ │ ├── Invocation │ │ │ ├── Object.php │ │ │ └── Static.php │ │ │ ├── InvocationMocker.php │ │ │ ├── Invokable.php │ │ │ ├── Matcher.php │ │ │ ├── Matcher │ │ │ ├── AnyInvokedCount.php │ │ │ ├── AnyParameters.php │ │ │ ├── Invocation.php │ │ │ ├── InvokedAtIndex.php │ │ │ ├── InvokedAtLeastOnce.php │ │ │ ├── InvokedCount.php │ │ │ ├── InvokedRecorder.php │ │ │ ├── MethodName.php │ │ │ ├── Parameters.php │ │ │ └── StatelessInvocation.php │ │ │ ├── MockBuilder.php │ │ │ ├── MockObject.php │ │ │ ├── Stub.php │ │ │ ├── Stub │ │ │ ├── ConsecutiveCalls.php │ │ │ ├── Exception.php │ │ │ ├── MatcherCollection.php │ │ │ ├── Return.php │ │ │ ├── ReturnArgument.php │ │ │ ├── ReturnCallback.php │ │ │ ├── ReturnSelf.php │ │ │ └── ReturnValueMap.php │ │ │ └── Verifiable.php │ ├── Tests │ │ ├── GeneratorTest.php │ │ ├── MockBuilderTest.php │ │ ├── MockObject │ │ │ ├── Invocation │ │ │ │ ├── ObjectTest.php │ │ │ │ └── StaticTest.php │ │ │ ├── class.phpt │ │ │ ├── class_call_parent_clone.phpt │ │ │ ├── class_call_parent_constructor.phpt │ │ │ ├── class_dont_call_parent_clone.phpt │ │ │ ├── class_dont_call_parent_constructor.phpt │ │ │ ├── class_implementing_interface_call_parent_constructor.phpt │ │ │ ├── class_implementing_interface_dont_call_parent_constructor.phpt │ │ │ ├── class_partial.phpt │ │ │ ├── interface.phpt │ │ │ ├── invocation_object_clone_object.phpt │ │ │ ├── invocation_static_clone_object.phpt │ │ │ ├── namespaced_class.phpt │ │ │ ├── namespaced_class_call_parent_clone.phpt │ │ │ ├── namespaced_class_call_parent_constructor.phpt │ │ │ ├── namespaced_class_dont_call_parent_clone.phpt │ │ │ ├── namespaced_class_dont_call_parent_constructor.phpt │ │ │ ├── namespaced_class_implementing_interface_call_parent_constructor.phpt │ │ │ ├── namespaced_class_implementing_interface_dont_call_parent_constructor.phpt │ │ │ ├── namespaced_class_partial.phpt │ │ │ ├── namespaced_interface.phpt │ │ │ ├── nonexistent_class.phpt │ │ │ ├── nonexistent_class_with_namespace.phpt │ │ │ ├── nonexistent_class_with_namespace_starting_with_separator.phpt │ │ │ ├── wsdl_class.phpt │ │ │ ├── wsdl_class_namespace.phpt │ │ │ └── wsdl_class_partial.phpt │ │ ├── MockObjectTest.php │ │ └── _files │ │ │ ├── AbstractMockTestClass.php │ │ │ ├── AnInterface.php │ │ │ ├── FunctionCallback.php │ │ │ ├── GoogleSearch.wsdl │ │ │ ├── MethodCallback.php │ │ │ ├── MethodCallbackByReference.php │ │ │ ├── Mockable.php │ │ │ ├── PartialMockTestClass.php │ │ │ ├── SomeClass.php │ │ │ └── StaticMockTestClass.php │ ├── build.xml │ ├── build │ │ ├── PHPCS │ │ │ ├── Sniffs │ │ │ │ ├── ControlStructures │ │ │ │ │ └── ControlSignatureSniff.php │ │ │ │ └── Whitespace │ │ │ │ │ └── ConcatenationSpacingSniff.php │ │ │ └── ruleset.xml │ │ ├── phpmd.xml │ │ └── travis-ci.xml │ ├── composer.json │ ├── package.xml │ └── phpunit.xml.dist └── phpunit │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── PHPUnit │ ├── Autoload.php │ ├── Autoload.php.in │ ├── Extensions │ │ ├── GroupTestSuite.php │ │ ├── PhptTestCase.php │ │ ├── PhptTestCase │ │ │ └── Logger.php │ │ ├── PhptTestSuite.php │ │ ├── RepeatedTest.php │ │ ├── TestDecorator.php │ │ └── TicketListener.php │ ├── Framework │ │ ├── Assert.php │ │ ├── Assert │ │ │ ├── Functions.php │ │ │ └── Functions.php.in │ │ ├── AssertionFailedError.php │ │ ├── Comparator.php │ │ ├── Comparator │ │ │ ├── Array.php │ │ │ ├── DOMDocument.php │ │ │ ├── Double.php │ │ │ ├── Exception.php │ │ │ ├── MockObject.php │ │ │ ├── Numeric.php │ │ │ ├── Object.php │ │ │ ├── Resource.php │ │ │ ├── Scalar.php │ │ │ ├── SplObjectStorage.php │ │ │ └── Type.php │ │ ├── ComparatorFactory.php │ │ ├── ComparisonFailure.php │ │ ├── Constraint.php │ │ ├── Constraint │ │ │ ├── And.php │ │ │ ├── ArrayHasKey.php │ │ │ ├── Attribute.php │ │ │ ├── Callback.php │ │ │ ├── ClassHasAttribute.php │ │ │ ├── ClassHasStaticAttribute.php │ │ │ ├── Composite.php │ │ │ ├── Count.php │ │ │ ├── Exception.php │ │ │ ├── ExceptionCode.php │ │ │ ├── ExceptionMessage.php │ │ │ ├── FileExists.php │ │ │ ├── GreaterThan.php │ │ │ ├── IsAnything.php │ │ │ ├── IsEmpty.php │ │ │ ├── IsEqual.php │ │ │ ├── IsFalse.php │ │ │ ├── IsIdentical.php │ │ │ ├── IsInstanceOf.php │ │ │ ├── IsJson.php │ │ │ ├── IsNull.php │ │ │ ├── IsTrue.php │ │ │ ├── IsType.php │ │ │ ├── JsonMatches.php │ │ │ ├── JsonMatches │ │ │ │ └── ErrorMessageProvider.php │ │ │ ├── LessThan.php │ │ │ ├── Not.php │ │ │ ├── ObjectHasAttribute.php │ │ │ ├── Or.php │ │ │ ├── PCREMatch.php │ │ │ ├── SameSize.php │ │ │ ├── StringContains.php │ │ │ ├── StringEndsWith.php │ │ │ ├── StringMatches.php │ │ │ ├── StringStartsWith.php │ │ │ ├── TraversableContains.php │ │ │ ├── TraversableContainsOnly.php │ │ │ └── Xor.php │ │ ├── Error.php │ │ ├── Error │ │ │ ├── Deprecated.php │ │ │ ├── Notice.php │ │ │ └── Warning.php │ │ ├── Exception.php │ │ ├── ExpectationFailedException.php │ │ ├── IncompleteTest.php │ │ ├── IncompleteTestError.php │ │ ├── OutputError.php │ │ ├── Process │ │ │ └── TestCaseMethod.tpl.dist │ │ ├── SelfDescribing.php │ │ ├── SkippedTest.php │ │ ├── SkippedTestError.php │ │ ├── SkippedTestSuiteError.php │ │ ├── SyntheticError.php │ │ ├── Test.php │ │ ├── TestCase.php │ │ ├── TestFailure.php │ │ ├── TestListener.php │ │ ├── TestResult.php │ │ ├── TestSuite.php │ │ ├── TestSuite │ │ │ └── DataProvider.php │ │ └── Warning.php │ ├── Runner │ │ ├── BaseTestRunner.php │ │ ├── StandardTestSuiteLoader.php │ │ ├── TestSuiteLoader.php │ │ └── Version.php │ ├── TextUI │ │ ├── Command.php │ │ ├── ResultPrinter.php │ │ └── TestRunner.php │ └── Util │ │ ├── Class.php │ │ ├── Configuration.php │ │ ├── DeprecatedFeature.php │ │ ├── DeprecatedFeature │ │ └── Logger.php │ │ ├── Diff.php │ │ ├── ErrorHandler.php │ │ ├── Fileloader.php │ │ ├── Filesystem.php │ │ ├── Filter.php │ │ ├── Getopt.php │ │ ├── GlobalState.php │ │ ├── InvalidArgumentHelper.php │ │ ├── Log │ │ ├── JSON.php │ │ ├── JUnit.php │ │ └── TAP.php │ │ ├── PHP.php │ │ ├── PHP │ │ ├── Default.php │ │ └── Windows.php │ │ ├── Printer.php │ │ ├── String.php │ │ ├── Test.php │ │ ├── TestDox │ │ ├── NamePrettifier.php │ │ ├── ResultPrinter.php │ │ └── ResultPrinter │ │ │ ├── HTML.php │ │ │ └── Text.php │ │ ├── TestSuiteIterator.php │ │ ├── Type.php │ │ └── XML.php │ ├── README.md │ ├── Tests │ ├── Extensions │ │ └── RepeatedTestTest.php │ ├── Framework │ │ ├── Assert │ │ │ └── FunctionsTest.php │ │ ├── AssertTest.php │ │ ├── ComparatorTest.php │ │ ├── Constraint │ │ │ ├── CountTest.php │ │ │ ├── JsonMatches │ │ │ │ └── ErrorMessageProviderTest.php │ │ │ └── JsonMatchesTest.php │ │ ├── ConstraintTest.php │ │ ├── SuiteTest.php │ │ ├── TestCaseTest.php │ │ ├── TestFailureTest.php │ │ ├── TestImplementorTest.php │ │ └── TestListenerTest.php │ ├── Regression │ │ ├── 523 │ │ │ └── Issue523Test.php │ │ ├── 578 │ │ │ └── Issue578Test.php │ │ ├── 684 │ │ │ └── Issue684Test.php │ │ ├── 783 │ │ │ ├── ChildSuite.php │ │ │ ├── OneTest.php │ │ │ ├── ParentSuite.php │ │ │ └── TwoTest.php │ │ ├── 1021 │ │ │ └── Issue1021Test.php │ │ ├── 1021.phpt │ │ ├── 523.phpt │ │ ├── 578.phpt │ │ ├── 684.phpt │ │ ├── 783.phpt │ │ └── GitHub │ │ │ ├── 74 │ │ │ ├── Issue74Test.php │ │ │ └── NewException.php │ │ │ ├── 244 │ │ │ └── Issue244Test.php │ │ │ ├── 322 │ │ │ ├── Issue322Test.php │ │ │ └── phpunit322.xml │ │ │ ├── 433 │ │ │ └── Issue433Test.php │ │ │ ├── 445 │ │ │ └── Issue445Test.php │ │ │ ├── 498 │ │ │ └── Issue498Test.php │ │ │ ├── 503 │ │ │ └── Issue503Test.php │ │ │ ├── 581 │ │ │ └── Issue581Test.php │ │ │ ├── 765 │ │ │ └── Issue765Test.php │ │ │ ├── 1472 │ │ │ └── Issue1472Test.php │ │ │ ├── 1472.phpt │ │ │ ├── 244.phpt │ │ │ ├── 322.phpt │ │ │ ├── 433.phpt │ │ │ ├── 445.phpt │ │ │ ├── 498.phpt │ │ │ ├── 503.phpt │ │ │ ├── 581.phpt │ │ │ ├── 74.phpt │ │ │ ├── 765.phpt │ │ │ └── 863.phpt │ ├── Runner │ │ └── BaseTestRunnerTest.php │ ├── TextUI │ │ ├── abstract-test-class.phpt │ │ ├── concrete-test-class.phpt │ │ ├── dataprovider-log-xml-isolation.phpt │ │ ├── dataprovider-log-xml.phpt │ │ ├── dataprovider-testdox.phpt │ │ ├── debug.phpt │ │ ├── default-isolation.phpt │ │ ├── default.phpt │ │ ├── dependencies-isolation.phpt │ │ ├── dependencies.phpt │ │ ├── dependencies2-isolation.phpt │ │ ├── dependencies2.phpt │ │ ├── dependencies3-isolation.phpt │ │ ├── dependencies3.phpt │ │ ├── empty-testcase.phpt │ │ ├── exception-stack.phpt │ │ ├── exclude-group-isolation.phpt │ │ ├── exclude-group.phpt │ │ ├── failure-isolation.phpt │ │ ├── failure.phpt │ │ ├── fatal-isolation.phpt │ │ ├── fatal.phpt │ │ ├── filter-class-isolation.phpt │ │ ├── filter-class.phpt │ │ ├── filter-method-isolation.phpt │ │ ├── filter-method.phpt │ │ ├── filter-no-results.phpt │ │ ├── group-isolation.phpt │ │ ├── group.phpt │ │ ├── help.phpt │ │ ├── help2.phpt │ │ ├── list-groups.phpt │ │ ├── log-json.phpt │ │ ├── log-tap.phpt │ │ ├── log-xml.phpt │ │ ├── strict-incomplete.phpt │ │ ├── strict-isolation.phpt │ │ ├── strict.phpt │ │ ├── tap.phpt │ │ ├── test-suffix-multiple.phpt │ │ ├── test-suffix-single.phpt │ │ ├── testdox-html.phpt │ │ ├── testdox-text.phpt │ │ └── testdox.phpt │ ├── Util │ │ ├── ClassTest.php │ │ ├── ConfigurationTest.php │ │ ├── DiffTest.php │ │ ├── TestDox │ │ │ └── NamePrettifierTest.php │ │ ├── TestTest.php │ │ ├── TypeTest.php │ │ └── XMLTest.php │ └── _files │ │ ├── AbstractTest.php │ │ ├── Author.php │ │ ├── BankAccount.php │ │ ├── BankAccountTest.php │ │ ├── BankAccountTest.test.php │ │ ├── Book.php │ │ ├── Calculator.php │ │ ├── ChangeCurrentWorkingDirectoryTest.php │ │ ├── ClassWithNonPublicAttributes.php │ │ ├── ClassWithToString.php │ │ ├── ConcreteTest.my.php │ │ ├── ConcreteTest.php │ │ ├── DataProviderTest.php │ │ ├── DependencyFailureTest.php │ │ ├── DependencySuccessTest.php │ │ ├── DependencyTestSuite.php │ │ ├── DoubleTestCase.php │ │ ├── EmptyTestCaseTest.php │ │ ├── Error.php │ │ ├── ExceptionInAssertPostConditionsTest.php │ │ ├── ExceptionInAssertPreConditionsTest.php │ │ ├── ExceptionInSetUpTest.php │ │ ├── ExceptionInTearDownTest.php │ │ ├── ExceptionInTest.php │ │ ├── ExceptionNamespaceTest.php │ │ ├── ExceptionStack.php │ │ ├── ExceptionTest.php │ │ ├── Failure.php │ │ ├── FailureTest.php │ │ ├── FatalTest.php │ │ ├── IncompleteTest.php │ │ ├── InheritedTestCase.php │ │ ├── JsonData │ │ ├── arrayObject.js │ │ ├── simpleObject.js │ │ └── simpleObject2.js │ │ ├── MockRunner.php │ │ ├── MultiDependencyTest.php │ │ ├── NoArgTestCaseTest.php │ │ ├── NoTestCaseClass.php │ │ ├── NoTestCases.php │ │ ├── NonStatic.php │ │ ├── NotPublicTestCase.php │ │ ├── NotVoidTestCase.php │ │ ├── NothingTest.php │ │ ├── OneTestCase.php │ │ ├── OutputTestCase.php │ │ ├── OverrideTestCase.php │ │ ├── RequirementsClassDocBlockTest.php │ │ ├── RequirementsTest.php │ │ ├── SampleArrayAccess.php │ │ ├── SampleClass.php │ │ ├── SelectorAssertionsFixture.html │ │ ├── Singleton.php │ │ ├── StackTest.php │ │ ├── Struct.php │ │ ├── Success.php │ │ ├── TemplateMethodsTest.php │ │ ├── TestIterator.php │ │ ├── TestIterator2.php │ │ ├── ThrowExceptionTestCase.php │ │ ├── ThrowNoExceptionTestCase.php │ │ ├── WasRun.php │ │ ├── bar.xml │ │ ├── configuration.xml │ │ ├── configuration_xinclude.xml │ │ ├── expectedFileFormat.txt │ │ ├── foo.xml │ │ ├── structureAttributesAreSameButValuesAreNot.xml │ │ ├── structureExpected.xml │ │ ├── structureIgnoreTextNodes.xml │ │ ├── structureIsSameButDataIsNot.xml │ │ ├── structureWrongNumberOfAttributes.xml │ │ └── structureWrongNumberOfNodes.xml │ ├── build.xml │ ├── build │ ├── PHPCS │ │ ├── Sniffs │ │ │ ├── ControlStructures │ │ │ │ └── ControlSignatureSniff.php │ │ │ └── Whitespace │ │ │ │ └── ConcatenationSpacingSniff.php │ │ └── ruleset.xml │ ├── assertions.php │ ├── phar-autoload.php.in │ ├── phpmd.xml │ └── travis-ci.xml │ ├── composer.json │ ├── composer │ └── bin │ │ └── phpunit │ ├── phpdox.xml.dist │ ├── phpunit.php │ ├── phpunit.xml.dist │ └── phpunit.xsd └── symfony └── yaml ├── .gitignore ├── CHANGELOG.md ├── Dumper.php ├── Escaper.php ├── Exception ├── DumpException.php ├── ExceptionInterface.php ├── ParseException.php └── RuntimeException.php ├── Inline.php ├── LICENSE ├── Parser.php ├── README.md ├── Tests ├── DumperTest.php ├── Fixtures │ ├── YtsAnchorAlias.yml │ ├── YtsBasicTests.yml │ ├── YtsBlockMapping.yml │ ├── YtsDocumentSeparator.yml │ ├── YtsErrorTests.yml │ ├── YtsFlowCollections.yml │ ├── YtsFoldedScalars.yml │ ├── YtsNullsAndEmpties.yml │ ├── YtsSpecificationExamples.yml │ ├── YtsTypeTransfers.yml │ ├── embededPhp.yml │ ├── escapedCharacters.yml │ ├── index.yml │ ├── sfComments.yml │ ├── sfCompact.yml │ ├── sfMergeKey.yml │ ├── sfObjects.yml │ ├── sfQuotes.yml │ ├── sfTests.yml │ └── unindentedCollections.yml ├── InlineTest.php ├── ParseExceptionTest.php ├── ParserTest.php └── YamlTest.php ├── Unescaper.php ├── Yaml.php ├── composer.json └── phpunit.xml.dist /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) Microsoft Corporation. All rights reserved. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /autoload.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "phpunit/phpunit": "3.7.*", 4 | "firebase/php-jwt": "^4.0" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /phpseclib/openssl.cnf: -------------------------------------------------------------------------------- 1 | # minimalist openssl.cnf file for use with phpseclib 2 | 3 | HOME = . 4 | RANDFILE = $ENV::HOME/.rnd 5 | 6 | [ v3_ca ] 7 | -------------------------------------------------------------------------------- /vendor/autoload.php: -------------------------------------------------------------------------------- 1 | /dev/null 2>&1; then 7 | # Cygwin paths start with /cygdrive/ which will break windows PHP, 8 | # so we need to translate the dir path to windows format. However 9 | # we could be using cygwin PHP which does not require this, so we 10 | # test if the path to PHP starts with /cygdrive/ rather than /usr/bin 11 | if [[ $(which php) == /cygdrive/* ]]; then 12 | dir=$(cygpath -m "$dir"); 13 | fi 14 | fi 15 | 16 | dir=$(echo $dir | sed 's/ /\ /g') 17 | "${dir}/phpunit" "$@" 18 | -------------------------------------------------------------------------------- /vendor/bin/phpunit.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | setlocal DISABLEDELAYEDEXPANSION 3 | SET BIN_TARGET=%~dp0/../phpunit/phpunit/composer/bin/phpunit 4 | php "%BIN_TARGET%" %* 5 | -------------------------------------------------------------------------------- /vendor/composer/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) 2016 Nils Adermann, Jordi Boggiano 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is furnished 9 | to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/symfony/yaml'), 10 | 'Firebase\\JWT\\' => array($vendorDir . '/firebase/php-jwt/src'), 11 | ); 12 | -------------------------------------------------------------------------------- /vendor/composer/include_paths.php: -------------------------------------------------------------------------------- 1 | =5.3.0" 20 | }, 21 | "autoload": { 22 | "psr-4": { 23 | "Firebase\\JWT\\": "src" 24 | } 25 | }, 26 | "minimum-stability": "dev" 27 | } 28 | -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "60a5df5d283a7ae9000173248eba8909", 8 | "packages": [], 9 | "packages-dev": [], 10 | "aliases": [], 11 | "minimum-stability": "dev", 12 | "stability-flags": [], 13 | "prefer-stable": false, 14 | "prefer-lowest": false, 15 | "platform": { 16 | "php": ">=5.2.0" 17 | }, 18 | "platform-dev": [] 19 | } 20 | -------------------------------------------------------------------------------- /vendor/firebase/php-jwt/src/BeforeValidException.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/directory_item.html.dist: -------------------------------------------------------------------------------- 1 | 2 | {{icon}}{{name}} 3 | {{lines_bar}} 4 |
{{lines_executed_percent}}
5 |
{{lines_number}}
6 | {{methods_bar}} 7 |
{{methods_tested_percent}}
8 |
{{methods_number}}
9 | {{classes_bar}} 10 |
{{classes_tested_percent}}
11 |
{{classes_number}}
12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/file_item.html.dist: -------------------------------------------------------------------------------- 1 | 2 | {{name}} 3 | {{classes_bar}} 4 |
{{classes_tested_percent}}
5 |
{{classes_number}}
6 | {{methods_bar}} 7 |
{{methods_tested_percent}}
8 |
{{methods_number}}
9 | {{crap}} 10 | {{lines_bar}} 11 |
{{lines_executed_percent}}
12 |
{{lines_number}}
13 | 14 | 15 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AzureAD/active-directory-b2c-wordpress-plugin-openidconnect/39d86c4a1693026ce79848a694c83a5b88a1ecd8/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AzureAD/active-directory-b2c-wordpress-plugin-openidconnect/39d86c4a1693026ce79848a694c83a5b88a1ecd8/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/HTML/Renderer/Template/method_item.html.dist: -------------------------------------------------------------------------------- 1 | 2 | {{name}} 3 | {{methods_bar}} 4 |
{{methods_tested_percent}}
5 |
{{methods_number}}
6 | {{crap}} 7 | {{lines_bar}} 8 |
{{lines_executed_percent}}
9 |
{{lines_number}}
10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/README.md: -------------------------------------------------------------------------------- 1 | [![Latest Stable Version](https://poser.pugx.org/phpunit/php-code-coverage/v/stable.png)](https://packagist.org/packages/phpunit/php-code-coverage) 2 | [![Build Status](https://travis-ci.org/sebastianbergmann/php-code-coverage.png?branch=1.2)](https://travis-ci.org/sebastianbergmann/php-code-coverage) 3 | 4 | # PHP_CodeCoverage 5 | 6 | **PHP_CodeCoverage** is a library that provides collection, processing, and rendering functionality for PHP code coverage information. 7 | 8 | ## Requirements 9 | 10 | * PHP 5.3.3 is required but using the latest version of PHP is highly recommended 11 | * [Xdebug](http://xdebug.org/) 2.1.3 is required but using the latest version of Xdebug is highly recommended 12 | 13 | ## Installation 14 | 15 | To add PHP_CodeCoverage as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-code-coverage` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_CodeCoverage 1.2: 16 | 17 | { 18 | "require": { 19 | "phpunit/php-code-coverage": "1.2.*" 20 | } 21 | } 22 | 23 | ## Using the PHP_CodeCoverage API 24 | 25 | ```php 26 | start(''); 29 | 30 | // ... 31 | 32 | $coverage->stop(); 33 | 34 | $writer = new PHP_CodeCoverage_Report_Clover; 35 | $writer->process($coverage, '/tmp/clover.xml'); 36 | 37 | $writer = new PHP_CodeCoverage_Report_HTML; 38 | $writer->process($coverage, '/tmp/code-coverage-report'); 39 | ``` 40 | 41 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/BankAccount.php: -------------------------------------------------------------------------------- 1 | balance; 9 | } 10 | 11 | protected function setBalance($balance) 12 | { 13 | if ($balance >= 0) { 14 | $this->balance = $balance; 15 | } else { 16 | throw new RuntimeException; 17 | } 18 | } 19 | 20 | public function depositMoney($balance) 21 | { 22 | $this->setBalance($this->getBalance() + $balance); 23 | 24 | return $this->getBalance(); 25 | } 26 | 27 | public function withdrawMoney($balance) 28 | { 29 | $this->setBalance($this->getBalance() - $balance); 30 | 31 | return $this->getBalance(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageClassExtendedTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageClassTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageFunctionParenthesesTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageMethodParenthesesTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageMethodParenthesesWhitespaceTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageMethodTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageNoneTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageNotPrivateTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageNotProtectedTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageNotPublicTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageNothingTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoveragePrivateTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageProtectedTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoveragePublicTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoverageTwoDefaultClassAnnotations.php: -------------------------------------------------------------------------------- 1 | 12 | */ 13 | public function testSomething() 14 | { 15 | $o = new Foo\CoveredClass; 16 | $o->publicMethod(); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoveredClass.php: -------------------------------------------------------------------------------- 1 | privateMethod(); 11 | } 12 | 13 | public function publicMethod() 14 | { 15 | $this->protectedMethod(); 16 | } 17 | } 18 | 19 | class CoveredClass extends CoveredParentClass 20 | { 21 | private function privateMethod() 22 | { 23 | } 24 | 25 | protected function protectedMethod() 26 | { 27 | parent::protectedMethod(); 28 | $this->privateMethod(); 29 | } 30 | 31 | public function publicMethod() 32 | { 33 | parent::publicMethod(); 34 | $this->protectedMethod(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/CoveredFunction.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageClassTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageCoversClassPublicTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageCoversClassTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageMethodTest.php: -------------------------------------------------------------------------------- 1 | publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageNotPrivateTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageNotProtectedTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageNotPublicTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoveragePrivateTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoverageProtectedTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoveragePublicTest.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | public function testSomething() 8 | { 9 | $o = new Foo\CoveredClass; 10 | $o->publicMethod(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NamespaceCoveredClass.php: -------------------------------------------------------------------------------- 1 | privateMethod(); 13 | } 14 | 15 | public function publicMethod() 16 | { 17 | $this->protectedMethod(); 18 | } 19 | } 20 | 21 | class CoveredClass extends CoveredParentClass 22 | { 23 | private function privateMethod() 24 | { 25 | } 26 | 27 | protected function protectedMethod() 28 | { 29 | parent::protectedMethod(); 30 | $this->privateMethod(); 31 | } 32 | 33 | public function publicMethod() 34 | { 35 | parent::publicMethod(); 36 | $this->protectedMethod(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/NotExistingCoveredElementTest.php: -------------------------------------------------------------------------------- 1 | 20 | */ 21 | public function testThree() 22 | { 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/class-with-anonymous-function-clover.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/ignored-lines-clover.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/Tests/_files/source_with_class_and_anonymous_function.php: -------------------------------------------------------------------------------- 1 | getTokens(); 12 | 13 | if ($tokens[($stackPtr - 1)]['code'] !== T_WHITESPACE || 14 | $tokens[($stackPtr + 1)]['code'] !== T_WHITESPACE) { 15 | 16 | $phpcsFile->addError( 17 | 'Concatenation operator must be surrounded by whitespace', 18 | $stackPtr 19 | ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/build/PHPCS/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sebastian Bergmann's coding standard 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/build/phpmd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | Sebastian Bergmann's ruleset 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/build/travis-ci.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | ../Tests/PHP 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ../PHP 19 | 20 | ../PHP/CodeCoverage/Autoload.php 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/php-code-coverage", 3 | "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", 4 | "type": "library", 5 | "keywords": [ 6 | "coverage", 7 | "testing", 8 | "xunit" 9 | ], 10 | "homepage": "https://github.com/sebastianbergmann/php-code-coverage", 11 | "license": "BSD-3-Clause", 12 | "authors": [ 13 | { 14 | "name": "Sebastian Bergmann", 15 | "email": "sb@sebastian-bergmann.de", 16 | "role": "lead" 17 | } 18 | ], 19 | "support": { 20 | "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", 21 | "irc": "irc://irc.freenode.net/phpunit" 22 | }, 23 | "require": { 24 | "php": ">=5.3.3", 25 | "phpunit/php-file-iterator": ">=1.3.0@stable", 26 | "phpunit/php-token-stream": ">=1.1.3,<1.3.0@stable", 27 | "phpunit/php-text-template": ">=1.2.0@stable" 28 | }, 29 | "require-dev": { 30 | "phpunit/phpunit": "3.7.*@dev" 31 | }, 32 | "suggest": { 33 | "ext-dom": "*", 34 | "ext-xdebug": ">=2.0.5" 35 | }, 36 | "autoload": { 37 | "classmap": [ 38 | "PHP/" 39 | ] 40 | }, 41 | "extra": { 42 | "branch-alias": { 43 | "dev-master": "1.2.x-dev" 44 | } 45 | }, 46 | "include-path": [ 47 | "" 48 | ] 49 | } 50 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | Tests/PHP 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | PHP 24 | 25 | PHP/CodeCoverage/Autoload.php 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/scripts/auto_append.php: -------------------------------------------------------------------------------- 1 | stop(); 3 | 4 | $writer = new PHP_CodeCoverage_Report_HTML; 5 | $writer->process($coverage, '/tmp/coverage'); 6 | -------------------------------------------------------------------------------- /vendor/phpunit/php-code-coverage/scripts/auto_prepend.php: -------------------------------------------------------------------------------- 1 | filter(); 6 | 7 | $filter->addFileToBlacklist(__FILE__); 8 | $filter->addFileToBlacklist(dirname(__FILE__) . '/auto_append.php'); 9 | 10 | $coverage->start($_SERVER['SCRIPT_FILENAME']); 11 | -------------------------------------------------------------------------------- /vendor/phpunit/php-file-iterator/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/php-file-iterator/.gitignore: -------------------------------------------------------------------------------- 1 | build/api 2 | build/code-browser 3 | build/coverage 4 | build/logs 5 | build/pdepend 6 | cache.properties 7 | phpunit.xml 8 | -------------------------------------------------------------------------------- /vendor/phpunit/php-file-iterator/ChangeLog.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). 4 | 5 | ## [1.4.0] - 2015-04-02 6 | 7 | ### Added 8 | 9 | * [Added support for wildcards (glob) in exclude](https://github.com/sebastianbergmann/php-file-iterator/pull/23) 10 | 11 | -------------------------------------------------------------------------------- /vendor/phpunit/php-file-iterator/README.md: -------------------------------------------------------------------------------- 1 | # File_Iterator 2 | 3 | ## Installation 4 | 5 | To add File_Iterator as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-file-iterator` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on File_Iterator 1.4: 6 | 7 | { 8 | "require": { 9 | "phpunit/php-file-iterator": "~1.4" 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /vendor/phpunit/php-file-iterator/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/php-file-iterator", 3 | "description": "FilterIterator implementation that filters files based on a list of suffixes.", 4 | "type": "library", 5 | "keywords": [ 6 | "iterator", 7 | "filesystem" 8 | ], 9 | "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", 10 | "license": "BSD-3-Clause", 11 | "authors": [ 12 | { 13 | "name": "Sebastian Bergmann", 14 | "email": "sb@sebastian-bergmann.de", 15 | "role": "lead" 16 | } 17 | ], 18 | "support": { 19 | "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", 20 | "irc": "irc://irc.freenode.net/phpunit" 21 | }, 22 | "require": { 23 | "php": ">=5.3.3" 24 | }, 25 | "autoload": { 26 | "classmap": [ 27 | "src/" 28 | ] 29 | }, 30 | "extra": { 31 | "branch-alias": { 32 | "dev-master": "1.4.x-dev" 33 | } 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /vendor/phpunit/php-text-template/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/php-text-template/.gitignore: -------------------------------------------------------------------------------- 1 | /composer.lock 2 | /composer.phar 3 | /.idea 4 | /vendor 5 | 6 | -------------------------------------------------------------------------------- /vendor/phpunit/php-text-template/README.md: -------------------------------------------------------------------------------- 1 | # Text_Template 2 | 3 | ## Installation 4 | 5 | ## Installation 6 | 7 | To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-text-template` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on Text_Template: 8 | 9 | { 10 | "require": { 11 | "phpunit/php-text-template": "~1.2" 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /vendor/phpunit/php-text-template/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/php-text-template", 3 | "description": "Simple template engine.", 4 | "type": "library", 5 | "keywords": [ 6 | "template" 7 | ], 8 | "homepage": "https://github.com/sebastianbergmann/php-text-template/", 9 | "license": "BSD-3-Clause", 10 | "authors": [ 11 | { 12 | "name": "Sebastian Bergmann", 13 | "email": "sebastian@phpunit.de", 14 | "role": "lead" 15 | } 16 | ], 17 | "support": { 18 | "issues": "https://github.com/sebastianbergmann/php-text-template/issues" 19 | }, 20 | "require": { 21 | "php": ">=5.3.3" 22 | }, 23 | "autoload": { 24 | "classmap": [ 25 | "src/" 26 | ] 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /vendor/phpunit/php-timer/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/php-timer/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /composer.lock 3 | 4 | -------------------------------------------------------------------------------- /vendor/phpunit/php-timer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.3.3 5 | - 5.3 6 | - 5.4 7 | - 5.5 8 | - 5.6 9 | - 7.0 10 | - nightly 11 | - hhvm 12 | 13 | before_install: 14 | - composer self-update 15 | 16 | install: 17 | - travis_retry composer install --no-interaction --prefer-source 18 | 19 | script: 20 | - ./vendor/bin/phpunit --bootstrap src/Timer.php tests 21 | 22 | notifications: 23 | email: false 24 | webhooks: 25 | urls: 26 | - https://webhooks.gitter.im/e/6668f52f3dd4e3f81960 27 | on_success: always 28 | on_failure: always 29 | on_start: false 30 | 31 | -------------------------------------------------------------------------------- /vendor/phpunit/php-timer/README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/sebastianbergmann/php-timer.svg?branch=master)](https://travis-ci.org/sebastianbergmann/php-timer) 2 | 3 | # PHP_Timer 4 | 5 | Utility class for timing things, factored out of PHPUnit into a stand-alone component. 6 | 7 | ## Installation 8 | 9 | To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-timer` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_Timer: 10 | 11 | { 12 | "require": { 13 | "phpunit/php-timer": "~1.0" 14 | } 15 | } 16 | 17 | ## Usage 18 | 19 | ### Basic Timing 20 | 21 | ```php 22 | PHP_Timer::start(); 23 | 24 | $timer->start(); 25 | 26 | // ... 27 | 28 | $time = PHP_Timer::stop(); 29 | var_dump($time); 30 | 31 | print PHP_Timer::secondsToTimeString($time); 32 | ``` 33 | 34 | The code above yields the output below: 35 | 36 | double(1.0967254638672E-5) 37 | 0 ms 38 | 39 | ### Resource Consumption Since PHP Startup 40 | 41 | ```php 42 | print PHP_Timer::resourceUsage(); 43 | ``` 44 | 45 | The code above yields the output below: 46 | 47 | Time: 0 ms, Memory: 0.50MB 48 | -------------------------------------------------------------------------------- /vendor/phpunit/php-timer/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/php-timer", 3 | "description": "Utility class for timing", 4 | "type": "library", 5 | "keywords": [ 6 | "timer" 7 | ], 8 | "homepage": "https://github.com/sebastianbergmann/php-timer/", 9 | "license": "BSD-3-Clause", 10 | "authors": [ 11 | { 12 | "name": "Sebastian Bergmann", 13 | "email": "sb@sebastian-bergmann.de", 14 | "role": "lead" 15 | } 16 | ], 17 | "support": { 18 | "issues": "https://github.com/sebastianbergmann/php-timer/issues", 19 | "irc": "irc://irc.freenode.net/phpunit" 20 | }, 21 | "require": { 22 | "php": ">=5.3.3" 23 | }, 24 | "require-dev": { 25 | "phpunit/phpunit": "~4|~5" 26 | }, 27 | "autoload": { 28 | "classmap": [ 29 | "src/" 30 | ] 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/.gitignore: -------------------------------------------------------------------------------- 1 | build/api 2 | build/code-browser 3 | build/coverage 4 | build/logs 5 | build/pdepend 6 | cache.properties 7 | phpunit.xml 8 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/README.md: -------------------------------------------------------------------------------- 1 | # PHP_TokenStream 2 | 3 | ## Installation 4 | 5 | You can use [Composer](http://getcomposer.org/) or the [PEAR Installer](http://pear.php.net/manual/en/guide.users.commandline.cli.php) to download and install this package as well as its dependencies. 6 | 7 | ### Composer 8 | 9 | To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-token-stream` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_TokenStream: 10 | 11 | { 12 | "require": { 13 | "phpunit/php-token-stream": "*" 14 | } 15 | } 16 | 17 | ### PEAR Installer 18 | 19 | The following two commands (which you may have to run as `root`) are all that is required to install this package using the PEAR Installer: 20 | 21 | pear config-set auto_discover 1 22 | pear install pear.phpunit.de/PHP_TokenStream 23 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/Tests/_files/classExtendsNamespacedClass.php: -------------------------------------------------------------------------------- 1 | getTokens(); 12 | 13 | if ($tokens[($stackPtr - 1)]['code'] !== T_WHITESPACE || 14 | $tokens[($stackPtr + 1)]['code'] !== T_WHITESPACE) { 15 | 16 | $phpcsFile->addError( 17 | 'Concatenation operator must be surrounded by whitespace', 18 | $stackPtr 19 | ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/build/PHPCS/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sebastian Bergmann's coding standard 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/build/phpmd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | Sebastian Bergmann's ruleset 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/php-token-stream", 3 | "description": "Wrapper around PHP's tokenizer extension.", 4 | "type": "library", 5 | "keywords": [ 6 | "tokenizer" 7 | ], 8 | "homepage": "https://github.com/sebastianbergmann/php-token-stream/", 9 | "license": "BSD-3-Clause", 10 | "authors": [ 11 | { 12 | "name": "Sebastian Bergmann", 13 | "email": "sb@sebastian-bergmann.de", 14 | "role": "lead" 15 | } 16 | ], 17 | "support": { 18 | "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", 19 | "irc": "irc://irc.freenode.net/phpunit" 20 | }, 21 | "require": { 22 | "php": ">=5.3.3", 23 | "ext-tokenizer": "*" 24 | }, 25 | "autoload": { 26 | "classmap": [ 27 | "PHP/" 28 | ] 29 | }, 30 | "include-path": [ 31 | "" 32 | ], 33 | "extra": { 34 | "branch-alias": { 35 | "dev-master": "1.2-dev" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/phpunit/php-token-stream/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | Tests 11 | 12 | 13 | 14 | 15 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | PHP 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/.gitignore: -------------------------------------------------------------------------------- 1 | build/api 2 | build/code-browser 3 | build/coverage 4 | build/logs 5 | build/pdepend 6 | cache.properties 7 | phpunit.xml 8 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.3 5 | - 5.4 6 | 7 | before_script: 8 | - mkdir -p vendor 9 | - git clone --branch=3.7 --depth=100 --quiet git://github.com/sebastianbergmann/phpunit.git vendor/phpunit 10 | - git clone --branch=1.2 --depth=100 --quiet git://github.com/sebastianbergmann/php-code-coverage.git vendor/php-code-coverage 11 | - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-text-template.git vendor/php-text-template 12 | - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-token-stream.git vendor/php-token-stream 13 | - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-file-iterator.git vendor/php-file-iterator 14 | - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-timer.git vendor/php-timer 15 | - git clone --branch=master --depth=100 --quiet git://github.com/pear/pear-core.git vendor/pear-core 16 | - git clone --branch=trunk --depth=100 --quiet git://github.com/pear/Console_Getopt.git vendor/console-getopt 17 | 18 | script: php -d include_path=vendor/php-text-template:vendor/php-token-stream:vendor/php-file-iterator:vendor/phpunit:vendor/php-code-coverage:vendor/php-timer:vendor/php-invoker:vendor/pear-core:vendor/console-getopt:vendor:. ./vendor/phpunit/phpunit.php --configuration ./build/travis-ci.xml 19 | 20 | notifications: 21 | email: false 22 | irc: "irc.freenode.org#phpunit" 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Pull Requests for bug fixes should be made against the current release branch (1.2). 2 | 3 | Pull Requests for new features should be made against master. 4 | 5 | For further notes please refer to [https://github.com/sebastianbergmann/phpunit/blob/master/CONTRIBUTING.md](https://github.com/sebastianbergmann/phpunit/blob/master/CONTRIBUTING.md) 6 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/ChangeLog.markdown: -------------------------------------------------------------------------------- 1 | PHPUnit_MockObject 1.2 2 | ====================== 3 | 4 | This is the list of changes for the PHPUnit_MockObject 1.2 release series. 5 | 6 | PHPUnit_MockObject 1.2.3 7 | ------------------------ 8 | 9 | * Fixed a bug where getting two mocks with different argument cloning options returned the same mock. 10 | 11 | PHPUnit_MockObject 1.2.2 12 | ------------------------ 13 | 14 | * Fixed #100: Removed the unique mock object ID introduced in version 1.2. 15 | 16 | PHPUnit_MockObject 1.2.1 17 | ------------------------ 18 | 19 | * No changes. 20 | 21 | PHPUnit_MockObject 1.2.0 22 | ------------------------ 23 | 24 | * Implemented #47: Make cloning of arguments passed to mocked methods optional. 25 | * Implemented #84: `getMockFromWsdl()` now works with namespaces. 26 | * Fixed #90: Mocks with a fixed class name could only be created once. 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/mocked_clone.tpl.dist: -------------------------------------------------------------------------------- 1 | public function __clone() 2 | { 3 | $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 4 | } 5 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/mocked_object_method.tpl.dist: -------------------------------------------------------------------------------- 1 | 2 | {modifier} function {reference}{method_name}({arguments_decl}) 3 | { 4 | $arguments = array({arguments_call}); 5 | $count = func_num_args(); 6 | 7 | if ($count > {arguments_count}) { 8 | $_arguments = func_get_args(); 9 | 10 | for ($i = {arguments_count}; $i < $count; $i++) { 11 | $arguments[] = $_arguments[$i]; 12 | } 13 | } 14 | 15 | $result = $this->__phpunit_getInvocationMocker()->invoke( 16 | new PHPUnit_Framework_MockObject_Invocation_Object( 17 | '{class_name}', '{method_name}', $arguments, $this, {clone_arguments} 18 | ) 19 | ); 20 | 21 | return $result; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/mocked_static_method.tpl.dist: -------------------------------------------------------------------------------- 1 | 2 | {modifier} static function {reference}{method_name}({arguments_decl}) 3 | { 4 | $arguments = array({arguments_call}); 5 | $count = func_num_args(); 6 | 7 | if ($count > {arguments_count}) { 8 | $_arguments = func_get_args(); 9 | 10 | for ($i = {arguments_count}; $i < $count; $i++) { 11 | $arguments[] = $_arguments[$i]; 12 | } 13 | } 14 | 15 | $result = self::__phpunit_getStaticInvocationMocker()->invoke( 16 | new PHPUnit_Framework_MockObject_Invocation_Static( 17 | '{class_name}', '{method_name}', $arguments, {clone_arguments} 18 | ) 19 | ); 20 | 21 | return $result; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/trait_class.tpl.dist: -------------------------------------------------------------------------------- 1 | class {class_name} 2 | { 3 | use {trait_name}; 4 | } 5 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/unmocked_clone.tpl.dist: -------------------------------------------------------------------------------- 1 | public function __clone() 2 | { 3 | $this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); 4 | parent::__clone(); 5 | } 6 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/wsdl_class.tpl.dist: -------------------------------------------------------------------------------- 1 | {namespace} 2 | 3 | class {class_name} extends \SOAPClient 4 | { 5 | public function __construct($wsdl, array $options) 6 | { 7 | parent::__construct('{wsdl}', $options); 8 | } 9 | {methods}} 10 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator/wsdl_method.tpl.dist: -------------------------------------------------------------------------------- 1 | 2 | public function {method_name}({arguments}) 3 | { 4 | } 5 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/MockObject/wsdl_class.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | PHPUnit_Framework_MockObject_Generator::generateClassFromWsdl('GoogleSearch.wsdl', 'GoogleSearch') 3 | --SKIPIF-- 4 | 7 | --FILE-- 8 | 17 | --EXPECTF-- 18 | class GoogleSearch extends \SOAPClient 19 | { 20 | public function __construct($wsdl, array $options) 21 | { 22 | parent::__construct('%s/GoogleSearch.wsdl', $options); 23 | } 24 | 25 | public function doGetCachedPage($key, $url) 26 | { 27 | } 28 | 29 | public function doSpellingSuggestion($key, $phrase) 30 | { 31 | } 32 | 33 | public function doGoogleSearch($key, $q, $start, $maxResults, $filter, $restrict, $safeSearch, $lr, $ie, $oe) 34 | { 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/MockObject/wsdl_class_namespace.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | PHPUnit_Framework_MockObject_Generator::generateClassFromWsdl('GoogleSearch.wsdl', 'GoogleSearch') 3 | --SKIPIF-- 4 | 7 | --FILE-- 8 | 17 | --EXPECTF-- 18 | namespace My\Space; 19 | 20 | class GoogleSearch extends \SOAPClient 21 | { 22 | public function __construct($wsdl, array $options) 23 | { 24 | parent::__construct('%s/GoogleSearch.wsdl', $options); 25 | } 26 | 27 | public function doGetCachedPage($key, $url) 28 | { 29 | } 30 | 31 | public function doSpellingSuggestion($key, $phrase) 32 | { 33 | } 34 | 35 | public function doGoogleSearch($key, $q, $start, $maxResults, $filter, $restrict, $safeSearch, $lr, $ie, $oe) 36 | { 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/MockObject/wsdl_class_partial.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | PHPUnit_Framework_MockObject_Generator::generateClassFromWsdl('GoogleSearch.wsdl', 'GoogleSearch', array('doGoogleSearch')) 3 | --SKIPIF-- 4 | 7 | --FILE-- 8 | 18 | --EXPECTF-- 19 | class GoogleSearch extends \SOAPClient 20 | { 21 | public function __construct($wsdl, array $options) 22 | { 23 | parent::__construct('%s/GoogleSearch.wsdl', $options); 24 | } 25 | 26 | public function doGoogleSearch($key, $q, $start, $maxResults, $filter, $restrict, $safeSearch, $lr, $ie, $oe) 27 | { 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/_files/AbstractMockTestClass.php: -------------------------------------------------------------------------------- 1 | constructorArgs = array($arg1, $arg2); 10 | } 11 | 12 | public function mockableMethod() 13 | { 14 | // something different from NULL 15 | return TRUE; 16 | } 17 | 18 | public function anotherMockableMethod() 19 | { 20 | // something different from NULL 21 | return TRUE; 22 | } 23 | 24 | public function __clone() 25 | { 26 | $this->cloned = TRUE; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/_files/PartialMockTestClass.php: -------------------------------------------------------------------------------- 1 | constructorCalled = TRUE; 9 | } 10 | 11 | public function doSomething() 12 | { 13 | } 14 | 15 | public function doAnotherThing() 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/Tests/_files/SomeClass.php: -------------------------------------------------------------------------------- 1 | getTokens(); 12 | 13 | if ($tokens[($stackPtr - 1)]['code'] !== T_WHITESPACE || 14 | $tokens[($stackPtr + 1)]['code'] !== T_WHITESPACE) { 15 | 16 | $phpcsFile->addError( 17 | 'Concatenation operator must be surrounded by whitespace', 18 | $stackPtr 19 | ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/build/PHPCS/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sebastian Bergmann's coding standard 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/build/phpmd.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | Sebastian Bergmann's ruleset 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/build/travis-ci.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ../Tests 12 | ../Tests 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ../PHPUnit 23 | 24 | ../PHPUnit/Framework/MockObject/Autoload.php 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phpunit/phpunit-mock-objects", 3 | "description": "Mock Object library for PHPUnit", 4 | "type": "library", 5 | "keywords": [ 6 | "xunit", 7 | "mock" 8 | ], 9 | "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", 10 | "license": "BSD-3-Clause", 11 | "authors": [ 12 | { 13 | "name": "Sebastian Bergmann", 14 | "email": "sb@sebastian-bergmann.de", 15 | "role": "lead" 16 | } 17 | ], 18 | "support": { 19 | "issues": "https://github.com/sebastianbergmann/phpunit-mock-objects/issues", 20 | "irc": "irc://irc.freenode.net/phpunit" 21 | }, 22 | "require": { 23 | "php": ">=5.3.3", 24 | "phpunit/php-text-template": ">=1.1.1@stable" 25 | }, 26 | "suggest": { 27 | "ext-soap": "*" 28 | }, 29 | "autoload": { 30 | "classmap": [ 31 | "PHPUnit/" 32 | ] 33 | }, 34 | "include-path": [ 35 | "" 36 | ] 37 | } 38 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit-mock-objects/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Tests 11 | Tests 12 | 13 | 14 | 15 | 16 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | PHPUnit 26 | 27 | PHPUnit/Framework/MockObject/Autoload.php 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/.gitignore: -------------------------------------------------------------------------------- 1 | build/api 2 | build/code-browser 3 | build/coverage 4 | build/logs 5 | build/pdepend 6 | build/phar 7 | build/phpdox 8 | build/*.phar 9 | Tests/TextUI/*.diff 10 | Tests/TextUI/*.exp 11 | Tests/TextUI/*.log 12 | Tests/TextUI/*.out 13 | Tests/TextUI/*.php 14 | /bin 15 | /vendor 16 | /composer.lock 17 | /composer.phar 18 | phpunit.xml 19 | cache.properties 20 | .idea 21 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | 3 | php: 4 | - 5.3.3 5 | - 5.3 6 | - 5.4 7 | - 5.5 8 | - 5.6 9 | - hhvm 10 | 11 | env: 12 | - INSTALL_PHP_INVOKER=0 13 | - INSTALL_PHP_INVOKER=1 14 | 15 | before_script: 16 | - sh -c "if [ '$INSTALL_PHP_INVOKER' = '1' ]; then composer require --dev --prefer-source phpunit/php-invoker:\>=1.1.0,\<1.2.0; else composer install --dev --prefer-source; fi" 17 | 18 | script: ./phpunit.php --configuration ./build/travis-ci.xml 19 | 20 | matrix: 21 | allow_failures: 22 | - php: hhvm 23 | 24 | notifications: 25 | email: false 26 | irc: 27 | channels: 28 | - "irc.freenode.org#phpunit" 29 | use_notice: true 30 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Contributing to PHPUnit 2 | ======================= 3 | 4 | Contributions to PHPUnit, its related modules, and its documentation are always welcome. You make our lives easier by sending us your contributions through GitHub pull requests. 5 | 6 | Pull requests for bug fixes must be based on the current stable branch whereas pull requests for new features must be based on `master`. 7 | 8 | We are trying to keep backwards compatibility breaks in PHPUnit to an absolute minimum. Please take this into account when proposing changes. 9 | 10 | Due to time constraints, we are not always able to respond as quickly as we would like. Please do not take delays personal and feel free to remind us here or on IRC if you feel that we forgot to respond. 11 | 12 | Using PHPUnit From a Git Checkout 13 | --------------------------------- 14 | 15 | The following commands can be used to perform the initial checkout of PHPUnit: 16 | 17 | git clone git://github.com/sebastianbergmann/phpunit.git 18 | cd phpunit 19 | 20 | To retrieve PHPUnit's dependencies, you can use [Composer](http://getcomposer.org/download/). If you do not have Composer installed, you can download the latest PHAR with the following command: 21 | 22 | curl -O http://getcomposer.org/composer.phar 23 | 24 | Once Composer is installed, you can fetch PHPUnit's dependencies with the following command: 25 | 26 | php composer.phar install --dev 27 | 28 | The `phpunit.php` script can be used to invoke the PHPUnit test runner. 29 | 30 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/1021.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | #1021: Depending on a test that uses a data provider does not work 3 | --FILE-- 4 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | .. 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | OK (2 tests, 1 assertion) 20 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/1021/Issue1021Test.php: -------------------------------------------------------------------------------- 1 | assertTrue($data); 10 | } 11 | 12 | /** 13 | * @depends testSomething 14 | */ 15 | public function testSomethingElse() 16 | { 17 | } 18 | 19 | public function provider() 20 | { 21 | return array(array(TRUE)); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/523.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | #523: assertAttributeEquals does not work with classes extending ArrayIterator 3 | --FILE-- 4 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | . 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | OK (1 test, 1 assertion) 20 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/523/Issue523Test.php: -------------------------------------------------------------------------------- 1 | assertAttributeEquals('foo', 'field', new Issue523()); 7 | } 8 | }; 9 | 10 | class Issue523 extends ArrayIterator 11 | { 12 | protected $field = 'foo'; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/578.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | #578: Double printing of trace line for exceptions from notices and warnings 3 | --FILE-- 4 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | EEE 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | There were 3 errors: 20 | 21 | 1) Issue578Test::testNoticesDoublePrintStackTrace 22 | Invalid error type specified 23 | 24 | %s/Issue578Test.php:%i 25 | 26 | 2) Issue578Test::testWarningsDoublePrintStackTrace 27 | Invalid error type specified 28 | 29 | %s/Issue578Test.php:%i 30 | 31 | 3) Issue578Test::testUnexpectedExceptionsPrintsCorrectly 32 | Exception: Double printed exception 33 | 34 | %s/Issue578Test.php:%i 35 | 36 | FAILURES! 37 | Tests: 3, Assertions: 0, Errors: 3. 38 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/578/Issue578Test.php: -------------------------------------------------------------------------------- 1 | iniSet('error_reporting', E_ALL | E_NOTICE); 7 | trigger_error('Stack Trace Test Notice', E_NOTICE); 8 | } 9 | 10 | public function testWarningsDoublePrintStackTrace() 11 | { 12 | $this->iniSet('error_reporting', E_ALL | E_NOTICE); 13 | trigger_error('Stack Trace Test Notice', E_WARNING); 14 | } 15 | 16 | public function testUnexpectedExceptionsPrintsCorrectly() 17 | { 18 | throw new Exception('Double printed exception'); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/684.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | #684: Unable to find test class when no test methods exists 3 | --FILE-- 4 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | F 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | There was 1 failure: 20 | 21 | 1) Warning 22 | No tests found in class "Foo_Bar_Issue684Test". 23 | 24 | 25 | FAILURES! 26 | Tests: 1, Assertions: 0, Failures: 1. 27 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/684/Issue684Test.php: -------------------------------------------------------------------------------- 1 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | .. 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | OK (2 tests, 0 assertions) 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/783/ChildSuite.php: -------------------------------------------------------------------------------- 1 | addTestSuite('OneTest'); 11 | $suite->addTestSuite('TwoTest'); 12 | 13 | return $suite; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/783/OneTest.php: -------------------------------------------------------------------------------- 1 | addTest(ChildSuite::suite()); 10 | 11 | return $suite; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/783/TwoTest.php: -------------------------------------------------------------------------------- 1 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | . 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | OK (1 test, 4 assertions) 20 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/1472/Issue1472Test.php: -------------------------------------------------------------------------------- 1 | loadXML(''); 8 | 9 | $xpath = new DOMXPath($doc); 10 | 11 | $labelElement = $doc->getElementsByTagName('label')->item(0); 12 | 13 | $this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])')); 14 | 15 | $expectedElmt = $doc->createElement('label', 'text content'); 16 | $this->assertEqualXMLStructure($expectedElmt, $labelElement); 17 | 18 | // the following assertion fails, even though it passed before - which is due to the assertEqualXMLStructure() has modified the $labelElement 19 | $this->assertEquals(1, $xpath->evaluate('count(//label[text() = "text content"])')); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/244.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-244: Expected Exception should support string codes 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | .FFF 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | There were 3 failures: 23 | 24 | 1) Issue244Test::testFails 25 | Failed asserting that '123StringCode' is equal to expected exception code 'OtherString'. 26 | 27 | %s:%i 28 | 29 | 2) Issue244Test::testFailsTooIfExpectationIsANumber 30 | Failed asserting that '123StringCode' is equal to expected exception code 123. 31 | 32 | %s:%i 33 | 34 | 3) Issue244Test::testFailsTooIfExceptionCodeIsANumber 35 | Failed asserting that 123 is equal to expected exception code '123String'. 36 | 37 | %s:%i 38 | 39 | FAILURES! 40 | Tests: 4, Assertions: 8, Failures: 3. 41 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/244/Issue244Test.php: -------------------------------------------------------------------------------- 1 | code = '123StringCode'; 46 | } 47 | } 48 | 49 | class Issue244ExceptionIntCode extends Exception 50 | { 51 | public function __construct() 52 | { 53 | $this->code = 123; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/322.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-322: group commandline option should override group/exclude setting in phpunit.xml 3 | --FILE-- 4 | 17 | --EXPECTF-- 18 | PHPUnit %s by Sebastian Bergmann. 19 | 20 | Configuration read from %s 21 | 22 | 23 | Starting test 'Issue322Test::testOne'. 24 | . 25 | 26 | Time: %s, Memory: %sMb 27 | 28 | OK (1 test, 0 assertions) 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/322/Issue322Test.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test.php 4 | 5 | 6 | 7 | 8 | one 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/433.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-433: expectOutputString not completely working as expected 3 | --FILE-- 4 | 13 | --EXPECTF-- 14 | PHPUnit %s by Sebastian Bergmann. 15 | 16 | ..F 17 | 18 | Time: %s, Memory: %sMb 19 | 20 | There was 1 failure: 21 | 22 | 1) Issue433Test::testNotMatchingOutput 23 | Failed asserting that two strings are equal. 24 | --- Expected 25 | +++ Actual 26 | @@ @@ 27 | -'foo' 28 | +'bar' 29 | 30 | 31 | FAILURES! 32 | Tests: 3, Assertions: 3, Failures: 1. 33 | 34 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/433/Issue433Test.php: -------------------------------------------------------------------------------- 1 | expectOutputString('test'); 7 | print 'test'; 8 | } 9 | 10 | public function testOutputWithExpectationAfter() 11 | { 12 | print 'test'; 13 | $this->expectOutputString('test'); 14 | } 15 | 16 | public function testNotMatchingOutput() 17 | { 18 | print 'bar'; 19 | $this->expectOutputString('foo'); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/445.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-455: expectOutputString not working in strict mode 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | ..F 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | There was 1 failure: 22 | 23 | 1) Issue445Test::testNotMatchingOutput 24 | Failed asserting that two strings are equal. 25 | --- Expected 26 | +++ Actual 27 | @@ @@ 28 | -'foo' 29 | +'bar' 30 | 31 | 32 | FAILURES! 33 | Tests: 3, Assertions: 3, Failures: 1. 34 | 35 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/445/Issue445Test.php: -------------------------------------------------------------------------------- 1 | expectOutputString('test'); 7 | print 'test'; 8 | } 9 | 10 | public function testOutputWithExpectationAfter() 11 | { 12 | print 'test'; 13 | $this->expectOutputString('test'); 14 | } 15 | 16 | public function testNotMatchingOutput() 17 | { 18 | print 'bar'; 19 | $this->expectOutputString('foo'); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/498.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-498: The test methods won't be run if a dataProvider throws Exception and --group is added in command line 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | F 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | There was 1 failure: 23 | 24 | 1) Warning 25 | The data provider specified for Issue498Test::shouldBeFalse is invalid. 26 | Can't create the data 27 | 28 | 29 | FAILURES! 30 | Tests: 1, Assertions: 0, Failures: 1. 31 | 32 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/498/Issue498Test.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 14 | } 15 | 16 | 17 | /** 18 | * @test 19 | * @dataProvider shouldBeFalseDataProvider 20 | * @group trueOnly 21 | */ 22 | public function shouldBeFalse($testData) 23 | { 24 | $this->assertFalse(false); 25 | } 26 | 27 | public function shouldBeTrueDataProvider() 28 | { 29 | 30 | //throw new Exception("Can't create the data"); 31 | return array( 32 | array(true), 33 | array(false) 34 | ); 35 | } 36 | 37 | public function shouldBeFalseDataProvider() 38 | { 39 | 40 | throw new Exception("Can't create the data"); 41 | return array( 42 | array(true), 43 | array(false) 44 | ); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/503.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-503: assertEquals() Line Ending Differences Are Obscure 3 | --FILE-- 4 | 13 | --EXPECTF-- 14 | PHPUnit %s by Sebastian Bergmann. 15 | 16 | F 17 | 18 | Time: %s, Memory: %sMb 19 | 20 | There was 1 failure: 21 | 22 | 1) Issue503Test::testCompareDifferentLineEndings 23 | Failed asserting that two strings are identical. 24 | --- Expected 25 | +++ Actual 26 | @@ @@ 27 | #Warning: Strings contain different line endings! 28 | foo 29 | 30 | %s:%i 31 | 32 | FAILURES! 33 | Tests: 1, Assertions: 1, Failures: 1. 34 | 35 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/503/Issue503Test.php: -------------------------------------------------------------------------------- 1 | assertSame( 7 | "foo\n", 8 | "foo\r\n" 9 | ); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/581.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-581: PHPUnit_Util_Type::export adds extra newlines in Windows 3 | --FILE-- 4 | 13 | --EXPECTF-- 14 | PHPUnit %s by Sebastian Bergmann. 15 | 16 | F 17 | 18 | Time: %s, Memory: %sMb 19 | 20 | There was 1 failure: 21 | 22 | 1) Issue581Test::testExportingObjectsDoesNotBreakWindowsLineFeeds 23 | Failed asserting that two objects are equal. 24 | --- Expected 25 | +++ Actual 26 | @@ @@ 27 | stdClass Object ( 28 | 0 => 1 29 | 1 => 2 30 | 2 => 'Test\n' 31 | 3 => 4 32 | - 4 => 5 33 | + 4 => 1 34 | 5 => 6 35 | 6 => 7 36 | 7 => 8 37 | ) 38 | 39 | %s:%i 40 | 41 | FAILURES! 42 | Tests: 1, Assertions: 1, Failures: 1. 43 | 44 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/581/Issue581Test.php: -------------------------------------------------------------------------------- 1 | assertEquals( 6 | (object)array(1,2,"Test\r\n",4,5,6,7,8), 7 | (object)array(1,2,"Test\r\n",4,1,6,7,8) 8 | ); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/74.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-74: catchable fatal error in 3.5 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | E 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | There was 1 error: 23 | 24 | 1) Issue74Test::testCreateAndThrowNewExceptionInProcessIsolation 25 | NewException: Testing GH-74 26 | 27 | %s/Tests/Regression/GitHub/74/Issue74Test.php:7 28 | %s 29 | 30 | FAILURES! 31 | Tests: 1, Assertions: 0, Errors: 1. 32 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/74/Issue74Test.php: -------------------------------------------------------------------------------- 1 | 13 | --EXPECTF-- 14 | PHPUnit %s by Sebastian Bergmann. 15 | 16 | .F 17 | 18 | Time: %s, Memory: %sMb 19 | 20 | There was 1 failure: 21 | 22 | 1) Warning 23 | The data provider specified for Issue765Test::testDependent is invalid. 24 | 25 | 26 | FAILURES! 27 | Tests: 2, Assertions: 1, Failures: 1. 28 | 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/765/Issue765Test.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 7 | } 8 | 9 | /** 10 | * @depends testDependee 11 | * @dataProvider dependentProvider 12 | */ 13 | public function testDependent($a) 14 | { 15 | $this->assertTrue(true); 16 | } 17 | 18 | public function dependentProvider() 19 | { 20 | throw new Exception; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/Regression/GitHub/863.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | GH-863: Number of tests to run calculated incorrectly when --repeat is used 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ............................................................... 63 / 150 ( 42%) 19 | ............................................................... 126 / 150 ( 84%) 20 | ........................ 21 | 22 | Time: %s, Memory: %sMb 23 | 24 | OK (150 tests, 150 assertions) 25 | 26 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/abstract-test-class.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit AbstractTest ../_files/AbstractTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | F 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | There was 1 failure: 22 | 23 | 1) Warning 24 | Cannot instantiate class "AbstractTest". 25 | 26 | %s:%i 27 | 28 | FAILURES! 29 | Tests: 1, Assertions: 0, Failures: 1. 30 | 31 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/concrete-test-class.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit ConcreteTest ../_files/ConcreteTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | .. 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | OK (2 tests, 0 assertions) 22 | 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dataprovider-testdox.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --testdox DataProviderTest ../_files/DataProviderTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | DataProvider 19 | [ ] Add 20 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/debug.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --debug BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | 19 | Starting test 'BankAccountTest::testBalanceIsInitiallyZero'. 20 | . 21 | Starting test 'BankAccountTest::testBalanceCannotBecomeNegative'. 22 | . 23 | Starting test 'BankAccountTest::testBalanceCannotBecomeNegative2'. 24 | . 25 | 26 | Time: %s, Memory: %sMb 27 | 28 | OK (3 tests, 3 assertions) 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/default-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ... 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK (3 tests, 3 assertions) 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/default.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | ... 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | OK (3 tests, 3 assertions) 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation --verbose DependencyTestSuite ../_files/DependencyTestSuite.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | ...FSS 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | There was 1 failure: 24 | 25 | 1) DependencyFailureTest::testOne 26 | 27 | %s:%i 28 | 29 | There were 2 skipped tests: 30 | 31 | 1) DependencyFailureTest::testTwo 32 | This test depends on "DependencyFailureTest::testOne" to pass. 33 | 34 | %s:%i 35 | 36 | 2) DependencyFailureTest::testThree 37 | This test depends on "DependencyFailureTest::testTwo" to pass. 38 | 39 | %s:%i 40 | 41 | FAILURES! 42 | Tests: 4, Assertions: 0, Failures: 1, Skipped: 2. 43 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --verbose DependencyTestSuite ../_files/DependencyTestSuite.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ...FSS 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | There was 1 failure: 23 | 24 | 1) DependencyFailureTest::testOne 25 | 26 | %s:%i 27 | %s:%i 28 | 29 | There were 2 skipped tests: 30 | 31 | 1) DependencyFailureTest::testTwo 32 | This test depends on "DependencyFailureTest::testOne" to pass. 33 | 34 | %s:%i 35 | 36 | 2) DependencyFailureTest::testThree 37 | This test depends on "DependencyFailureTest::testTwo" to pass. 38 | 39 | %s:%i 40 | 41 | FAILURES! 42 | Tests: 4, Assertions: 0, Failures: 1, Skipped: 2. 43 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies2-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation StackTest ../_files/StackTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | .. 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK (2 tests, 5 assertions) 23 | 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies2.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit StackTest ../_files/StackTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | .. 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | OK (2 tests, 5 assertions) 22 | 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies3-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation MultiDependencyTest ../_files/MultiDependencyTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ... 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK (3 tests, 2 assertions) 23 | 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/dependencies3.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit MultiDependencyTest ../_files/MultiDependencyTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | ... 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | OK (3 tests, 2 assertions) 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/empty-testcase.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit EmptyTestCaseTest ../_files/EmptyTestCaseTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | F 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | There was 1 failure: 22 | 23 | 1) Warning 24 | No tests found in class "EmptyTestCaseTest". 25 | 26 | %s:%i 27 | 28 | FAILURES! 29 | Tests: 1, Assertions: 0, Failures: 1. 30 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/exception-stack.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit ExceptionStackTest ../_files/ExceptionStack.php 3 | --FILE-- 4 | 12 | --EXPECTF-- 13 | PHPUnit %s by Sebastian Bergmann. 14 | 15 | EE 16 | 17 | Time: %s, Memory: %sMb 18 | 19 | There were 2 errors: 20 | 21 | 1) ExceptionStackTest::testPrintingChildException 22 | ExceptionStackTestException: Child exception 23 | message 24 | Failed asserting that two arrays are equal. 25 | --- Expected 26 | +++ Actual 27 | @@ @@ 28 | Array ( 29 | - 0 => 1 30 | + 0 => 2 31 | ) 32 | 33 | %s:%i 34 | 35 | Caused by 36 | %s:%i 37 | 38 | 2) ExceptionStackTest::testNestedExceptions 39 | Exception: One 40 | 41 | %s:%i 42 | 43 | Caused by 44 | InvalidArgumentException: Two 45 | 46 | %s:%i 47 | 48 | Caused by 49 | Exception: Three 50 | 51 | %s:%i 52 | 53 | FAILURES! 54 | Tests: 2, Assertions: 1, Errors: 2. 55 | 56 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/exclude-group-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 17 | --EXPECTF-- 18 | PHPUnit %s by Sebastian Bergmann. 19 | 20 | .. 21 | 22 | Time: %s, Memory: %sMb 23 | 24 | OK (2 tests, 2 assertions) 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/exclude-group.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --exclude-group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | .. 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK (2 tests, 2 assertions) 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/fatal-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit FatalTest ../_files/FatalTest.php 3 | --FILE-- 4 | 14 | --EXPECTF-- 15 | PHPUnit %s by Sebastian Bergmann. 16 | 17 | E 18 | 19 | Time: %s, Memory: %sMb 20 | 21 | There was 1 error: 22 | 23 | 1) FatalTest::testFatalError 24 | PHPUnit_Framework_Exception: %s error: Call to undefined function non_existing_function() in %s 25 | 26 | 27 | FAILURES! 28 | Tests: 1, Assertions: 0, Errors: 1. 29 | 30 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/fatal.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit FatalTest ../_files/FatalTest.php 3 | --FILE-- 4 | 13 | --EXPECTF-- 14 | PHPUnit %s by Sebastian Bergmann. 15 | 16 | 17 | Fatal error: Call to undefined function non_existing_function() in %s 18 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/filter-class-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 17 | --EXPECTF-- 18 | PHPUnit %s by Sebastian Bergmann. 19 | 20 | ... 21 | 22 | Time: %s, Memory: %sMb 23 | 24 | OK (3 tests, 3 assertions) 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/filter-class.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --filter BankAccountTest BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | ... 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK (3 tests, 3 assertions) 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/filter-method-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation --filter testBalanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 17 | --EXPECTF-- 18 | PHPUnit %s by Sebastian Bergmann. 19 | 20 | . 21 | 22 | Time: %s, Memory: %sMb 23 | 24 | OK (1 test, 1 assertion) 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/filter-method.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --filter testBalanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | . 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK (1 test, 1 assertion) 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/filter-no-results.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --filter testBalanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | No tests executed! 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/group-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --process-isolation --group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 17 | --EXPECTF-- 18 | PHPUnit %s by Sebastian Bergmann. 19 | 20 | . 21 | 22 | Time: %s, Memory: %sMb 23 | 24 | OK (1 test, 1 assertion) 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/group.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --group balanceIsInitiallyZero BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | . 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK (1 test, 1 assertion) 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/list-groups.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --list-groups BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | Available test group(s): 19 | - Sebastian Bergmann 20 | - balanceCannotBecomeNegative 21 | - balanceIsInitiallyZero 22 | - specification 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/log-tap.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --log-tap php://stdout BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | TAP version 13 20 | .ok 1 - BankAccountTest::testBalanceIsInitiallyZero 21 | .ok 2 - BankAccountTest::testBalanceCannotBecomeNegative 22 | .ok 3 - BankAccountTest::testBalanceCannotBecomeNegative2 23 | 1..3 24 | 25 | 26 | Time: %s, Memory: %sMb 27 | 28 | OK (3 tests, 3 assertions) 29 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/log-xml.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --log-junit php://stdout BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | ... 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | Time: %s, Memory: %sMb 30 | 31 | OK (3 tests, 3 assertions) 32 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/strict-incomplete.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --strict IncompleteTest ../_files/IncompleteTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | I 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK, but incomplete or skipped tests! 23 | Tests: 1, Assertions: 0, Incomplete: 1. 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/strict-isolation.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --strict --process-isolation IncompleteTest ../_files/IncompleteTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | I 20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK, but incomplete or skipped tests! 24 | Tests: 1, Assertions: 0, Incomplete: 1. 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/strict.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --strict NothingTest ../_files/NothingTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | I 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK, but incomplete or skipped tests! 23 | Tests: 1, Assertions: 0, Incomplete: 1. 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/tap.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --tap BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | TAP version 13 17 | ok 1 - BankAccountTest::testBalanceIsInitiallyZero 18 | ok 2 - BankAccountTest::testBalanceCannotBecomeNegative 19 | ok 3 - BankAccountTest::testBalanceCannotBecomeNegative2 20 | 1..3 21 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/test-suffix-multiple.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --test-suffix .test.php,.my.php ../_files/ 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ..... 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK (5 tests, 3 assertions) 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/test-suffix-single.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --test-suffix .test.php ../_files/ 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | ... 19 | 20 | Time: %s, Memory: %sMb 21 | 22 | OK (3 tests, 3 assertions) 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/testdox-html.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --testdox-html php://stdout BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 |

BankAccount

20 | 21 | Time: %s, Memory: %sMb 22 | 23 | OK (3 tests, 3 assertions) 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/testdox-text.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --testdox-text php://stdout BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 16 | --EXPECTF-- 17 | PHPUnit %s by Sebastian Bergmann. 18 | 19 | BankAccount 20 | ... [x] Balance is initially zero 21 | [x] Balance cannot become negative 22 | 23 | 24 | 25 | Time: %s, Memory: %sMb 26 | 27 | OK (3 tests, 3 assertions) 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/TextUI/testdox.phpt: -------------------------------------------------------------------------------- 1 | --TEST-- 2 | phpunit --testdox php://stdout BankAccountTest ../_files/BankAccountTest.php 3 | --FILE-- 4 | 15 | --EXPECTF-- 16 | PHPUnit %s by Sebastian Bergmann. 17 | 18 | BankAccount 19 | [x] Balance is initially zero 20 | [x] Balance cannot become negative 21 | 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/AbstractTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(TRUE); 8 | } 9 | 10 | } 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ClassWithNonPublicAttributes.php: -------------------------------------------------------------------------------- 1 | assertEquals($c, $a + $b); 10 | } 11 | 12 | public static function providerMethod() 13 | { 14 | return array( 15 | array(0, 0, 0), 16 | array(0, 1, 1), 17 | array(1, 1, 3), 18 | array(1, 0, 1) 19 | ); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/DependencyFailureTest.php: -------------------------------------------------------------------------------- 1 | fail(); 7 | } 8 | 9 | /** 10 | * @depends testOne 11 | */ 12 | public function testTwo() 13 | { 14 | } 15 | 16 | /** 17 | * @depends testTwo 18 | */ 19 | public function testThree() 20 | { 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/DependencySuccessTest.php: -------------------------------------------------------------------------------- 1 | addTestSuite('DependencySuccessTest'); 12 | $suite->addTestSuite('DependencyFailureTest'); 13 | 14 | return $suite; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/DoubleTestCase.php: -------------------------------------------------------------------------------- 1 | testCase = $testCase; 9 | } 10 | 11 | public function count() 12 | { 13 | return 2; 14 | } 15 | 16 | public function run(PHPUnit_Framework_TestResult $result = NULL) 17 | { 18 | $result->startTest($this); 19 | 20 | $this->testCase->runBare(); 21 | $this->testCase->runBare(); 22 | 23 | $result->endTest($this, 0); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/EmptyTestCaseTest.php: -------------------------------------------------------------------------------- 1 | setUp = TRUE; 13 | } 14 | 15 | protected function assertPreConditions() 16 | { 17 | $this->assertPreConditions = TRUE; 18 | } 19 | 20 | public function testSomething() 21 | { 22 | $this->testSomething = TRUE; 23 | } 24 | 25 | protected function assertPostConditions() 26 | { 27 | $this->assertPostConditions = TRUE; 28 | throw new Exception; 29 | } 30 | 31 | protected function tearDown() 32 | { 33 | $this->tearDown = TRUE; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ExceptionInAssertPreConditionsTest.php: -------------------------------------------------------------------------------- 1 | setUp = TRUE; 13 | } 14 | 15 | protected function assertPreConditions() 16 | { 17 | $this->assertPreConditions = TRUE; 18 | throw new Exception; 19 | } 20 | 21 | public function testSomething() 22 | { 23 | $this->testSomething = TRUE; 24 | } 25 | 26 | protected function assertPostConditions() 27 | { 28 | $this->assertPostConditions = TRUE; 29 | } 30 | 31 | protected function tearDown() 32 | { 33 | $this->tearDown = TRUE; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ExceptionInSetUpTest.php: -------------------------------------------------------------------------------- 1 | setUp = TRUE; 13 | throw new Exception; 14 | } 15 | 16 | protected function assertPreConditions() 17 | { 18 | $this->assertPreConditions = TRUE; 19 | } 20 | 21 | public function testSomething() 22 | { 23 | $this->testSomething = TRUE; 24 | } 25 | 26 | protected function assertPostConditions() 27 | { 28 | $this->assertPostConditions = TRUE; 29 | } 30 | 31 | protected function tearDown() 32 | { 33 | $this->tearDown = TRUE; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ExceptionInTearDownTest.php: -------------------------------------------------------------------------------- 1 | setUp = TRUE; 13 | } 14 | 15 | protected function assertPreConditions() 16 | { 17 | $this->assertPreConditions = TRUE; 18 | } 19 | 20 | public function testSomething() 21 | { 22 | $this->testSomething = TRUE; 23 | } 24 | 25 | protected function assertPostConditions() 26 | { 27 | $this->assertPostConditions = TRUE; 28 | } 29 | 30 | protected function tearDown() 31 | { 32 | $this->tearDown = TRUE; 33 | throw new Exception; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ExceptionInTest.php: -------------------------------------------------------------------------------- 1 | setUp = TRUE; 13 | } 14 | 15 | protected function assertPreConditions() 16 | { 17 | $this->assertPreConditions = TRUE; 18 | } 19 | 20 | public function testSomething() 21 | { 22 | $this->testSomething = TRUE; 23 | throw new Exception; 24 | } 25 | 26 | protected function assertPostConditions() 27 | { 28 | $this->assertPostConditions = TRUE; 29 | } 30 | 31 | protected function tearDown() 32 | { 33 | $this->tearDown = TRUE; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ExceptionNamespaceTest.php: -------------------------------------------------------------------------------- 1 | assertEquals(array(1), array(2), 'message'); 10 | } catch (PHPUnit_Framework_ExpectationFailedException $e) { 11 | $message = $e->getMessage() . "\n" . $e->getComparisonFailure()->getDiff(); 12 | throw new ExceptionStackTestException("Child exception\n$message", 101, $e); 13 | } 14 | } 15 | 16 | public function testNestedExceptions() 17 | { 18 | $exceptionThree = new Exception('Three'); 19 | $exceptionTwo = new InvalidArgumentException('Two', 0, $exceptionThree); 20 | $exceptionOne = new Exception('One', 0, $exceptionTwo); 21 | throw $exceptionOne; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/Failure.php: -------------------------------------------------------------------------------- 1 | fail(); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/FatalTest.php: -------------------------------------------------------------------------------- 1 | markTestIncomplete('Test incomplete'); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/InheritedTestCase.php: -------------------------------------------------------------------------------- 1 | assertEquals('foo', $a); 21 | $this->assertEquals('bar', $b); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/NoArgTestCaseTest.php: -------------------------------------------------------------------------------- 1 | expectOutputString('foo'); 7 | print 'foo'; 8 | } 9 | 10 | public function testExpectOutputStringFooActualBar() 11 | { 12 | $this->expectOutputString('foo'); 13 | print 'bar'; 14 | } 15 | 16 | public function testExpectOutputRegexFooActualFoo() 17 | { 18 | $this->expectOutputRegex('/foo/'); 19 | print 'foo'; 20 | } 21 | 22 | public function testExpectOutputRegexFooActualBar() 23 | { 24 | $this->expectOutputRegex('/foo/'); 25 | print 'bar'; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/OverrideTestCase.php: -------------------------------------------------------------------------------- 1 | container = array(); 15 | } 16 | public function offsetSet($offset, $value) { 17 | if (is_null($offset)) { 18 | $this->container[] = $value; 19 | } else { 20 | $this->container[$offset] = $value; 21 | } 22 | } 23 | public function offsetExists($offset) { 24 | return isset($this->container[$offset]); 25 | } 26 | public function offsetUnset($offset) { 27 | unset($this->container[$offset]); 28 | } 29 | public function offsetGet($offset) { 30 | return isset($this->container[$offset]) ? $this->container[$offset] : null; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/SampleClass.php: -------------------------------------------------------------------------------- 1 | a = $a; 11 | $this->b = $b; 12 | $this->c = $c; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/SelectorAssertionsFixture.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | Login 6 | 7 | 8 | 9 | 10 | 15 | 18 |
19 |
20 | My Subchild 21 | My Child 22 |
23 | 24 | Test Id Text 25 |
26 |
27 | My Children 28 |
1
29 |
2
30 |
3
31 |
4
32 |
33 | 34 | Test Class Text 35 | 36 | Login Logo 37 | 38 |
39 | My test tag content 40 |
more text
41 |
42 |
test
43 | 44 | 45 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/Singleton.php: -------------------------------------------------------------------------------- 1 | assertEquals(0, count($stack)); 8 | 9 | array_push($stack, 'foo'); 10 | $this->assertEquals('foo', $stack[count($stack)-1]); 11 | $this->assertEquals(1, count($stack)); 12 | 13 | return $stack; 14 | } 15 | 16 | /** 17 | * @depends testPush 18 | */ 19 | public function testPop(array $stack) 20 | { 21 | $this->assertEquals('foo', array_pop($stack)); 22 | $this->assertEquals(0, count($stack)); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/Struct.php: -------------------------------------------------------------------------------- 1 | var = $var; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/Success.php: -------------------------------------------------------------------------------- 1 | assertTrue(TRUE); 23 | } 24 | 25 | public function testTwo() 26 | { 27 | print __METHOD__ . "\n"; 28 | $this->assertTrue(FALSE); 29 | } 30 | 31 | protected function assertPostConditions() 32 | { 33 | print __METHOD__ . "\n"; 34 | } 35 | 36 | protected function tearDown() 37 | { 38 | print __METHOD__ . "\n"; 39 | } 40 | 41 | public static function tearDownAfterClass() 42 | { 43 | print __METHOD__ . "\n"; 44 | } 45 | 46 | protected function onNotSuccessfulTest(Exception $e) 47 | { 48 | print __METHOD__ . "\n"; 49 | throw $e; 50 | } 51 | } 52 | ?> 53 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/TestIterator.php: -------------------------------------------------------------------------------- 1 | array = $array; 10 | } 11 | 12 | public function rewind() 13 | { 14 | $this->position = 0; 15 | } 16 | 17 | public function valid() 18 | { 19 | return $this->position < count($this->array); 20 | } 21 | 22 | public function key() 23 | { 24 | return $this->position; 25 | } 26 | 27 | public function current() 28 | { 29 | return $this->array[$this->position]; 30 | } 31 | 32 | public function next() 33 | { 34 | $this->position++; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/TestIterator2.php: -------------------------------------------------------------------------------- 1 | data = $array; 9 | } 10 | 11 | public function current() 12 | { 13 | return current($this->data); 14 | } 15 | 16 | public function next() 17 | { 18 | next($this->data); 19 | } 20 | 21 | public function key() 22 | { 23 | return key($this->data); 24 | } 25 | 26 | public function valid() 27 | { 28 | return key($this->data) !== null; 29 | } 30 | 31 | public function rewind() 32 | { 33 | reset($this->data); 34 | } 35 | } -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/ThrowExceptionTestCase.php: -------------------------------------------------------------------------------- 1 | wasRun = TRUE; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/bar.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/expectedFileFormat.txt: -------------------------------------------------------------------------------- 1 | FOO 2 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/foo.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureAttributesAreSameButValuesAreNot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Image 1: Dette er en test caption 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureExpected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Image 1: Dette er en test caption 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureIgnoreTextNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | textnode 5 | 6 | textnode 7 | 8 | textnode 9 | Image 1: Dette er en test caption 10 | textnode 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureIsSameButDataIsNot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Image is not the same 1: Dette er en test caption 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureWrongNumberOfAttributes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Image 1: Dette er en test caption 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/Tests/_files/structureWrongNumberOfNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/build/PHPCS/Sniffs/ControlStructures/ControlSignatureSniff.php: -------------------------------------------------------------------------------- 1 | getTokens(); 12 | 13 | if ($tokens[($stackPtr - 1)]['code'] !== T_WHITESPACE || 14 | $tokens[($stackPtr + 1)]['code'] !== T_WHITESPACE) { 15 | 16 | $phpcsFile->addError( 17 | 'Concatenation operator must be surrounded by whitespace', 18 | $stackPtr 19 | ); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/build/PHPCS/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Sebastian Bergmann's coding standard 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/build/phar-autoload.php.in: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 2 | 3 | 8 | Sebastian Bergmann's ruleset 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/build/travis-ci.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | ../Tests/Framework 10 | ../Tests/Framework/MockObject 11 | ../Tests/Extensions 12 | ../Tests/Regression 13 | ../Tests/Runner 14 | ../Tests/TextUI 15 | ../Tests/Util 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | ../PHPUnit 26 | 27 | ../PHPUnit/Autoload.php 28 | ../PHPUnit/Framework/Assert/Functions.php 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /vendor/phpunit/phpunit/phpdox.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 2.8.0 5 | ----- 6 | 7 | * Deprecated usage of a colon in an unquoted mapping value 8 | * Deprecated usage of @, \`, | and > at the beginning of an unquoted string 9 | * When surrounding strings with double-quotes, you must now escape `\` characters. Not 10 | escaping those characters (when surrounded by double-quotes) is deprecated. 11 | 12 | Before: 13 | 14 | ```yml 15 | class: "Foo\Var" 16 | ``` 17 | 18 | After: 19 | 20 | ```yml 21 | class: "Foo\\Var" 22 | ``` 23 | 24 | 2.1.0 25 | ----- 26 | 27 | * Yaml::parse() does not evaluate loaded files as PHP files by default 28 | anymore (call Yaml::enablePhpParsing() to get back the old behavior) 29 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/DumpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during dumping. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class DumpException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception interface for all exceptions thrown by the component. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during parsing. 16 | * 17 | * @author Romain Neutron 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-2016 Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/README.md: -------------------------------------------------------------------------------- 1 | Yaml Component 2 | ============== 3 | 4 | The Yaml component loads and dumps YAML files. 5 | 6 | Resources 7 | --------- 8 | 9 | * [Documentation](https://symfony.com/doc/current/components/yaml/index.html) 10 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 11 | * [Report issues](https://github.com/symfony/symfony/issues) and 12 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 13 | in the [main Symfony repository](https://github.com/symfony/symfony) 14 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsAnchorAlias.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Simple Alias Example 3 | brief: > 4 | If you need to refer to the same item of data twice, 5 | you can give that item an alias. The alias is a plain 6 | string, starting with an ampersand. The item may then 7 | be referred to by the alias throughout your document 8 | by using an asterisk before the name of the alias. 9 | This is called an anchor. 10 | yaml: | 11 | - &showell Steve 12 | - Clark 13 | - Brian 14 | - Oren 15 | - *showell 16 | php: | 17 | array('Steve', 'Clark', 'Brian', 'Oren', 'Steve') 18 | 19 | --- 20 | test: Alias of a Mapping 21 | brief: > 22 | An alias can be used on any item of data, including 23 | sequences, mappings, and other complex data types. 24 | yaml: | 25 | - &hello 26 | Meat: pork 27 | Starch: potato 28 | - banana 29 | - *hello 30 | php: | 31 | array(array('Meat'=>'pork', 'Starch'=>'potato'), 'banana', array('Meat'=>'pork', 'Starch'=>'potato')) 32 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsBlockMapping.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: One Element Mapping 3 | brief: | 4 | A mapping with one key/value pair 5 | yaml: | 6 | foo: bar 7 | php: | 8 | array('foo' => 'bar') 9 | --- 10 | test: Multi Element Mapping 11 | brief: | 12 | More than one key/value pair 13 | yaml: | 14 | red: baron 15 | white: walls 16 | blue: berries 17 | php: | 18 | array( 19 | 'red' => 'baron', 20 | 'white' => 'walls', 21 | 'blue' => 'berries', 22 | ) 23 | --- 24 | test: Values aligned 25 | brief: | 26 | Often times human editors of documents will align the values even 27 | though YAML emitters generally don't. 28 | yaml: | 29 | red: baron 30 | white: walls 31 | blue: berries 32 | php: | 33 | array( 34 | 'red' => 'baron', 35 | 'white' => 'walls', 36 | 'blue' => 'berries', 37 | ) 38 | --- 39 | test: Colons aligned 40 | brief: | 41 | Spaces can come before the ': ' key/value separator. 42 | yaml: | 43 | red : baron 44 | white : walls 45 | blue : berries 46 | php: | 47 | array( 48 | 'red' => 'baron', 49 | 'white' => 'walls', 50 | 'blue' => 'berries', 51 | ) 52 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsErrorTests.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: Missing value for hash item 3 | todo: true 4 | brief: | 5 | Third item in this hash doesn't have a value 6 | yaml: | 7 | okay: value 8 | also okay: ~ 9 | causes error because no value specified 10 | last key: value okay here too 11 | python-error: causes error because no value specified 12 | 13 | --- 14 | test: Not indenting enough 15 | brief: | 16 | There was a bug in PyYaml where it was off by one 17 | in the indentation check. It was allowing the YAML 18 | below. 19 | # This is actually valid YAML now. Someone should tell showell. 20 | yaml: | 21 | foo: 22 | firstline: 1 23 | secondline: 2 24 | php: | 25 | array('foo' => null, 'firstline' => 1, 'secondline' => 2) 26 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/YtsNullsAndEmpties.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Empty Sequence 3 | brief: > 4 | You can represent the empty sequence 5 | with an empty inline sequence. 6 | yaml: | 7 | empty: [] 8 | php: | 9 | array('empty' => array()) 10 | --- 11 | test: Empty Mapping 12 | brief: > 13 | You can represent the empty mapping 14 | with an empty inline mapping. 15 | yaml: | 16 | empty: {} 17 | php: | 18 | array('empty' => array()) 19 | --- 20 | test: Empty Sequence as Entire Document 21 | yaml: | 22 | [] 23 | php: | 24 | array() 25 | --- 26 | test: Empty Mapping as Entire Document 27 | yaml: | 28 | {} 29 | php: | 30 | array() 31 | --- 32 | test: Null as Document 33 | yaml: | 34 | ~ 35 | php: | 36 | null 37 | --- 38 | test: Empty String 39 | brief: > 40 | You can represent an empty string 41 | with a pair of quotes. 42 | yaml: | 43 | '' 44 | php: | 45 | '' 46 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/embededPhp.yml: -------------------------------------------------------------------------------- 1 | value: 2 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/index.yml: -------------------------------------------------------------------------------- 1 | - escapedCharacters 2 | - sfComments 3 | - sfCompact 4 | - sfTests 5 | - sfObjects 6 | - sfMergeKey 7 | - sfQuotes 8 | - YtsAnchorAlias 9 | - YtsBasicTests 10 | - YtsBlockMapping 11 | - YtsDocumentSeparator 12 | - YtsErrorTests 13 | - YtsFlowCollections 14 | - YtsFoldedScalars 15 | - YtsNullsAndEmpties 16 | - YtsSpecificationExamples 17 | - YtsTypeTransfers 18 | - unindentedCollections 19 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/sfObjects.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Objects 3 | brief: > 4 | Comments at the end of a line 5 | yaml: | 6 | ex1: "foo # bar" 7 | ex2: "foo # bar" # comment 8 | ex3: 'foo # bar' # comment 9 | ex4: foo # comment 10 | php: | 11 | array('ex1' => 'foo # bar', 'ex2' => 'foo # bar', 'ex3' => 'foo # bar', 'ex4' => 'foo') 12 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/Fixtures/sfQuotes.yml: -------------------------------------------------------------------------------- 1 | --- %YAML:1.0 2 | test: Some characters at the beginning of a string must be escaped 3 | brief: > 4 | Some characters at the beginning of a string must be escaped 5 | yaml: | 6 | foo: '| bar' 7 | php: | 8 | array('foo' => '| bar') 9 | --- 10 | test: A key can be a quoted string 11 | brief: > 12 | A key can be a quoted string 13 | yaml: | 14 | "foo1": bar 15 | 'foo2': bar 16 | "foo \" bar": bar 17 | 'foo '' bar': bar 18 | 'foo3: ': bar 19 | "foo4: ": bar 20 | foo5: { "foo \" bar: ": bar, 'foo '' bar: ': bar } 21 | php: | 22 | array( 23 | 'foo1' => 'bar', 24 | 'foo2' => 'bar', 25 | 'foo " bar' => 'bar', 26 | 'foo \' bar' => 'bar', 27 | 'foo3: ' => 'bar', 28 | 'foo4: ' => 'bar', 29 | 'foo5' => array( 30 | 'foo " bar: ' => 'bar', 31 | 'foo \' bar: ' => 'bar', 32 | ), 33 | ) 34 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/Tests/ParseExceptionTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Tests; 13 | 14 | use Symfony\Component\Yaml\Exception\ParseException; 15 | 16 | class ParseExceptionTest extends \PHPUnit_Framework_TestCase 17 | { 18 | public function testGetMessage() 19 | { 20 | $exception = new ParseException('Error message', 42, 'foo: bar', '/var/www/app/config.yml'); 21 | if (PHP_VERSION_ID >= 50400) { 22 | $message = 'Error message in "/var/www/app/config.yml" at line 42 (near "foo: bar")'; 23 | } else { 24 | $message = 'Error message in "\\/var\\/www\\/app\\/config.yml" at line 42 (near "foo: bar")'; 25 | } 26 | 27 | $this->assertEquals($message, $exception->getMessage()); 28 | } 29 | 30 | public function testGetMessageWithUnicodeInFilename() 31 | { 32 | $exception = new ParseException('Error message', 42, 'foo: bar', 'äöü.yml'); 33 | if (PHP_VERSION_ID >= 50400) { 34 | $message = 'Error message in "äöü.yml" at line 42 (near "foo: bar")'; 35 | } else { 36 | $message = 'Error message in "\u00e4\u00f6\u00fc.yml" at line 42 (near "foo: bar")'; 37 | } 38 | 39 | $this->assertEquals($message, $exception->getMessage()); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/yaml", 3 | "type": "library", 4 | "description": "Symfony Yaml Component", 5 | "keywords": [], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.9" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 23 | "exclude-from-classmap": [ 24 | "/Tests/" 25 | ] 26 | }, 27 | "minimum-stability": "dev", 28 | "extra": { 29 | "branch-alias": { 30 | "dev-master": "2.8-dev" 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /vendor/symfony/yaml/phpunit.xml.dist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ./Tests/ 16 | 17 | 18 | 19 | 20 | 21 | ./ 22 | 23 | ./Tests 24 | ./vendor 25 | 26 | 27 | 28 | 29 | --------------------------------------------------------------------------------