Skip to content

Catch all controls #5

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

Merged
merged 4 commits into from
Apr 30, 2018
Merged

Catch all controls #5

merged 4 commits into from
Apr 30, 2018

Conversation

AydinHassan
Copy link
Member

Updated so that isControl will return true for anything that is a control signal (hopefully) - basically ASCII characters 0-31 and 127.

Also added a isHandledControl that returns true if it's a control and one we allow to handle ( we can update the list of handled ones whenever we want really - but I'd just leave it until we need them)

@AydinHassan AydinHassan requested a review from mikeymike April 29, 2018 14:23
@codecov-io
Copy link

codecov-io commented Apr 29, 2018

Codecov Report

Merging #5 into master will increase coverage by 0.23%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #5      +/-   ##
============================================
+ Coverage     81.41%   81.64%   +0.23%     
- Complexity       82       83       +1     
============================================
  Files             7        7              
  Lines           156      158       +2     
============================================
+ Hits            127      129       +2     
  Misses           29       29
Impacted Files Coverage Δ Complexity Δ
src/InputCharacter.php 100% <100%> (ø) 12 <1> (+1) ⬆️

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 838d8d7...0a0f2d3. Read the comment docs.

@AydinHassan AydinHassan merged commit a6ad7c4 into master Apr 30, 2018
@AydinHassan AydinHassan deleted the catch-all-controls branch April 30, 2018 07:17
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