ApiTestCase
ApiTestCase copied to clipboard
Depreciation notices when running tests
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.