Skip to content

Commit 88b53b2

Browse files
committed
Updated test $access_token from dynamic to declared property for PHP 8.2
1 parent 037bd0c commit 88b53b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/RollbarTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
class RollbarTest extends \Orchestra\Testbench\TestCase
1313
{
14+
private string $access_token = 'B42nHP04s06ov18Dv8X7VI4nVUs6w04X';
15+
1416
protected function setUp(): void
1517
{
16-
$this->access_token = 'B42nHP04s06ov18Dv8X7VI4nVUs6w04X';
1718
putenv('ROLLBAR_TOKEN=' . $this->access_token);
1819

1920
parent::setUp();

0 commit comments

Comments
 (0)