Hi,
first up: really great library! Thanks for all your hard work, much appreciated.
So I have this code in my library:
if (!$this->strictIds)
{
trigger_deprecation("...", "3.2.2", "Not setting strictIds when configuring the page tree is deprecated.");
}
But this gets reported when running PHPStan in this library:
------ --------------------------------------------------------------------------------------------------
Line src/PageTree/Builder/PageTreeConfig.php
------ --------------------------------------------------------------------------------------------------
47 Since ... 3.2.2: Not setting strictIds when configuring the page tree is deprecated..
🪪 todoBy.sfDeprecation
✏️ src/PageTree/Builder/PageTreeConfig.php
------ --------------------------------------------------------------------------------------------------
To be clear: that is not another code block that calls my code, but just the definition / triggering of a deprecation that gets reported.
Hi,
first up: really great library! Thanks for all your hard work, much appreciated.
So I have this code in my library:
But this gets reported when running PHPStan in this library:
To be clear: that is not another code block that calls my code, but just the definition / triggering of a deprecation that gets reported.