ApiTestCase icon indicating copy to clipboard operation
ApiTestCase copied to clipboard

Depreciation notices when running tests

Open fbnlsr opened this issue 1 year ago • 0 comments

Whenever I run tests using ApiTestCase, PHPUnit gives the following depreciation notices:

Accessing Doctrine\Common\Lexer\Token properties via ArrayAccess is deprecated, use the value, type or position property instead (Token.php:108 called by Parser.php:69, https://github.com/doctrine/lexer/pull/79, package doctrine/lexer)

While it's not currently a breaking bug, I'm afraid it might completely break tests once Doctrine completely removes the possibility to access Token properties via ArrayAccess.

fbnlsr avatar Nov 01 '23 11:11 fbnlsr