-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Getter for 'from', 'to' event's configuration #68
Merged
Merged
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f04bb65
Getter for 'from', 'to' event's configuration
lucatacconi 2053772
Tests for lifetime configurations getters
lucatacconi 7d05c37
Lifetime getters variables change
lucatacconi 7e12163
Test fix as requeste by Code_Checks / Static analysis
lucatacconi 6369223
Use of union type in lifetime getters
lucatacconi a8728b5
Split of test_cron_life_time, one for getFrom and one for getTo
lucatacconi 152eef9
Removed unnecessary parentheses
lucatacconi af2bf61
Fix static analysis issue
lucatacconi d50bec6
Code cleaning and between test added
lucatacconi acbf221
Typo
lucatacconi 0420760
Removed unused code
lucatacconi fe37b71
Removed unused code
lucatacconi 81cf8f3
Merge remote-tracking branch 'upstream/3.6' into 3.6
lucatacconi 4d4017d
Alignment with the production repo
lucatacconi 4bbbd01
php-cs-fixer Issue fix
lucatacconi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Almost there :)
test_get_from
andtest_get_to
between
in other test casestring
and\DateTime
infrom
/to
assertSame
in cases likeself::assertTrue($date_from === $event->getFrom());
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.
Test cases renamed.
Test case between introduced.
Variables' name renamed in camelCase.
Do you prefer to have the dataproviders all together at the end of the controls file near the other one or near the functions that use them?
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.
End of file, before private methods, please.