Did a clean clone and ran tests, got bunch of errors:
$ php7.1 vendor/bin/phpunit
PHPUnit 7.2.4 by Sebastian Bergmann and contributors.
Warning - The configuration file did not pass validation!
The following problems have been detected:
Line 12:
- Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.
Test results may not be as expected.
...........REEEEE.........S...................... 49 / 49 (100%)
Time: 210 ms, Memory: 20.00MB
There were 5 errors:
1) Doctrine\Tests\Common\DataFixtures\Executor\PHPCRExecutorTest::testExecuteSingleFixtureWithNoPurge
TypeError: Argument 1 passed to Doctrine\Common\DataFixtures\Executor\PHPCRExecutor::__construct() must be an instance of Doctrine\ODM\PHPCR\DocumentManagerInterface, instance of Mock_DocumentManager_f11087ce given, called in /www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php on line 24
/www/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:25
/www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php:24
2) Doctrine\Tests\Common\DataFixtures\Executor\PHPCRExecutorTest::testExecuteMultipleFixturesWithNoPurge
TypeError: Argument 1 passed to Doctrine\Common\DataFixtures\Executor\PHPCRExecutor::__construct() must be an instance of Doctrine\ODM\PHPCR\DocumentManagerInterface, instance of Mock_DocumentManager_f11087ce given, called in /www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php on line 42
/www/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:25
/www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php:42
3) Doctrine\Tests\Common\DataFixtures\Executor\PHPCRExecutorTest::testExecuteFixtureWithPurge
TypeError: Argument 1 passed to Doctrine\Common\DataFixtures\Executor\PHPCRExecutor::__construct() must be an instance of Doctrine\ODM\PHPCR\DocumentManagerInterface, instance of Mock_DocumentManager_f11087ce given, called in /www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php on line 63
/www/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:25
/www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php:63
4) Doctrine\Tests\Common\DataFixtures\Executor\PHPCRExecutorTest::testExecuteFixtureWithoutPurge
TypeError: Argument 1 passed to Doctrine\Common\DataFixtures\Executor\PHPCRExecutor::__construct() must be an instance of Doctrine\ODM\PHPCR\DocumentManagerInterface, instance of Mock_DocumentManager_f11087ce given, called in /www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php on line 83
/www/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:25
/www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php:83
5) Doctrine\Tests\Common\DataFixtures\Executor\PHPCRExecutorTest::testFailedTransactionalStopsPurgingAndFixtureLoading
TypeError: Argument 1 passed to Doctrine\Common\DataFixtures\Executor\PHPCRExecutor::__construct() must be an instance of Doctrine\ODM\PHPCR\DocumentManagerInterface, instance of Mock_DocumentManager_f11087ce given, called in /www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php on line 103
/www/doctrine/data-fixtures/lib/Doctrine/Common/DataFixtures/Executor/PHPCRExecutor.php:25
/www/doctrine/data-fixtures/tests/Doctrine/Tests/Common/DataFixtures/Executor/PHPCRExecutorTest.php:103
--
There was 1 risky test:
1) Doctrine\Tests\Common\DataFixtures\Executor\ORMExecutorTest::testExecuteTransaction
This test did not perform any assertions
ERRORS!
Tests: 49, Assertions: 111, Errors: 5, Skipped: 1, Risky: 1.
Deps:
$ cm show
doctrine/annotations v1.6.0 Docblock Annotations Parser
doctrine/cache v1.7.1 Caching library offering an object-oriented API for many cache backends
doctrine/collections v1.5.0 Collections Abstraction library
doctrine/common v2.8.1 Common Library for Doctrine projects
doctrine/dbal v2.7.1 Database Abstraction Layer
doctrine/inflector v1.3.0 Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator 1.1.0 A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer v1.0.1 Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
doctrine/orm v2.6.1 Object-Relational-Mapper for PHP
myclabs/deep-copy 1.8.1 Create deep copies (clones) of your objects
phar-io/manifest 1.0.1 Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version 1.0.1 Library for handling version information and constraints
phpdocumentor/reflection-common 1.0.1 Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock 4.3.0 With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is...
phpdocumentor/type-resolver 0.4.0
phpspec/prophecy 1.7.6 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 6.0.7 Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator 2.0.1 FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 2.0.0 Utility class for timing
phpunit/php-token-stream 3.0.0 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 7.2.4 The PHP Unit Testing framework.
sebastian/code-unit-reverse-lookup 1.0.1 Looks up which function or method a line of code belongs to
sebastian/comparator 3.0.1 Provides the functionality to compare PHP values for equality
sebastian/diff 3.0.1 Diff implementation
sebastian/environment 3.1.0 Provides functionality to handle HHVM/PHP environments
sebastian/exporter 3.1.0 Provides the functionality to export PHP variables for visualization
sebastian/global-state 2.0.0 Snapshotting of global state
sebastian/object-enumerator 3.0.3 Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector 1.1.1 Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context 3.0.0 Provides functionality to recursively process PHP variables
sebastian/resource-operations 1.0.0 Provides a list of PHP built-in functions that operate on resources
sebastian/version 2.0.1 Library that helps with managing the version number of Git-hosted PHP projects
symfony/console v4.1.0 Symfony Console Component
symfony/polyfill-mbstring v1.8.0 Symfony polyfill for the Mbstring extension
theseer/tokenizer 1.1.0 A small library for converting tokenized PHP source code into XML and potentially other formats
webmozart/assert 1.3.0 Assertions to validate method input/output with nice error messages.
Looking at .travis.yml, some dependencies are missing in require-dev: explicitly running composer require jackalope/jackalope-doctrine-dbal doctrine/phpcr-odm fixed the errors, leaving only the risky test.
Did a clean clone and ran tests, got bunch of errors:
Deps:
Looking at .travis.yml, some dependencies are missing in require-dev: explicitly running
composer require jackalope/jackalope-doctrine-dbal doctrine/phpcr-odm
fixed the errors, leaving only the risky test.