You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't find upgrading instructions from 1.X to 2.0 (I used 1.0.2) and tried to run deptrac.phar v2.0 with existing deptrac config and got this error:
PHP Fatal error: Uncaught TypeError: Qossmic\Deptrac\Contract\Analyser\EventHelper::__construct(): Argument #1 ($skippedViolations) must be of type array, null given in phar:///~/my-project/deptrac.phar/src/Contract/Analyser/EventHelper.php:21
Stack trace:
#0 [internal function]: Qossmic\Deptrac\Contract\Analyser\EventHelper->__construct(NULL, Object(Qossmic\Deptrac\Contract\Layer\LayerProvider))
#1 phar:///~/my-project/deptrac.phar/vendor/symfony/dependency-injection/ContainerBuilder.php(954): ReflectionClass->newInstanceArgs(Array)
#2 phar:///~/my-project/deptrac.phar/vendor/symfony/dependency-injection/ContainerBuilder.php(493): DEPTRAC_202404\Symfony\Component\DependencyInjection\ContainerBuilder->createService(Object(DEPTRAC_202404\Symfony\Component\DependencyInjection\Definition), Array, false, 'Qossmic\\Deptrac...')
#3 phar:///~/my-project/deptrac.phar/vendor/symfony/dependency-injection/ContainerBuilder.php(1056): DEPTRAC_202404\Symfony\Component\DependencyInjection\ContainerBuilder->doGet('Qossmic\\Deptrac...', 1, Array, false)
...
PS: Thanks for your great job on this project 👍
The text was updated successfully, but these errors were encountered:
Upgrade doc also helped a bit, but haven't covered all required changes. I made this type of changes:
Now I have 2 warnings (PHP 8.2), but it works
PHP Warning: Undefined array key "internal_tag" in phar:///~/deptrac.phar/src/Core/Analyser/EventHandler/DependsOnInternalToken.php on line 21
Warning: Undefined array key "internal_tag" in phar:///~/deptrac.phar/src/Core/Analyser/EventHandler/DependsOnInternalToken.php on line 21
I didn't find upgrading instructions from 1.X to 2.0 (I used 1.0.2) and tried to run deptrac.phar v2.0 with existing deptrac config and got this error:
PS: Thanks for your great job on this project 👍
The text was updated successfully, but these errors were encountered: