Skip to content

Add App->catch_error_types to define set_error_handler in App#803

Merged
romaninsh merged 2 commits intodevelopfrom
fix/error_reporting
Sep 25, 2019
Merged

Add App->catch_error_types to define set_error_handler in App#803
romaninsh merged 2 commits intodevelopfrom
fix/error_reporting

Conversation

@abbadon1334
Copy link
Copy Markdown
Collaborator

add App->catch_error_types = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED;

Can be used to define set_error_handler error types without overriding the construct of the App.
Previously was hardcoded and to change it you must extend App and override __construct.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 20, 2019

Codecov Report

Merging #803 into develop will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #803   +/-   ##
==========================================
  Coverage      76.19%   76.19%           
  Complexity      2287     2287           
==========================================
  Files            119      119           
  Lines           5397     5397           
==========================================
  Hits            4112     4112           
  Misses          1285     1285
Impacted Files Coverage Δ Complexity Δ
src/App.php 82.51% <100%> (ø) 129 <0> (ø) ⬇️

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 4f21a42...a973422. Read the comment docs.

@romaninsh romaninsh merged commit dae88ae into develop Sep 25, 2019
@romaninsh romaninsh deleted the fix/error_reporting branch September 25, 2019 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants