-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DI] Remove symfony/dependency-injection dependency #4796
Conversation
e067f64
to
f73ae8b
Compare
c2a0185
to
4e113ef
Compare
Resulting build - dropped 32 000 lines πͺ rectorphp/rector@acc38e2 |
In order to determine the diff; given this PR solely is because of the removal, do we also have any idea how many lines were added because of the Laravel container? |
Depends what you try to compare. The Laravel container package was added in #4106, 1,5 month ago. This PR results in this diff: rectorphp/rector@9e10326 The container package itself: vendor/bin/lines measure vendor/illuminate/container --short Shows 1090 lines of code: ------------------------------ ---------------------
Metric Count
------------------------------ ---------------------
Directories 0
Files 6
------------------------------ ---------------------
------------------------------ ---------- ----------
Lines of code Count Relative
------------------------------ ---------- ----------
Code 1 090 56 %
Comments 855 44 %
Total 1 945 100 %
------------------------------ ---------- ----------
|
The same for Symfony would be: vendor/bin/lines measure vendor/symfony/dependency-injection --short β Filesystem count
Directories ......................................... 14
Files .............................................. 186
Lines of code count / relative
Code ................................... 17 694 / 79 %
Comments ................................ 4 698 / 21 %
Total .................................. 22 392 / 100 % |
Ref #4698
Before
After
β
From 2 686 to 2 394 classes π₯³