Problem/Motivation

PHP deprecation notice:

PHP Deprecated:  a:5:{s:11:"deprecation";s:126:"Creation of dynamic property Drupal\Tests\default_content\Kernel\ExporterIntegrationTest::$defaultContentManager is deprecated";s:5:"class";s:59:"Drupal\Tests\default_content\Kernel\ExporterIntegrationTest";s:6:"method";s:25:"testModuleExportException";s:15:"triggering_file";s:124:"/home/runner/work/acquia_cms/orca-build/docroot/modules/contrib/default_content/tests/src/Kernel/ExporterIntegrationTest.php";s:11:"files_stack";a:7:{i:0;s:124:"/home/runner/work/acquia_cms/orca-build/docroot/modules/contrib/default_content/tests/src/Kernel/ExporterIntegrationTest.php";i:1;s:77:"/home/runner/work/acquia_cms/orca-build/docroot/sites/simpletest/TestCase.php";i:2;s:77:"/home/runner/work/acquia_cms/orca-build/docroot/sites/simpletest/TestCase.php";i:3;s:91:"/home/runner/work/acquia_cms/orca-build/vendor/phpunit/phpunit/src/Framework/TestResult.php";i:4;s:77:"/home/runner/work/acquia_cms/orca-build/docroot/sites/simpletest/TestCase.php";i:5;s:19:"Standard input code";i:6;s:19:"Standard input code";}} in /home/runner/work/acquia_cms/orca-build/vendor/symfony/phpunit-bridge/Legacy/SymfonyTestsListenerTrait.php on line 284
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

vishalkhode created an issue. See original summary.

sakthi_dev made their first commit to this issue’s fork.

sakthi_dev’s picture

Status: Active » Needs review

Please review.

andypost’s picture

Status: Needs review » Needs work

You just need to define property

Rajeshreeputra made their first commit to this issue’s fork.

rajeshreeputra’s picture

Status: Needs work » Needs review
andypost’s picture

Title: PHP 8.2 compatibility » Refactor ExporterIntegrationTest for PHP 8.2 compatibility
Status: Needs review » Reviewed & tested by the community

Pushed proper fix - the usage was wrong and did clean-up

andypost’s picture

Version: 2.0.0-alpha2 » 2.0.x-dev
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.