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
Removed Translator and various other improvements and corrections for version 2 of the component framework #40
Conversation
|
Scrutinizer added just now per your request! |
|
thanks @pmjones |
|
@pmjones https://scrutinizer-ci.com/g/auraphp/Aura.Filter/ i see it however i cannot trigger it for develop-2 branch in which i am working |
|
there is a setting to trigger it for all builds in all branches |
|
updated to set develop-2 as the main branch |
|
@pmjones i think it sounds to me this is good to merge now. I see other components don't have common/config folder, should i remove it? |
|
Thanks |
|
i will not, but i believe its place is elsewhere in another package |
|
One thing I like in v2 is usage of $email = new Aura\Filter\Email('email@example.com');
$email->isValid();like interface. I am not sure whether this is possible currently. But just a wishlist . The idea is usage of filters in DDD as Mathias Verras mentioned in some slides. |
|
Please open a ticket with that wish maybe we can implement but it is not related to this PR. 😊 Is actually a very good idea, to go strong in DDD with aura libraries. |
| @@ -2,12 +2,8 @@ language: php | |||
| php: | |||
| - 5.4 | |||
| - 5.5 | |||
| - hhvm | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hhvm not working?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i just don't think we should test against something that fails and that is not fully working, we either remove it or remove the allow_failtures cc @pmjones
|
Hey @cordoval could you add a branch alias? "branch-alias": {
"dev-develop-2": "2.0.x-dev"
}See https://github.com/auraphp/Aura.Web/blob/develop-2/composer.json#L33-L35 |
|
@pmjones please review and merge. What comes after this? What other component needs help? Or should we move cordoval/bc-analyzer into auraphp? so we can pound on it? |
|
ok i can but let's close this chapter PR please |
|
Sure. Let Paul review things. Please give him sometime. Aura.Session v2 need some help / improvements. I don't really know what all |
|
I'll take this as-is and review later. Many thanks for your work, gentlemen. |
Sent using Gush
Description
This PR was started after today's conversation on IRC, we synced with Hari and Paul to remove translator as a dependency from this component. There were some additional cleanups, moving to PSR-4, updating the readme, making the tests pass, correcting some typos on the tests, adding an autoload.php, creating a factory for the service instantiation and registry initialization and some other minor issues.
todo: