tester-1.0.0/modules/tester_error_generator/src/TesterErrorClass.php
modules/tester_error_generator/src/TesterErrorClass.php
<?php
namespace Drupal\tester_error_generator;
/**
* This class deliberately throws PHP 8.2 warnings.
*/
class TesterErrorClass {
/**
* Sets a dynamic property to trigger a warning.
*/
public function testDynamicProperty(): void {
// @phpstan-ignore-next-line
$this->value = 'dynamic property error';
}
}
