Skip to content

replace E_USER_NOTICE with E_USER_DEPRECATED#647

Merged
bobstrecansky merged 2 commits into
open-telemetry:mainfrom
freshcells:depreaction-notices
Apr 2, 2022
Merged

replace E_USER_NOTICE with E_USER_DEPRECATED#647
bobstrecansky merged 2 commits into
open-telemetry:mainfrom
freshcells:depreaction-notices

Conversation

@ivoba

@ivoba ivoba commented Mar 31, 2022

Copy link
Copy Markdown
Contributor

Since it is a notice about a deprecation it should also use E_USER_DEPRECATED as log level.
NOTICE seems to be not the appropriate log level.

In my case it broke the application in dev mode where Notices are considered errors.

@welcome

welcome Bot commented Mar 31, 2022

Copy link
Copy Markdown

Thanks for opening your first pull request! If you haven't yet signed our Contributor License Agreement (CLA), then please do so that we can accept your contribution. A link should appear shortly in this PR if you have not already signed one.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Mar 31, 2022

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: ivoba / name: Ivo Bathke (3bd4143)

@codecov

codecov Bot commented Apr 2, 2022

Copy link
Copy Markdown

Codecov Report

Merging #647 (e2d6213) into main (e62cd5e) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #647      +/-   ##
============================================
- Coverage     84.45%   84.45%   -0.01%     
  Complexity     1141     1141              
============================================
  Files           127      127              
  Lines          2767     2766       -1     
============================================
- Hits           2337     2336       -1     
  Misses          430      430              
Flag Coverage Δ
7.4 84.40% <100.00%> (-0.01%) ⬇️
8.0 84.45% <100.00%> (-0.01%) ⬇️
8.1 84.45% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/SDK/Common/Dev/Compatibility/Util.php 100.00% <100.00%> (ø)
src/Contrib/Jaeger/IdConverter.php 100.00% <0.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 e62cd5e...e2d6213. Read the comment docs.

@bobstrecansky
bobstrecansky merged commit 72816bb into open-telemetry:main Apr 2, 2022
brettmc added a commit that referenced this pull request Apr 3, 2022
brettmc added a commit that referenced this pull request Apr 3, 2022
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.

3 participants