10 Commits

Author SHA1 Message Date
Magnus
1e6afb658a Added default names in the commands for lazy loading (#668)
* added default names in the commands for lazy loading

* fixed codesniffer violation

* remove setName, because its done automatically by symfony
2020-10-22 23:52:49 +02:00
François-Xavier de Guillebon
7f8a2bcf27 Drop support for unmainted Symfony versions (#648)
* Remove support for Symfony version older than 4.4

* Fix deprecation for configuration tree builder

* Remove legacy form types

* Add changelog

* Update return type-hint for commands

* Remove DefinitionDecorator usage

* Remove security.context

* Drop ListenerInterface usage

* Replace GetResponseEvent by RequestEvent

* Replace getRoles() by getRoleNames()

* Update travis configuration
2020-09-17 09:05:46 +02:00
Dalibor Karlović
feb81dacf2 Resolved conflicts master..1.6 2018-05-01 08:15:27 +02:00
Dalibor Karlović
78ce9a69c9 Merge branch '1.6' into merge-1.6
# Conflicts:
#	.travis.yml
#	Command/CleanCommand.php
#	Command/CreateClientCommand.php
#	Controller/AuthorizeController.php
#	DependencyInjection/Configuration.php
#	DependencyInjection/FOSOAuthServerExtension.php
#	Security/Authentication/Provider/OAuthProvider.php
#	Security/EntryPoint/OAuthEntryPoint.php
#	Storage/OAuthStorage.php
#	Tests/Command/CleanCommandTest.php
#	Tests/Command/CreateClientCommandTest.php
#	Tests/Controller/AuthorizeControllerTest.php
#	Tests/DependencyInjection/FOSOAuthServerExtensionTest.php
#	Tests/Functional/BootTest.php
#	composer.json
2018-04-30 16:13:27 +02:00
Alan Poulain
f1672683ab Fix: DI-related issues (#548)
* Use EventDispatcherInterface instead of EventDispatcher

* Remove container from AuthorizeController

* Session can be null in AuthorizeController

* Remove BaseCommand and inject dependencies for commands

* Fix comment

* Fix tests for commands

* Fix tests for AuthorizeController
2018-03-15 13:07:30 +01:00
SebScoFr
6cc66d91f1 Fixing unregistered commands (#534)
* Update oauth.xml

* fixing commands

* updating composer

* composer fixes

* fixing unregistered commands

* cleaning
2018-02-07 07:56:47 +01:00
Dalibor Karlović
c0382eb4a1 Raise PHPStan's level from 1 to 2 2018-01-12 16:24:20 +01:00
Nikola Petkanski
d8b9d5e395 ~ adding dangling semicolon for multi-line chained statements to phpcs 2018-01-12 13:49:01 +01:00
Dalibor Karlović
9b5bf8a5ee Remove deprecations, fix code merged from 1.5 2018-01-11 18:49:25 +01:00
Justin Reherman
fa16b79394 Add a "create client" command 2018-01-10 16:28:15 +01:00