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

v2 roadmap #32

Closed
7 tasks done
renanbr opened this issue Oct 12, 2017 · 1 comment
Closed
7 tasks done

v2 roadmap #32

renanbr opened this issue Oct 12, 2017 · 1 comment
Labels

Comments

@renanbr
Copy link
Owner

renanbr commented Oct 12, 2017

General:

  • Require PHP ^7.1 (2b69a51, 0bc19cf, f95f7e6) moved to support for PHP 5 #41
  • Exceptions refactoring Replace ParseException with Exception (48c7048, facdf1f)
    • To be used for general purpose, not only for "parser" stuff
    • Create a namespace Exception, and put all needed exceptions inside it
    • Make exceptions implement a base ExceptionInterface
  • Make Listener able to manage "entry processors" instead of "tag processors" (aed4c2e)
    • It'll make possible to inject tags, or to process multiple at the same time
  • No longer use variable reference in processors (aed4c2e)
    • Processor must return the modified entry
    • The code will be more readable
    • There is no real need to use references in this case
  • Translate v1 tag processors into entry processors (5f3efda, 22e8f1c)
    • To keep current features working as well
  • Move "citation key" and "tag name case" processing from Listener to specialized entry processors (e05182d, 40a9709)
    • Listener becomes simpler
    • Listener becomes more extensible

Coming entry processors:

Internals:

Thoughts:

  • Handle entries as objects instead of arrays
@renanbr renanbr added the v2 label Oct 25, 2017
@renanbr
Copy link
Owner Author

renanbr commented Nov 25, 2017

@renanbr renanbr closed this as completed Nov 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant