Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-fb5058e277d63ff5607f041d3324efc198c3ea9d/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/php-phpspec-5.1.0-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'], chrootPath='/var/lib/mock/community-php72-armhfp-fb5058e277d63ff5607f041d3324efc198c3ea9d/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ovUtcA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + /usr/bin/gzip -dc /builddir/build/SOURCES/phpspec-5.1.0-4badea7.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (phpspec-4-rpm.patch): + echo 'Patch #0 (phpspec-4-rpm.patch):' + /usr/bin/cat /builddir/build/SOURCES/phpspec-4-rpm.patch + /usr/bin/patch -p0 -b --suffix .rpm --fuzz=0 patching file ./bin/phpspec + sed -e s/@SYMFONY@/Symfony4/ /builddir/build/SOURCES/phpspec-autoload.php Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qGiX2w + exit 0 + umask 022 + cd /builddir/build/BUILD + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YnLwxw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + mkdir -p /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/php + cp -pr src/PhpSpec /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/php/PhpSpec + install -Dpm755 bin/phpspec /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/bin/phpspec + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.iVQQfy + umask 022 + cd /builddir/build/BUILD + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + export LANG=C.UTF-8 + LANG=C.UTF-8 + rm spec/PhpSpec/Message/CurrentExampleTrackerSpec.php + rm spec/PhpSpec/NamespaceProvider/ComposerPsrNamespaceProviderSpec.php + sed -e s/4209531264/PHP_INT_MAX/ -i spec/PhpSpec/Matcher/ScalarMatcherSpec.php + for cmd in php php71 php72 php73 + which php /usr/bin/php + php -d memory_limit=1G -d include_path=.:/builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/php bin/phpspec run --format pretty --verbose --no-ansi PhpSpec\CodeAnalysis\MagicAwareAccessInspector 16 ��� should be an access inspector (105ms) 21 ��� should detect a magic getter if no value is given 26 ��� should detect a magic setter if a value is given 31 ��� should detect a magic call method 36 ��� should not detect a getter if there is no magic getter and wrapped inspector finds none 43 ��� should detect a getter if there is no magic getter but wrapped inspector finds one 50 ��� should not detect a setter if there is no magic setter and wrapped inspector finds none 57 ��� should detect a setter if there is no magic setter but wrapped inspector finds one 64 ��� should detect a method if there is no magic caller and wrapped inspector finds none 71 ��� should detect a method if there is no magic caller but wrapped inspector finds one PhpSpec\CodeAnalysis\StaticRejectingNamespaceResolver 17 ��� is initializable 22 ��� delegates analysis to wrapped resolver 29 ��� delegates resolution to wrapped resolver 36 ��� does not allow resolution of non object types PhpSpec\CodeAnalysis\TokenizedNamespaceResolver 10 ��� is initializable 15 ��� resolves types outside of namespaces 29 ��� resolves types from current namespace 46 ��� resolves types with use statements 65 ��� resolves types with use aliases 84 ��� resolves types with partial use statements 107 ��� resolves types from grouped use statements PhpSpec\CodeAnalysis\TokenizedTypeHintRewriter 20 ��� is a typehint rewriter 29 ��� leaves alone specs with no typehints 54 ��� removes typehints from single argument methods 79 ��� does not remove typehints in methods 112 ��� removes typehints for multiple arguments in methods 137 ��� indexes typehints that are removed (57ms) 161 ��� indexes invalid typehints 187 ��� preserves line numbers 220 ��� do not remove typehints of non spec classes PhpSpec\CodeAnalysis\VisibilityAccessInspector 10 ��� should be an access inspector 15 ��� should reject an object if the property does not exist 21 ��� should reject a private property 27 ��� should detect a public property 33 ��� should reject an object if a method does not exist 38 ��� should reject a private method 43 ��� should detect a public method PhpSpec\CodeGenerator\Generator\ClassGenerator 21 ��� is a generator 26 ��� supports class generation 31 ��� does not support anything else 36 ��� its priority is 0 41 ��� generates class from resource and puts it into appropriate folder 66 ��� uses template provided by templating system if there is one 91 ��� creates folder for class if needed 107 ��� asks confirmation if class already exists 123 ��� records that class was created in executioncontext PhpSpec\CodeGenerator\Generator\ConfirmingGenerator 17 ��� is a Generator 22 ��� supports the same generator as its parent 29 ��� has the same priority as its parent 36 ��� does not call the parent generate method if the user answers no 47 ��� calls the parent generate method if the user answers yes PhpSpec\CodeGenerator\Generator\MethodGenerator 21 ��� is a generator 26 ��� supports method generation 31 ��� does not support anything else 36 ��� its priority is 0 41 ��� generates class method from resource PhpSpec\CodeGenerator\Generator\NamedConstructorGenerator 20 ��� is a generator 25 ��� supports static constructor generation 30 ��� does not support anything else 35 ��� its priority is 0 40 ��� generates static constructor method from resource PhpSpec\CodeGenerator\Generator\NewFileNotifyingGenerator 22 ��� is a code generator 27 ��� should proxy the support call to the decorated object 33 ��� should proxy the priority call to the decorated object 39 ��� should proxy the generate call to the decorated object 50 ��� should dispatch an event when a file is created 64 ��� should dispatch an event with the spec path when a spec is created 78 ��� should check that the file was created 93 ��� should not dispatch an event if the file was not created 106 ��� should not dispatch an event if the file already existed PhpSpec\CodeGenerator\Generator\OneTimeGenerator 16 ��� is a Generator 21 ��� supports the same generator as its parent 28 ��� has the same priority as its parent 35 ��� calls the parent generate method just once for the same classname 45 ��� calls the parent generate method once per each classname PhpSpec\CodeGenerator\Generator\ReturnConstantGenerator 19 ��� is a generator 24 ��� supports returnConstant generation 29 ��� does not support anything else 34 ��� its priority is 0 PhpSpec\CodeGenerator\Generator\SpecificationGenerator 21 ��� is a generator 26 ��� supports specification generations 31 ��� does not support anything else 36 ��� its priority is 0 41 ��� generates spec class from resource and puts it into appropriate folder 68 ��� uses template provided by templating system if there is one 95 ��� creates folder for spec if needed 112 ��� asks confirmation if spec already exists PhpSpec\CodeGenerator\Generator\ValidateClassNameSpecificationGenerator 22 ��� is initializable (52ms) 27 ��� supports generation when original generator supports it 36 ��� does not support generation when original generator doesnt 45 ��� delegates generation to original generator for valid class name 59 ��� prints error and skips generation for invalid class name PhpSpec\CodeGenerator\GeneratorManager 13 ��� uses registered generators to generate code 24 ��� chooses generator by priority 42 ��� throws exception if no generator found PhpSpec\CodeGenerator\TemplateRenderer 17 ��� does not have registered locations by default 22 ��� has locations setter 28 ��� provides a method to prepend location 36 ��� provides a method to append location 44 ��� normalizes locations 54 ��� reads existing file from registered location 63 ��� reads existing file from first registered location 75 ��� replaces placeholders in template with provided values 86 ��� can render template from string 94 ��� returns empty string if template is not found in any registered locations PhpSpec\CodeGenerator\Writer\TokenizedCodeWriter 17 ��� should write the content after the last method 26 ��� should write the content before the first method 35 ��� should write a method after another method 44 ��� should handle no methods when writing method at end 53 ��� should handle no methods when writing method at start 62 ��� should throw an exception if a specific method is not found 71 ��� should generate a method in a class with a string containing braces PhpSpec\Config\OptionsConfig 10 ��� says rerun is enabled when setting is true 17 ��� says rerun is not enabled when setting is false 24 ��� says faking is enabled when setting is true 31 ��� says faking is not enabled when setting is false 38 ��� says bootstrap path is false when setting is false 45 ��� returns bootstrap path when one is specified 52 ��� returns verbose when setting is true 59 ��� returns verbose when setting is false PhpSpec\Console\Application 15 ��� is initializable PhpSpec\Console\ConsoleIO 28 ��� has io interface 33 ��� is code generation ready if no input config says otherwise 38 ��� is not code generation ready if input is not interactive 45 ��� is not code generation ready if command line option is set 52 ��� is not code generation ready if config option is set 59 ��� will not stop on failure if no input config says otherwise 64 ��� will stop on failure if command line option is set 71 ��� will stop on failure if config option is set 78 ��� will enable rerunning if command line option is not set and config doesnt disallow 86 ��� will disable rerunning if command line option is set 94 ��� will disable rerunning if config option is set 102 ��� will disable faking if command line option and config flag are not set 110 ��� will enable faking if command line option is set 118 ��� will enable faking if config flag is set 126 ��� will report no bootstrap when there is none 134 ��� will report bootstrap path when one is in the config file 142 ��� will report bootstrap path when one is specified at the command line 150 ��� will report bootstrap path from cli when different paths are specified in config and cli 158 ��� defaults the block width 163 ��� sets the block width to the minimum when terminal is narrow 170 ��� sets the block width to the maximum when terminal is very wide 177 ��� sets the block width to narrower than the terminal width when terminal is in range 184 ��� writes a message about broken code 194 ��� wraps long broken message 205 ��� indents and wraps long broken message 216 ��� will report verbose if config flag is set and console setted to quiet 224 ��� will report verbose if config flag is set and console setted to normal 234 ��� will not report verbose if config flag is not set and console setted to quiet 244 ��� will not report verbose if config flag is not set and console setted to normal 254 ��� will report verbose if config flag is not set but console setted to verbose 264 ��� will report verbose if config flag is not set but console setted to very verbose 274 ��� will report verbose if config flag is not set but console setted to debug PhpSpec\Console\Provider\NamespacesAutocompleteProvider 19 ��� returns empty array if nothing found 28 ��� returns namespaces from php files (61ms) PhpSpec\Console\ResultConverter 11 ��� converts passed result code into 0 16 ��� converts skipped result code into 0 21 ��� converts pending result code into 1 26 ��� converts failed result code into 1 31 ��� converts broken result code into 1 PhpSpec\Event\ExampleEvent 23 ��� is an event 29 ��� provides a link to example 34 ��� provides a link to specification 39 ��� provides a link to suite 44 ��� provides a link to time 49 ��� provides a link to result 54 ��� provides a link to exception 59 ��� initializes a default result 66 ��� initializes a default time PhpSpec\Event\ExpectationEvent 27 ��� is an event 33 ��� provides a link to matcher 38 ��� provides a link to example 43 ��� provides a link to specification 48 ��� provides a link to suite 53 ��� provides a link to subject 58 ��� provides a link to method 63 ��� provides a link to arguments 68 ��� provides a link to result 73 ��� provides a link to exception 78 ��� initializes a default result PhpSpec\Event\FileCreationEvent 17 ��� should be a symfony event 22 ��� should be a phpspec event 27 ��� should return the created file path PhpSpec\Event\MethodCallEvent 26 ��� is an event 32 ��� provides a link to example 37 ��� provides a link to specification 42 ��� provides a link to suite 47 ��� provides a link to subject 52 ��� provides a link to method 57 ��� provides a link to arguments 62 ��� provides a link to return value PhpSpec\Event\SpecificationEvent 20 ��� is an event 26 ��� provides a link to suite 31 ��� provides a link to specification 36 ��� provides a link to time 41 ��� provides a link to result 46 ��� initializes a default result 53 ��� initializes a default time PhpSpec\Event\SuiteEvent 17 ��� is an event 23 ��� provides a link to suite 28 ��� provides a link to time 33 ��� provides a link to result 38 ��� defaults to saying suite is not worth rerunning 43 ��� can be told that the suite is worth rerunning 49 ��� can be told that the suite is no longer worth rerunning 57 ��� initializes a default result 64 ��� initializes a default time PhpSpec\Exception\ErrorException 17 ��� is an exception 22 ��� its message is the same as the errors 27 ��� its code is the same as the errors 32 ��� its previous is the error 37 ��� its line is the same as the errors PhpSpec\Exception\Example\NotEqualException 14 ��� is failure 19 ��� provides a link to expected 24 ��� provides a link to actual PhpSpec\Exception\Example\StopOnFailureException 16 ��� is an example exception 21 ��� has a the result of the last spec PhpSpec\Exception\ExceptionFactory 26 ��� creates a named constructor not found exception 41 ��� creates a method not found exception 56 ��� creates a method not visible exception 72 ��� creates a class not found exception 85 ��� creates a property not found exception 99 ��� creates a calling method on non object exception 110 ��� creates a setting property on non object exception 121 ��� creates an accessing property on non object exception PhpSpec\Exception\Exception 11 ��� extends basic exception 16 ��� could have a cause PhpSpec\Exception\Fracture\ClassNotFoundException 14 ��� is fracture 19 ��� provides a link to classname PhpSpec\Exception\Fracture\InterfaceNotImplementedException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to interface PhpSpec\Exception\Fracture\MethodNotFoundException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to methodName 29 ��� provides a link to arguments PhpSpec\Exception\Fracture\MethodNotVisibleException 15 ��� is fracture 20 ��� provides a link to subject 25 ��� provides a link to methodName 30 ��� provides a link to arguments PhpSpec\Exception\Fracture\NamedConstructorNotFoundException 15 ��� is fracture 20 ��� provides a link to subject 25 ��� provides a link to methodName 30 ��� provides a link to arguments PhpSpec\Exception\Fracture\PropertyNotFoundException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to property PhpSpec\Exception\Wrapper\InvalidCollaboratorTypeException 16 ��� is initializable 22 ��� generates correct message based on function and parameter 35 ��� sets cause PhpSpec\Formatter\BasicFormatter 21 ��� is an event subscriber (66ms) 26 ��� returns a list of subscribed events PhpSpec\Formatter\DotFormatter 43 ��� is a console formatter (52ms) 48 ��� outputs a dot for a passed example (62ms) 61 ��� outputs a p for a pending example (62ms) 74 ��� outputs an s for a skipped example (62ms) 87 ��� outputs an f for a failed example (62ms) 100 ��� outputs a b for a broken example (62ms) 113 ��� outputs the progress every 50 examples (85ms) 133 ��� outputs exceptions for failed examples (94ms) 176 ��� outputs a suite summary (97ms) PhpSpec\Formatter\Html\HtmlIO PhpSpec\Formatter\Html\ReportFailedItem 28 ��� writes a fail message for a failing example PhpSpec\Formatter\Html\ReportItemFactory 19 ��� creates a ReportPassedItem 25 ��� creates a ReportPendingItem 31 ��� creates a ReportFailedItem 37 ��� creates a ReportBrokenItem PhpSpec\Formatter\Html\ReportPassedItem 21 ��� writes a pass message for a passing example PhpSpec\Formatter\Html\ReportPendingItem 21 ��� writes a pass message for a passing example PhpSpec\Formatter\Html\Template 17 ��� renders the string as is 24 ��� renders a variable 30 ��� works for many instances of vars 39 ��� renders a file PhpSpec\Formatter\HtmlFormatter 24 ��� is an event subscriber 29 ��� delegates the reporting to the event type line reporter PhpSpec\Formatter\JUnitFormatter 26 ��� is an event subscriber 31 ��� stores a testcase node after passed example run (52ms) 50 ��� stores a testcase node after broken example run (52ms) 79 ��� stores a testcase node after failed example run (52ms) 108 ��� stores a testcase node after skipped example run (53ms) 133 ��� aggregates testcase nodes and store them after specification run 169 ��� aggregates testsuite nodes and display them after suite run PhpSpec\Formatter\Presenter\Differ\ArrayEngine 10 ��� is a diff engine 15 ��� supports arrays 20 ��� does not support anything else PhpSpec\Formatter\Presenter\Differ\Differ 10 ��� chooses proper engine based on values 28 ��� returns null if engine not found 33 ��� its constructor allows a list of engines PhpSpec\Formatter\Presenter\Differ\ObjectEngine 17 ��� is a differ engine 22 ��� does not support scalars 27 ��� only supports objects 32 ��� converts objects to string and diffs the result PhpSpec\Formatter\Presenter\Differ\StringEngine 10 ��� is a diff engine 15 ��� supports string values 20 ��� calculates strings diff PhpSpec\Formatter\Presenter\Exception\CallArgumentsPresenter 21 ��� should return empty string if there are no method prophecies 33 ��� should return empty string if method prophecies all contain calls (63ms) 49 ��� should return empty string if argument counts do not match (56ms) PhpSpec\Formatter\Presenter\Exception\GenericPhpSpecExceptionPresenter 16 ��� is a phpspec exception presenter PhpSpec\Formatter\Presenter\Exception\HtmlPhpSpecExceptionPresenter 10 ��� is a phpspec exception presenter PhpSpec\Formatter\Presenter\Exception\SimpleExceptionElementPresenter 17 ��� is an exception element presenter 22 ��� should return a simple exception thrown message 29 ��� should present a code line 34 ��� should present a highlighted line unchanged 39 ��� should present the header of an exception trace unchanged 44 ��� should present every argument in an exception trace method as a value 53 ��� should present an exception trace method 62 ��� should present every argument in an exception trace function as a value 71 ��� should present an exception trace function PhpSpec\Formatter\Presenter\Exception\SimpleExceptionPresenter 26 ��� is an exception presenter PhpSpec\Formatter\Presenter\Exception\TaggingExceptionElementPresenter 18 ��� is an exception element presenter 23 ��� should tag an exception thrown message 31 ��� should present a tagged code line 36 ��� should present a tagged highlighted line 41 ��� should present a tagged header of an exception trace 46 ��� should present a tagged exception trace method 57 ��� should present a tagged exception trace function PhpSpec\Formatter\Presenter\SimplePresenter 28 ��� is a presenter 33 ��� returns a string unchanged 39 ��� should be a proxy for an exception presenter 47 ��� should be a proxy for a value presenter PhpSpec\Formatter\Presenter\TaggingPresenter 16 ��� is a presenter 21 ��� should tag strings 26 ��� should tag values from the decorated presenter 32 ��� should return presented exceptions from the decorated presenter unchanged PhpSpec\Formatter\Presenter\Value\ArrayTypePresenter 10 ��� is a type presenter 15 ��� should support array values 20 ��� should present an empty array as a string 25 ��� should present a populated array as a string PhpSpec\Formatter\Presenter\Value\BaseExceptionTypePresenter 11 ��� is a type presenter 16 ��� should support exceptions 21 ��� should present an exception as a string 27 ��� should present an error as a string PhpSpec\Formatter\Presenter\Value\BooleanTypePresenter 10 ��� is a type presenter 15 ��� should support boolean values 21 ��� should present a true boolean as a string 26 ��� should present a false boolean as a string PhpSpec\Formatter\Presenter\Value\CallableTypePresenter 16 ��� is a type presenter 21 ��� should support callable values 26 ��� should present a closure 31 ��� should present function callable as string 36 ��� should present a method as string 47 ��� should present a magic method as string 58 ��� should present a static method as string 65 ��� should present a static magic method as string 72 ��� should present an invokable object as string PhpSpec\Formatter\Presenter\Value\ComposedValuePresenter 11 ��� is a value presenter 16 ��� should accept a type presenter 21 ��� should call supports on value presenters until one returns true 42 ��� should order presenters by their priority in descending order 60 ��� should call present on a supporting type presenter 71 ��� should return the type presenter presented value 83 ��� returns a default when no type presenters support the value 88 ��� should present a simple type as typed value PhpSpec\Formatter\Presenter\Value\NullTypePresenter 10 ��� is a type presenter 15 ��� should support null values 20 ��� should present null as a string PhpSpec\Formatter\Presenter\Value\ObjectTypePresenter 10 ��� is a type presenter 15 ��� should support object values 20 ��� should present an object as a string PhpSpec\Formatter\Presenter\Value\QuotingStringTypePresenter 10 ��� is a string type presenter 15 ��� should support string values 21 ��� should present a string as a quoted string PhpSpec\Formatter\Presenter\Value\TruncatingStringTypePresenter 16 ��� is a string type presenter 21 ��� should support string values 27 ��� should pass short values directly to the decorated string type presenter 34 ��� should return long values truncated 42 ��� presents only first line of multiline string PhpSpec\Formatter\ProgressFormatter 22 ��� is an event subscriber 27 ��� outputs progress as 0 when 0 examples have run (64ms) 49 ��� outputs progress as 0 when 0 examples have passed (64ms) 71 ��� outputs progress as 100 when 1 of 3 examples have passed (64ms) 93 ��� outputs progress as 33 when 3 of 3 examples have run and one passed (65ms) PhpSpec\Formatter\TapFormatter 23 ��� is an event subscriber 28 ��� outputs version on beforesuite event 35 ��� outputs plan on aftersuite event (68ms) 48 ��� outputs progress on afterexample event (79ms) 70 ��� outputs failure progress on afterexample event (101ms) 86 ��� outputs skip progress on afterexample event (75ms) 102 ��� outputs todo progress on afterexample event (75ms) 118 ��� outputs broken progress on afterexample event (76ms) 134 ��� outputs undefined progress on afterexample event (75ms) PhpSpec\Listener\ClassNotFoundListener 39 ��� does not prompt for class generation if no exception was thrown (98ms) 49 ��� does not prompt for class generation if non class exception was thrown (68ms) 60 ��� prompts for class generation if prophecy classnotfoundexception was thrown and input is interactive (75ms) 71 ��� prompts for method generation if phpspec classnotfoundexception was thrown and input is interactive (65ms) 82 ��� does not prompt for class generation if input is not interactive (64ms) PhpSpec\Listener\CollaboratorMethodNotFoundListener 37 ��� is an event subscriber (60ms) 42 ��� listens to afterexample events (60ms) 50 ��� does not prompt when no exception is thrown (70ms) 60 ��� prompts the user when a prophecy method exception is thrown (71ms) 73 ��� does not prompt when wrong exception is thrown (70ms) 83 ��� does not prompt when collaborator is not an interface (70ms) 96 ��� does not prompt when code generation is disabled (70ms) 111 ��� does not prompt if it cannot generate the resource (72ms) 126 ��� generates the method signature when user says yes at prompt (72ms) 142 ��� marks the suite as being worth rerunning when generation happens (71ms) 157 ��� warns if a method name is wrong (74ms) 175 ��� prompts and warns when one method name is correct but other reserved (81ms) PhpSpec\Listener\CollaboratorNotFoundListener 35 ��� listens to afterexample and aftersuite events (56ms) 43 ��� prompts to generate missing collaborator (76ms) 55 ��� does not prompt to generate when there was no exception (66ms) 67 ��� does not prompt to generate when there was an exception of the wrong type (70ms) 79 ��� does not prompt when code generation is disabled (66ms) 91 ��� does not prompt when collaborator is in spec namespace (67ms) 103 ��� generates interface when prompt is answered with yes (77ms) 119 ��� does not generate interface when prompt is answered with no (76ms) PhpSpec\Listener\CurrentExampleListener 19 ��� is initializable 24 ��� should implement event subscriber interface 29 ��� should call beforeCurrentExample 39 ��� should call afterCurrentExample 48 ��� should call afterSuiteEvent PhpSpec\Listener\MethodNotFoundListener 39 ��� does not prompt for method generation if no exception was thrown (59ms) 47 ��� does not prompt for method generation if non methodnotfoundexception was thrown (63ms) 57 ��� prompts for method generation if methodnotfoundexception was thrown and input is interactive (70ms) 74 ��� does not prompt for method generation if input is not interactive (69ms) 89 ��� warns when method name is reserved (69ms) 102 ��� prompts and warns when one method name is correct but other reserved (93ms) PhpSpec\Listener\MethodReturnedNullListener 50 ��� is an event listener (75ms) 55 ��� listens to examples to spot failures (75ms) 60 ��� listens to suites to know when to prompt (74ms) 65 ��� listens to method calls to see what has failed (74ms) 70 ��� does not prompt when wrong type of exception is thrown (86ms) 82 ��� does not prompt when actual value is not null (86ms) 96 ��� does not prompt when expected value is an object (86ms) 110 ��� does not prompt if no method was called beforehand (84ms) 118 ��� does not prompt when there is a problem creating the resource (88ms) 132 ��� does not prompt when input is not interactive (86ms) 146 ��� does not prompt when method is not empty (96ms) 161 ��� does not prompt when multiple contradictory examples are found (110ms) 188 ��� does not prompt when io has faking disabled (87ms) 202 ��� prompts when correct type of exception is thrown (87ms) 215 ��� invokes method body generation when prompt is answered yes (90ms) PhpSpec\Listener\NamedConstructorNotFoundListener 38 ��� does not prompt for method generation if no exception was thrown (64ms) 48 ��� does not prompt for method generation if non namedconstructornotfoundexception was thrown (68ms) 59 ��� prompts for method generation if namedconstructornotfoundexception was thrown and input is interactive (85ms) 75 ��� does not prompt for method generation if input is not interactive (130ms) PhpSpec\Listener\RerunListener 18 ��� subscribes to aftersuite 24 ��� does not tell the rerunner to rerun if it is not worth doing so 33 ��� tells the rerunner to rerun if it is worth doing so PhpSpec\Listener\StatisticsCollector 21 ��� is an event listener 26 ��� listens to stats generating events 35 ��� knows no specs have run initially 40 ��� counts how many specs have run 48 ��� knows no examples have run initially 53 ��� counts how many examples have run 61 ��� logs all example events 72 ��� logs all example events by type 80 ��� counts example results by type 96 ��� returns the worst result as the global result 104 ��� records how many specs are in the suite PhpSpec\Listener\StopOnFailureListener 19 ��� is an event subscriber (69ms) 24 ��� does not throw any exception when example succeeds 31 ��� does not throw any exception for unimplemented examples 38 ��� throws an exception when an example fails and option is set 46 ��� does not throw an exception when an example fails and option is not set 53 ��� throws an exception when an example breaks and option is set 61 ��� does not throw an exception when an example breaks and option is not set PhpSpec\Loader\Node\ExampleNode 20 ��� provides a link to title 25 ��� can set a title 33 ��� provides a link to function 38 ��� provides a link to specification 44 ��� is not pending by default 49 ��� is pending after marked as pending with no args 55 ��� is pending after marked as pending with true 61 ��� is not pending after marked as pending with false 67 ��� returns its line number 74 ��� returns its line number as zero if constructed with closure PhpSpec\Loader\Node\SpecificationNode 21 ��� is countable 26 ��� provides a link to title 31 ��� provides a link to class 36 ��� provides a link to resource 41 ��� provides a link to suite 47 ��� provides a link to examples 56 ��� provides a count of examples PhpSpec\Loader\Suite 12 ��� is countable 17 ��� provides a link to specifications 26 ��� provides a count of examples PhpSpec\Loader\Transformer\InMemoryTypeHintIndex 11 ��� is a typehint index 16 ��� is case insensitive 23 ��� remembers the typehints that are added 30 ��� returns false for typehints that have not been added 35 ��� throws invalid argument exceptions PhpSpec\Loader\Transformer\TypeHintRewriter 17 ��� is a transformer 22 ��� delegates transforming to rewriter PhpSpec\Locator\PSR0\PSR0Locator 23 ��� is a locator 28 ��� its priority is zero 33 ��� generates fullSrcPath from srcPath plus namespace 42 ��� generates fullSrcPath from srcPath plus namespace cutting psr4 prefix 51 ��� generates proper fullSrcPath even from empty namespace 58 ��� should not have backslash on missing prefix 67 ��� generates fullSpecPath from specPath plus namespace 76 ��� generates fullSpecPath from specPath plus namespace cutting psr4 prefix 85 ��� generates proper fullSpecPath even from empty src namespace 94 ��� stores srcNamespace it was constructed with 101 ��� trims srcNamespace during construction 108 ��� supports empty namespace argument 115 ��� generates specNamespace using srcNamespace and specPrefix 122 ��� trims specNamespace during construction 129 ��� generates proper specNamespace for empty srcNamespace 136 ��� finds all resources from tracked specPath 152 ��� returns empty array if tracked specPath does not exist 163 ��� supports folder queries in srcPath 170 ��� supports srcPath queries 177 ��� supports file queries in srcPath 186 ��� supports folder queries in specPath 193 ��� supports specPath queries 200 ��� supports file queries in specPath 209 ��� does not support any other queries 216 ��� finds spec resources via srcPath 232 ��� finds spec resources with classname underscores via srcPath 248 ��� finds spec resources via fullSrcPath 264 ��� finds spec resources via specPath 280 ��� finds single spec via srcPath 295 ��� finds single spec via specPath 310 ��� returns empty array if nothing found 320 ��� throws an exception on no class definition 336 ��� does not throw an exception on no class definition if file not suffixed with spec 352 ��� throws an exception when spec class not in the base specs namespace 368 ��� supports classes from srcNamespace 375 ��� supports backslashed classes from srcNamespace 382 ��� supports classes from specNamespace 389 ��� supports backslashed classes from specNamespace 396 ��� supports any class if srcNamespace is empty 403 ��� does not support anything else 410 ��� creates resource from src class 420 ��� creates resource from backslashed src class 430 ��� creates resource from spec class 440 ��� creates resource from backslashed spec class 450 ��� creates resource from src class even if srcNamespace is empty 460 ��� creates resource from spec class with leading backslash 470 ��� throws an exception on non PSR0 resource 482 ��� throws an exception on PSR0 resource with double backslash 494 ��� throws an exception on PSR0 resource with slash on the end 506 ��� throws an exception on PSR0 resource with line breaks at end (108ms) 518 ��� throws an exception on PSR4 prefix not matching namespace 527 ��� supports psr0 namespace queries 534 ��� supports psr0 namespace queries with a namespace prefix 541 ��� supports psr4 namespace queries PhpSpec\Locator\PSR0\PSR0Resource 18 ��� uses last segment as name 23 ��� uses last segment plus Spec suffix as specName 28 ��� is a resource 33 ��� generates src filename from provided parts using locator 40 ��� generates src namespace from provided parts using locator 47 ��� generates proper src namespace even if there is only one part 55 ��� generates src classname from provided parts using locator 62 ��� generates proper src classname for empty locator namespace 69 ��� generates spec filename from provided parts using locator 76 ��� generates spec namespace from provided parts using locator 83 ��� generates proper spec namespace even if there is only one part 91 ��� generates spec classname from provided parts using locator 98 ��� does not split underscores when locator has psr4 prefix PhpSpec\Locator\PrioritizedResourceManager 18 ��� locates resources using all registered locators 36 ��� locates all locators resources if query string is empty 52 ��� returns empty array if registered locators do not support query 62 ��� creates resource from classname using locator with highest priority 76 ��� throws an exception if locators do not support classname 85 ��� does not allow two resources for the same spec 100 ��� uses the resource from the highest priority locator when duplicates occur PhpSpec\Matcher\ApproximatelyMatcher 17 ��� is a matcher 22 ��� supports various aliases 30 ��� matches same float 35 ��� does not match different floats 40 ��� match floats with near float PhpSpec\Matcher\ArrayContainMatcher 20 ��� is a matcher 25 ��� responds to contain 30 ��� matches array with specified value 35 ��� does not match array without specified value 42 ��� matches array without specified value PhpSpec\Matcher\ArrayCountMatcher 23 ��� is a matcher 28 ��� responds to haveCount 33 ��� matches proper array count 38 ��� matches proper countable count 45 ��� does not match wrong array count 51 ��� does not match proper countable count 59 ��� mismatches wrong array count 64 ��� mismatches wrong countable count PhpSpec\Matcher\ArrayKeyMatcher 22 ��� is a matcher 27 ��� responds to haveKey 32 ��� matches array with specified key 37 ��� matches array with specified key even if there is no value 42 ��� matches ArrayObject with provided offset 49 ��� does not match array without specified key 54 ��� does not match ArrayObject without provided offset 61 ��� matches array without specified key 66 ��� matches ArrayObject without specified offset PhpSpec\Matcher\ArrayKeyValueMatcher 32 ��� is a matcher 37 ��� responds to haveKeyWithValue with array subject 42 ��� responds to haveKeyWithValue with array access subject 47 ��� does not respond to haveKeyWithValue with non array subject 52 ��� matches array with correct value for specified key 57 ��� does not match array with wrong value for specified key 62 ��� does not match array with missing key 67 ��� matches ArrayObject with correct value for specified offset 75 ��� does not match ArrayObject with missing key 80 ��� does not match ArrayObject with wrong value for specified offset 88 ��� matches array without specified key 93 ��� matches array with invalid key value 98 ��� matches ArrayObject without specified offset 105 ��� matches ArrayObject with invalid key value PhpSpec\Matcher\CallbackMatcher 20 ��� is a matcher 25 ��� supports same alias it was constructed with 30 ��� does not support anything else 35 ��� matches if callback returns true 42 ��� does not match if callback returns false PhpSpec\Matcher\ComparisonMatcher 20 ��� is a matcher 25 ��� responds to beLike 30 ��� matches empty string using comparison operator 35 ��� matches not empty string using comparison operator 40 ��� matches empty string with emptish values using comparison operator 45 ��� matches zero with emptish values using comparison operator 50 ��� matches null with emptish values using comparison operator 55 ��� matches false with emptish values using comparison operator 60 ��� does not match non empty different value 66 ��� mismatches empty string using comparison operator 72 ��� mismatches not empty string using comparison operator 78 ��� mismatches empty string with emptish values using comparison operator 84 ��� mismatches zero with emptish values using comparison operator 90 ��� mismatches null with emptish values using comparison operator 96 ��� mismatches false with emptish values using comparison operator 102 ��� mismatches on non empty different value PhpSpec\Matcher\IdentityMatcher 20 ��� is a matcher 25 ��� responds to return 30 ��� responds to be 35 ��� responds to equal 40 ��� responds to beEqualTo 45 ��� matches empty strings 50 ��� matches not empty strings 55 ��� does not match empty string with emptish values 61 ��� does not match zero with emptish values 67 ��� does not match null with emptish values 73 ��� does not match false with emptish values 79 ��� does not match non empty different value 85 ��� mismatches empty string 91 ��� mismatches not empty string 97 ��� mismatches empty string with emptish values 102 ��� mismatches zero with emptish values using identity operator 107 ��� mismatches null with emptish values using identity operator 112 ��� mismatches false with emptish values using identity operator 117 ��� mismatches on non empty different value PhpSpec\Matcher\Iterate\IterablesMatcher 26 ��� should throw an invalid argument exception if subject is not iterable 44 ��� should throw an invalid argument exception if expected value is not iterable 62 ��� should throw an exception if subject has less elements than expected 70 ��� should throw an exception if subject has more elements than expected 78 ��� should throw an exception if subject element does not match the expected one 96 ��� should not throw any exception if subject iterates as expected PhpSpec\Matcher\Iterate\SubjectElementDoesNotMatchException 15 ��� is a failure exception 20 ��� has a predefined message PhpSpec\Matcher\Iterate\SubjectHasFewerElementsException 10 ��� is a length exception 15 ��� has a predefined message PhpSpec\Matcher\Iterate\SubjectHasMoreElementsException 10 ��� is a length exception 15 ��� has a predefined message PhpSpec\Matcher\IterateAsMatcher 23 ��� is a matcher 28 ��� responds to iterate 44 ��� positive matches generator while iterating the same 65 ��� does not positive match generator while not iterating the same 104 ��� negative matches generator while not iterating the same 125 ��� does not negative matches generator while iterating the same PhpSpec\Matcher\IterateLikeMatcher 23 ��� is a matcher 28 ��� responds to iterate like 41 ��� positive matches generator while iterating likes 62 ��� does not positive match generator while not iterating the same PhpSpec\Matcher\ObjectStateMatcher 20 ��� is a matcher 25 ��� infers matcher alias name from methods prefixed with is 32 ��� throws exception if checker method not found 40 ��� matches if state checker returns true 47 ��� does not match if state checker returns false 55 ��� infers matcher alias name from methods prefixed with has 62 ��� throws exception if has checker method not found 70 ��� matches if has checker returns true 79 ��� does not match if has state checker returns false 87 ��� does not match if subject is callable 94 ��� does not throw when positive match true 107 ��� does not throw when negative match false PhpSpec\Matcher\ScalarMatcher 21 ��� is a matcher 26 ��� responds to be array 31 ��� matches array 36 ��� does not match not array with be array matcher 41 ��� mismatches not array 46 ��� does not mismatch array 51 ��� responds to be bool 56 ��� matches bool 61 ��� does not match not bool with be bool matcher 66 ��� mismatches not bool 71 ��� does not mismatch bool 76 ��� responds to be boolean 81 ��� matches boolean 86 ��� does not match not boolean 91 ��� mismatches not boolean 96 ��� does not mismatch boolean 101 ��� responds to be callable 106 ��� matches callable 111 ��� does not match not callable 116 ��� mismatches not callable 121 ��� does not mismatch callable 132 ��� responds to be double 137 ��� matches double 142 ��� does not match not double 147 ��� mismatches not double 152 ��� does not mismatches double 157 ��� responds to be float 162 ��� matches float 167 ��� does not match not float 172 ��� mismatches not float 177 ��� does not mismatches float 182 ��� responds to be int 187 ��� matches int 192 ��� does not match not int 197 ��� mismatches not int 202 ��� does not mismatches int 207 ��� responds to be integer 212 ��� matches int with integer matcher 217 ��� does not match not integer match 222 ��� mismatches not integer 227 ��� does not mismatches integer 232 ��� responds to be iterable 237 ��� matches iterable 242 ��� does not match not iterable 247 ��� mismatches not iterable 252 ��� does not mismatches iterable 257 ��� responds to be long 262 ��� matches long 267 ��� does not match not long 272 ��� mismatches not long 277 ��� does not mismatches long 282 ��� responds to be null 287 ��� matches null 292 ��� does not match not null 297 ��� mismatches not null 302 ��� does not mismatches null 307 ��� responds to be numeric 312 ��� matches numeric string 317 ��� matches numeric number 322 ��� does not match not numeric string 327 ��� does not match not numeric 332 ��� mismatches not number 337 ��� does not mismatches number 342 ��� responds to be object 347 ��� matches object 352 ��� does not match not object 357 ��� mismatches not object 362 ��� does not mismatches object 367 ��� responds to be real 372 ��� matches real 377 ��� does not match not real 382 ��� mismatches not real 387 ��� does not mismatches real 392 ��� responds to be resource 397 ��� matches a resource 404 ��� does not match not resource 409 ��� mismatches not resource 414 ��� does not mismatches resource 421 ��� responds to be scalar 426 ��� matches scalar 431 ��� does not match not scalar 436 ��� mismatches not scalar 441 ��� does not mismatches scalar 446 ��� responds to be string 451 ��� matches string 456 ��� does not match not string 461 ��� mismatches not stringt 466 ��� does not mismatches string PhpSpec\Matcher\StartIteratingAsMatcher 23 ��� is a matcher 28 ��� responds to startIterating 43 ��� positive matches generator while starting iterating the same 64 ��� positive matches infinite generator while starting iterating the same 76 ��� does not positive match generator while not starting iterating the same 88 ��� negative matches generator while not starting iterating the same 109 ��� negative matches infinite generator while not starting iterating the same 121 ��� does not negative matches generator while starting iterating the same PhpSpec\Matcher\StringContainMatcher 29 ��� is a matcher 34 ��� supports contain keyword string subject and argument 39 ��� does not support non string keyword 44 ��� does not support missing argument 49 ��� does not support non string argument 54 ��� matches strings that contain specified substring 59 ��� does not match strings that do not contain specified substring 64 ��� matches strings that do not contain specified substring 69 ��� does not match strings that do contain specified substring PhpSpec\Matcher\StringEndMatcher 19 ��� is a matcher 24 ��� supports endWith keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that end with specified suffix 39 ��� does not match strings that do not end with specified suffix 44 ��� matches strings that do not end with specified suffix 49 ��� does not match strings that do end with specified suffix PhpSpec\Matcher\StringRegexMatcher 19 ��� is a matcher 24 ��� supports match keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that match specified regex 39 ��� does not match strings that do not match specified regex 44 ��� matches strings that do not match specified regex 49 ��� does not match strings that do match specified regex PhpSpec\Matcher\StringStartMatcher 19 ��� is a matcher 24 ��� supports startWith keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that start with specified prefix 39 ��� does not match strings that do not start with specified prefix 44 ��� matches strings that do not start with specified prefix 49 ��� does not match strings that do start with specified prefix PhpSpec\Matcher\ThrowMatcher 22 ��� supports the throw alias for object and exception name 27 ��� accepts a method during which an exception should be thrown 34 ��� accepts a method during which an error specified by class name should be thrown 41 ��� accepts a method during which an error specified by instance should be thrown 50 ��� accepts a method during which an exception should not be thrown 55 ��� accepts a method during which an error should not be thrown 60 ��� throws a failure exception with the thrown exceptions message if a positive match failed (22333ms) PhpSpec\Matcher\TraversableContainMatcher 20 ��� is a matcher 25 ��� responds to contain 30 ��� positive matches generator with specified value 38 ��� does not positive match generator without specified value 46 ��� negative matches generator without specified value 54 ��� does not negative matches generator with specified value PhpSpec\Matcher\TraversableCountMatcher 21 ��� is a matcher 26 ��� responds to haveCount 31 ��� positive matches proper generator count 39 ��� does not positive match infinite generator 47 ��� does not positive match wrong generator count 60 ��� negative matches wrong generator count 68 ��� negative matches infinite generator 76 ��� does not negative match proper generator count PhpSpec\Matcher\TraversableKeyMatcher 20 ��� is a matcher 25 ��� responds to haveKey 30 ��� positive matches generator with specified key 38 ��� does not positive match generator without specified key 46 ��� negative matches generator without specified key 54 ��� does not negative matches generator with specified key PhpSpec\Matcher\TraversableKeyValueMatcher 20 ��� is a matcher 25 ��� responds to haveKeyWithValue 30 ��� positive matches generator with specified key and value 38 ��� does not positive match generator without specified key and value 56 ��� negative matches generator without specified key and value 64 ��� does not negative matches generator with specified key and value PhpSpec\Matcher\TriggerMatcher 19 ��� supports the trigger alias for object and exception name 24 ��� accepts a method during which an error should be triggered 31 ��� accepts a method during which any error should be triggered 38 ��� accepts a method during which an error should not be triggered 43 ��� accepts a method during which any error should not be triggered PhpSpec\Matcher\TypeMatcher 23 ��� is a matcher 28 ��� responds to beAnInstanceOf 33 ��� responds to returnAnInstanceOf 38 ��� responds to haveType 43 ��� matches subclass instance 49 ��� matches interface instance 55 ��� does not match wrong class 62 ��� does not match wrong interface 69 ��� matches other class 74 ��� matches other interface PhpSpec\Process\Context\JsonExecutionContext 15 ��� is an execution context 20 ��� contains no generated classes when created 25 ��� remembers what classes were generated 32 ��� can be serialized as env array PhpSpec\Process\Prerequisites\SuitePrerequisites 16 ��� does nothing when types exist 23 ��� throws execption when types do not exist PhpSpec\Process\ReRunner\CompositeReRunner 25 ��� is a rerunner 30 ��� invokes the first supported child to rerun the suite even if later children are supported 44 ��� skips early child if it is not supported and invokes runsuite on later supported child PhpSpec\Process\ReRunner\OptionalReRunner 17 ��� reruns the suite if it is enabled in the config 26 ��� does not rerun the suite if it is disabled in the config PhpSpec\Process\ReRunner\PcntlReRunner 17 ��� is a rerunner 22 ��� is not supported when php process is not found PhpSpec\Process\ReRunner\ProcOpenReRunner 28 ��� is a rerunner 33 ��� is not supported when php process is not found PhpSpec\Process\ReRunner\WindowsPassthruRerunner 28 ��� is a rerunner 33 ��� is not supported when php process is not found PhpSpec\Process\Shutdown\Shutdown 11 ��� has type shutdown 16 ��� runs through all registered actions PhpSpec\Process\Shutdown\UpdateConsoleAction 18 ��� should update the console PhpSpec\Runner\CollaboratorManager 21 ��� stores collaborators by name 27 ��� provides a method to check if collaborator exists 35 ��� throws CollaboratorException on attempt to get unexisting collaborator 41 ��� creates function arguments for ReflectionFunction 55 ��� creates null function arguments for ReflectionFunction if no collaborator found PhpSpec\Runner\ExampleRunner 32 ��� executes example in newly created context 43 ��� dispatches ExampleEvent with pending status if example is pending (64ms) 56 ��� dispatches ExampleEvent with failed status if matcher throws exception (63ms) 74 ��� dispatches ExampleEvent with failed status if example throws exception (63ms) 91 ��� dispatches ExampleEvent with failed status if example throws an error (63ms) 108 ��� runs all supported maintainers before and after each example (56ms) 126 ��� runs let and letgo maintainer before and after each example if the example throws an exception (60ms) PhpSpec\Runner\Maintainer\ErrorMaintainer 16 ��� is initializable 21 ��� return false when error suppresed or no error reporting 28 ��� return true when recoverable level and message match 34 ��� throws error exception when message not match PhpSpec\Runner\Maintainer\MatchersMaintainer 16 ��� should add default matchers to the matcher manager PhpSpec\Runner\MatcherManager 20 ��� searches in registered matchers 29 ��� searches matchers by their priority 43 ��� throws MatcherNotFoundException if matcher not found PhpSpec\Runner\SpecificationRunner 21 ��� passes each specification example to ExampleRunner (231ms) 33 ��� returns examples max resultCode (136ms) 45 ��� returns 0 resultCode if no examples found 52 ��� dispatches SpecificationEvent before and after examples run PhpSpec\Runner\SuiteRunner 25 ��� runs all specs in the suite through the specrunner (245ms) 35 ��� stops running subsequent specs when a spec throws a StopOnFailureException (111ms) 44 ��� returns a successful result when all specs in suite pass (142ms) 52 ��� returns a broken result when one spec is broken (142ms) 60 ��� returns a failed result when one spec failed (142ms) 68 ��� dispatches events before and after the suite (150ms) 84 ��� dispatches afterSuite event with result and time PhpSpec\ServiceContainer\IndexedServiceContainer 9 ��� stores parameters 15 ��� returns null value for unexisting parameter 20 ��� returns custom default for unexisting parameter if provided 25 ��� stores services 31 ��� knows when services are not defined 36 ��� knows when services are defined 42 ��� returns nothing when no services are tagged 47 ��� returns services which are set using tags 54 ��� returns services which are defined using tags 61 ��� throws exception when trying to get unexisting service 66 ��� evaluates factory function only once for shared services 75 ��� uses new definition when a service is redefined 87 ��� does not evaluate callables that are set 93 ��� provides a way to remove service by key 101 ��� supports custom service configurators PhpSpec\Specification\ErrorSpecification 11 ��� is a specification PhpSpec\Util\ClassFileAnalyser 10 ��� should return the line number of the start of the first method 16 ��� should detect if class has a method 22 ��� should detect if class has no methods 28 ��� should return the line number of the end of the named method 34 ��� should return the line number of the end of the last method PhpSpec\Util\ClassNameChecker 12 ��� should be name checker 17 ��� treats normal class name as valid 22 ��� treats class name with reserved keyword chunk in the middle as invalid 27 ��� treats class name with reserved keyword chunk on the left side as invalid 32 ��� treats class name without namespace using reserved keywords as invalid 37 ��� detects invalid class name in any letter case PhpSpec\Util\Instantiator 10 ��� creates an instance 16 ��� creates an instance ignoring constructor 22 ��� creates an instance with properties 28 ��� complains if class does not exist PhpSpec\Util\MethodAnalyser 10 ��� identifies empty methods as empty 16 ��� identifies commented methods as empty 21 ��� identifies methods with code as not empty 26 ��� identifies methods without standard braces as non empty 34 ��� identifies internal classes as non empty 39 ��� identifies methods from traits 45 ��� finds the real declaring class of a method PhpSpec\Util\ReservedWordsMethodNameChecker 9 ��� is restriction provider 14 ��� returns true for not php restricted name 19 ��� returns false for halt compiler function PhpSpec\Wrapper\Subject\Caller 37 ��� dispatches method call events (119ms) 58 ��� sets a property on the wrapped object (120ms) 85 ��� proxies method calls to wrapped object (118ms) 98 ��� delegates throwing class not found exception (109ms) 114 ��� delegates throwing method not found exception (122ms) 140 ��� delegates throwing method not found exception for constructor (113ms) 163 ��� delegates throwing named constructor not found exception (110ms) 187 ��� delegates throwing method not visible exception (121ms) 213 ��� delegates throwing property not found exception (120ms) 237 ��� delegates throwing calling method on non object exception (108ms) 249 ��� delegates throwing setting property on non object exception (107ms) 260 ��� delegates throwing getting property on non object exception (107ms) PhpSpec\Wrapper\Subject\Expectation\ConstructorDecorator 19 ��� rethrows php errors as phpspec error exceptions (77ms) 25 ��� rethrows fracture errors as phpspec error exceptions (76ms) 31 ��� ignores any other exception (76ms) PhpSpec\Wrapper\Subject\Expectation\Decorator 19 ��� returns the decorated expectation 24 ��� keeps looking for nested expectations PhpSpec\Wrapper\Subject\Expectation\DispatcherDecorator 22 ��� implements the interface of the decorated 27 ��� dispatches before and after events 38 ��� decorates expectation with failed event 52 ��� decorates expectation with broken event PhpSpec\Wrapper\Subject\Expectation\Negative 18 ��� calls a negative match on matcher PhpSpec\Wrapper\Subject\Expectation\Positive 16 ��� calls a positive match on matcher PhpSpec\Wrapper\Subject\ExpectationFactory 21 ��� creates positive expectations (86ms) 32 ��� creates negative expectations (84ms) 43 ��� creates positive throw expectations (85ms) 53 ��� creates negative throw expectations (83ms) 63 ��� creates positive trigger expectations (84ms) 73 ��� creates negative trigger expectations (85ms) PhpSpec\Wrapper\Subject\WrappedObject 18 ��� instantiates object using classname 24 ��� keeps instantiated object 30 ��� can be instantiated with a factory method 42 ��� can be instantiated with a factory method with method name only 55 ��� throws an exception when factory method returns a non object 64 ��� throws an exception when trying to change constructor params after instantiation 73 ��� throws an exception when trying to change factory method after instantiation 83 ��� throws an exception when trying to change from constructor to factory method after instantiation 93 ��� throws an exception when trying to change from factory method to constructor after instantiation PhpSpec\Wrapper\Subject 32 ��� passes the created subject to expectation (62ms) 43 ��� passes the existing subject to expectation (61ms) 151 specs 979 examples (979 passed) 44141ms + php /usr/bin/phpunit6 --verbose --bootstrap /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/php/PhpSpec/autoload.php PHPUnit 6.5.13 by Sebastian Bergmann and contributors. Runtime: PHP 7.2.13 Configuration: /builddir/build/BUILD/phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f/phpunit.xml ... 3 / 3 (100%) Time: 307 ms, Memory: 4.00MB OK (3 tests, 4 assertions) + for cmd in php php71 php72 php73 + which php71 which: no php71 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin:/builddir/.local/bin:/builddir/bin) + for cmd in php php71 php72 php73 + which php72 which: no php72 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin:/builddir/.local/bin:/builddir/bin) + for cmd in php php71 php72 php73 + which php73 which: no php73 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin:/builddir/.local/bin:/builddir/bin) + exit 0 Processing files: php-phpspec-5.1.0-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Awaz3T + umask 022 + cd /builddir/build/BUILD + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + DOCDIR=/builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/doc/php-phpspec-5.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/doc/php-phpspec-5.1.0 + cp -pr README.rst /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/doc/php-phpspec-5.1.0 + cp -pr CHANGES.md /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/doc/php-phpspec-5.1.0 + cp -pr composer.json /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/doc/php-phpspec-5.1.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kUrnRj + umask 022 + cd /builddir/build/BUILD + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + LICENSEDIR=/builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/licenses/php-phpspec-5.1.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/licenses/php-phpspec-5.1.0 + cp -pr LICENSE /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch/usr/share/licenses/php-phpspec-5.1.0 + exit 0 Provides: php-composer(phpspec/phpspec) = 5.1.0 php-phpspec = 5.1.0-3.el7 phpspec = 5.1.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch Wrote: /builddir/build/RPMS/php-phpspec-5.1.0-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Hs09H4 + umask 022 + cd /builddir/build/BUILD + cd phpspec-4badea737c34a6c8e2921fca0f6a1cbe4f724f2f + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-phpspec-5.1.0-3.el7.noarch + exit 0 Child return code was: 0