Skip to content

move functions to traits to allow any version of phpunit - #15

Open
gabrielsolomon wants to merge 2 commits into
thephpleague:masterfrom
paytic:master
Open

move functions to traits to allow any version of phpunit#15
gabrielsolomon wants to merge 2 commits into
thephpleague:masterfrom
paytic:master

Conversation

@gabrielsolomon

Copy link
Copy Markdown

By splitting the functionality in traits you can write test by importing only needed traits and not depending on a base omnipay test.

Also moving the phpunit to require-dev the package is decoupled from the phpunit.
This way the developer can use which version he choses and only imports the traits where he needs them. He can also chose to import them in his one base test if he chose so

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.

1 participant