forked from Kdyby/Doctrine
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nette 2.4 a 3.0 #5
Draft
Jakub-Fajkus
wants to merge
47
commits into
master
Choose a base branch
from
nette-24-a-30-vol2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…a 3.0 neprochazi porad 2 stejne testy: PHP 7.4.10 (cli) | php -n -c /var/www/html/tests/php.ini-unix | 8 threads .....................F.............................F.......................................................................................................................................................... -- FAILED: Kdyby\Doctrine\DqlSelection. | DqlSelection.phpt method=testSetParameter Failed: Doctrine\ORM\Query\Parameter(#1cb0) should be equal to Doctrine\ORM\Query\Parameter(#2bfe) in testSetParameter() diff '/var/www/html/tests/KdybyTests/Doctrine/output/DqlSelection.[method=testSetParameter].expected' '/var/www/html/tests/KdybyTests/Doctrine/output/DqlSelection.[method=testSetParameter].actual' in KdybyTests/Doctrine/DqlSelection.phpt(469) Assert::equal($parameter, $qb->getParameter('id')); in src/Framework/TestCase.php(150) KdybyTests\Doctrine\DqlSelectionTest->testSetParameter() in src/Framework/TestCase.php(51) Tester\TestCase->runTest() in KdybyTests/Doctrine/DqlSelection.phpt(853) Tester\TestCase->run() -- FAILED: Kdyby\Doctrine\Connection. | Connection.phpt method=testPing Exited with error code 255 (expected 0) Doctrine\DBAL\Exception\DriverException: An exception occurred in driver: could not find driver in DBAL/Driver/AbstractMySQLDriver.php(110) in Doctrine/DBAL/DBALException.php(172) Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() in Doctrine/DBAL/DBALException.php(159) Doctrine\DBAL\DBALException::wrapException() in Driver/PDOMySql/Driver.php(28) Doctrine\DBAL\DBALException::driverException() in Doctrine/DBAL/Connection.php(362) Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in Kdyby/Doctrine/Connection.php(287) Doctrine\DBAL\Connection->connect() in Doctrine/DBAL/Connection.php(1473) Kdyby\Doctrine\Connection->connect() in KdybyTests/Doctrine/Connection.phpt(52) Doctrine\DBAL\Connection->getWrappedConnection() in src/Framework/TestCase.php(150) KdybyTests\Doctrine\ConnectionTest->testPing() in src/Framework/TestCase.php(51) Tester\TestCase->runTest() in KdybyTests/Doctrine/Connection.phpt(137) Tester\TestCase->run() (previous) Doctrine\DBAL\Driver\PDOException: could not find driver in DBAL/Driver/PDOConnection.php(31) in Driver/PDOMySql/Driver.php(22) Doctrine\DBAL\Driver\PDOConnection->__construct() in Doctrine/DBAL/Connection.php(362) Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in Kdyby/Doctrine/Connection.php(287) Doctrine\DBAL\Connection->connect() in Doctrine/DBAL/Connection.php(1473) Kdyby\Doctrine\Connection->connect() in KdybyTests/Doctrine/Connection.phpt(52) Doctrine\DBAL\Connection->getWrappedConnection() in src/Framework/TestCase.php(150) KdybyTests\Doctrine\ConnectionTest->testPing() in src/Framework/TestCase.php(51) Tester\TestCase->runTest() in KdybyTests/Doctrine/Connection.phpt(137) Tester\TestCase->run() (previous) PDOException: could not find driver in DBAL/Driver/PDOConnection.php(27) in DBAL/Driver/PDOConnection.php(27) PDO->__construct() in Driver/PDOMySql/Driver.php(22) Doctrine\DBAL\Driver\PDOConnection->__construct() in Doctrine/DBAL/Connection.php(362) Doctrine\DBAL\Driver\PDOMySql\Driver->connect() in Kdyby/Doctrine/Connection.php(287) Doctrine\DBAL\Connection->connect() in Doctrine/DBAL/Connection.php(1473) Kdyby\Doctrine\Connection->connect() in KdybyTests/Doctrine/Connection.phpt(52) Doctrine\DBAL\Connection->getWrappedConnection() in src/Framework/TestCase.php(150) KdybyTests\Doctrine\ConnectionTest->testPing() in src/Framework/TestCase.php(51) Tester\TestCase->runTest() in KdybyTests/Doctrine/Connection.phpt(137) Tester\TestCase->run()
napojeno na N24 extension v annotations
timto zacina uprava pro 3.0 pada ale spousta testu na chybe: E_USER_DEPRECATED: Nette\Utils\Callback::invokeArgs() is deprecated, use native invoking.
…ed, use native invoking.
Vyhozeno pouziti ObjectMixin
Chybelo rozbaleni pole a delalo to bordel
…arameter inferType() se vola vzdy
…ockeru padalo na tom, ze to neni vyplneno
…on()->getFactory()
…tion()->setArguments
Version je deprecated a zde je uplne jedno, o jakou tridu jde, pokud je ze stejneho adresare, jako je trida version.
…t-object #3107 Nahrazení Kdyby/StrictObject za Nette/SmartObject
Kdyby\Doctrine\MissingClassException: Metadata of class entityName was not found, because the class is missing or cannot be autoloaded. in /var/www/html/vendor/kdyby/doctrine/src/Kdyby/Doctrine/Mapping/ClassMetadataFactory.php:70
Definition of the service was problematic and possibly not doable using nette3... Its functionality can be replaced: old: - setDao( @doctrine.dao(Pd\WishlistModule\WishlistItem) ) new: - setDao( @Kdyby\Doctrine\EntityManager::getDao(Pd\WishlistModule\WishlistItem) )
Fixes error `An option named "em" already exists`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.