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

Remove deprecated request args #201

Merged
merged 2 commits into from
Jul 27, 2016

Conversation

chalasr
Copy link
Collaborator

@chalasr chalasr commented Jul 19, 2016

Q A
Branch? 2.0
BC breaks? yes
Deprecations? no
Tests pass? yes

This totally remove the ability of injecting request instances in Event classes, plus there is no more need of injecting the @request_stack service into the JWTManager class.

*/
public function __construct(JWTEncoderInterface $encoder, EventDispatcherInterface $dispatcher, RequestStack $requestStack, $ttl)
Copy link
Collaborator Author

@chalasr chalasr Jul 19, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One less BC break but a big new one.

@chalasr chalasr force-pushed the remove_deprecated_request_args branch 2 times, most recently from 0e13d42 to 0122190 Compare July 19, 2016 22:55
@chalasr chalasr added this to the 2.0 milestone Jul 23, 2016
@chalasr chalasr force-pushed the remove_deprecated_request_args branch 2 times, most recently from 11d4069 to e76ddf0 Compare July 25, 2016 23:22
@chalasr chalasr force-pushed the remove_deprecated_request_args branch 2 times, most recently from 54c0dfb to 379eb42 Compare July 26, 2016 16:59
Remove deprecated Request instances injections
Remove usage from our code
CS fixes
Fix rebase conflicts
@chalasr chalasr force-pushed the remove_deprecated_request_args branch from 379eb42 to 639fb8d Compare July 27, 2016 20:35
@chalasr chalasr merged commit c429b4d into lexik:2.0 Jul 27, 2016
@chalasr chalasr deleted the remove_deprecated_request_args branch July 27, 2016 20:54
chalasr added a commit that referenced this pull request Jul 29, 2016
chalasr added a commit that referenced this pull request Jul 29, 2016
| Q             | A
| ------------- | ---
| Branch?       | 2.0
| Bug fix | yes
| Feature | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes

This fixes a big bug introduced in #201 because of an unmerged path (`services.xml`). It caused that a bad value was passed as token ttl, so it is unable to decode any token.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant