Skip to content
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

PHP7.4 対応 #4384

Closed
nanasess opened this issue Nov 15, 2019 · 0 comments · Fixed by #4414
Closed

PHP7.4 対応 #4384

nanasess opened this issue Nov 15, 2019 · 0 comments · Fixed by #4414
Labels
improvement 機能改善
Milestone

Comments

@nanasess
Copy link
Contributor

nanasess commented Nov 15, 2019

概要(Overview)

  • PHP7.4 対応

期待する内容(Expect) or 要望 (Requirement)

  • PHP7.4 でユニットテスト・E2Eテストが完了する

再現手順(Procedure)

  • PHPUnit を実行する
  • composer update を実行することでインストールの問題は解消するが、以下のようなシステムエラーが発生する(PHP7.4に限らず、他のPHPバージョンでも発生する)
[2019-11-15 16:48:24] app.ERROR [N/A] [8f6b654] [N/A] [Eccube\Log\Logger:log:68] - システムエラーが発生しました。 ["There is no active transaction","/Users/nanasess/git-repos/ec-cube/vendor/dama/doctrine-test-bundle/src/DAMA/DoctrineTestBundle/Doctrine/DBAL/StaticDriver.php",142,"#0 /Users/nanasess/git-repos/ec-cube/vendor/dama/doctrine-test-bundle/src/DAMA/DoctrineTestBundle/Doctrine/DBAL/StaticDriver.php(142): PDO->rollBack()\n#1 /Users/nanasess/git-repos/ec-cube/vendor/dama/doctrine-test-bundle/src/DAMA/DoctrineTestBundle/PHPUnit/PHPUnitListener.php(18): DAMA\\DoctrineTestBundle\\Doctrine\\DBAL\\StaticDriver::rollBack()\n#2 /Users/nanasess/git-repos/ec-cube/vendor/phpunit/phpunit/src/Framework/TestResult.php(408): DAMA\\DoctrineTestBundle\\PHPUnit\\PHPUnitListener->endTest(Object(Eccube\\Tests\\Web\\Admin\\Order\\ShippingControllerTest), 1.4377460479736)\n#3 /Users/nanasess/git-repos/ec-cube/vendor/phpunit/phpunit/src/Framework/TestResult.php(895): PHPUnit\\Framework\\TestResult->endTest(Object(Eccube\\Tests\\Web\\Admin\\Order\\ShippingControllerTest), 1.4377460479736)\n#4 /Users/nanasess/git-repos/ec-cube/vendor/phpunit/phpunit/src/Framework/TestCase.php(894): PHPUnit\\Framework\\TestResult->run(Object(Eccube\\Tests\\Web\\Admin\\Order\\ShippingControllerTest))\n#5 /Users/nanasess/git-repos/ec-cube/vendor/phpunit/phpunit/src/Framework/TestSuite.php(755): PHPUnit\\Framework\\TestCase->run(Object(PHPUnit\\Framework\\TestResult))\n#6 /Users/nanasess/git-repos/ec-cube/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(545): PHPUnit\\Framework\\TestSuite->run(Object(PHPUnit\\Framework\\TestResult))\n#7 /Users/nanasess/git-repos/ec-cube/bin/.phpunit/phpunit-6.5/src/TextUI/Command.php(195): PHPUnit\\TextUI\\TestRunner->doRun(Object(PHPUnit\\Framework\\TestSuite), Array, true)\n#8 /Users/nanasess/git-repos/ec-cube/bin/.phpunit/phpunit-6.5/src/TextUI/Command.php(148): PHPUnit\\TextUI\\Command->run(Array, true)\n#9 /Users/nanasess/git-repos/ec-cube/bin/.phpunit/phpunit-6.5/phpunit(17): PHPUnit\\TextUI\\Command::main()\n#10 /Users/nanasess/git-repos/ec-cube/vendor/symfony/phpunit-bridge/bin/simple-phpunit(239): include('/Users/nanasess...')\n#11 /Users/nanasess/git-repos/ec-cube/bin/phpunit(18): require('/Users/nanasess...')\n#12 {main}"] [, , , , ]

環境 (environment)

  • EC-CUBE: 4.0.3
  • PHP: 7.4.0RC6

関連情報 (Ref)

@chihiro-adachi chihiro-adachi added the improvement 機能改善 label Dec 10, 2019
@chihiro-adachi chihiro-adachi added this to the 4.0.x milestone Dec 10, 2019
This was referenced Dec 12, 2019
@okazy okazy modified the milestones: 4.0.x, 4.0.4 Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement 機能改善
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants