thecodingmachine / tdbm

The Database Machine is a PHP ORM that requires no configuration. The object model is deduced from the database model.
https://thecodingmachine.github.io/tdbm/
119 stars 27 forks source link

More precise NoBeanFoundException information #248

Closed nguyenk closed 3 years ago

nguyenk commented 3 years ago

Add some properties to the NoBeanFoundException.php, so a more structured information may bubble up while error is catched

codecov-io commented 3 years ago

Codecov Report

Merging #248 (69efd19) into master (4f9d6e1) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #248   +/-   ##
=========================================
  Coverage     97.50%   97.51%           
- Complexity     1484     1489    +5     
=========================================
  Files            62       63    +1     
  Lines          4164     4178   +14     
=========================================
+ Hits           4060     4074   +14     
  Misses          104      104           
Impacted Files Coverage Δ Complexity Δ
src/NoBeanFoundException.php 100.00% <100.00%> (ø) 5.00 <5.00> (?)
src/TDBMService.php 97.01% <100.00%> (-0.02%) 180.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 4f9d6e1...69efd19. Read the comment docs.

moufmouf commented 3 years ago

So coool! Thanks! :+1: