Skip to content
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

Add a console user provider #309

Merged

Conversation

SanderVerkuil
Copy link
Contributor

  • Adds a provider and listeners to view which console command was responsible for certain actions.

Fixes #267

@SanderVerkuil SanderVerkuil force-pushed the improvement/console-user branch 4 times, most recently from cf19da4 to 2ae5236 Compare March 30, 2022 21:48
Also write some tests regarding the console user provider, to verify
that it actually is working.

Fixes DamienHarper#267
@codecov-commenter
Copy link

codecov-commenter commented Mar 31, 2022

Codecov Report

Merging #309 (2245997) into master (8ddfa75) will increase coverage by 0.16%.
The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
+ Coverage   93.18%   93.35%   +0.16%     
==========================================
  Files          14       16       +2     
  Lines         279      301      +22     
==========================================
+ Hits          260      281      +21     
- Misses         19       20       +1     
Impacted Files Coverage Δ
src/User/ConsoleUserProvider.php 88.88% <88.88%> (ø)
src/Event/ConsoleEventSubscriber.php 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ddfa75...2245997. Read the comment docs.

@DamienHarper DamienHarper merged commit 41512ce into DamienHarper:master Mar 31, 2022
@DamienHarper
Copy link
Owner

@SanderVerkuil Thanks for the contribution, much appreciated!

@SanderVerkuil SanderVerkuil deleted the improvement/console-user branch March 31, 2022 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide way to specify "blame" user for console commands
3 participants