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

works better with namespaces #295

Merged
merged 4 commits into from Feb 20, 2018
Merged

Conversation

romaninsh
Copy link
Member

Implement namespace handling

@codecov
Copy link

codecov bot commented Feb 20, 2018

Codecov Report

Merging #295 into develop will increase coverage by 0.05%.
The diff coverage is 75%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #295      +/-   ##
=============================================
+ Coverage      78.99%   79.04%   +0.05%     
- Complexity       902      903       +1     
=============================================
  Files             17       17              
  Lines           1966     1966              
=============================================
+ Hits            1553     1554       +1     
+ Misses           413      412       -1
Impacted Files Coverage Δ Complexity Δ
src/Model.php 91.43% <75%> (-0.19%) 267 <0> (+1)
src/Persistence.php 59.84% <0%> (+1.51%) 82% <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 9becc5c...a4820af. Read the comment docs.

@DarkSide666 DarkSide666 merged commit 0c79077 into develop Feb 20, 2018
@DarkSide666 DarkSide666 deleted the feature/various-improvements branch February 20, 2018 19:59
$class = get_class($this);
} elseif ($class instanceof self) {
$class = get_class($class);
$class = $this;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be get_class($this);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this change looks bad now. Not sure what I was thinking about ...
fixed in #320

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.

None yet

2 participants