-
-
Notifications
You must be signed in to change notification settings - Fork 656
Added recipe for FOSUserBundle (#345 #270) #363
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
Conversation
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.
Pull request passes validation.
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.
Thank you for this.
Please also make sure that Travis is happy.
db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel' | ||
firewall_name: main | ||
user_class: AppBundle\Entity\User | ||
# use_listener: true |
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.
Remove comments like this.
* @ORM\GeneratedValue() | ||
* @ORM\Column(type="integer") | ||
*/ | ||
protected $id; |
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 would prefer private
here. No mean to use protected
since nothing extends this class.
|
||
public function __construct() | ||
{ | ||
parent::__construct(); |
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.
Maybe write a comment saying that this line is important.
// * @return User[] Returns an array of User objects | ||
// */ | ||
/* | ||
public function findByExampleField($value) |
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.
This should be removed.
I would prefer to see a link to the docs.
Any news here? |
No because of the missing removal of the dependencies which is not possible.
|
Ok, in this case, please close this PR, thank you! |
Closing as a duplicate (#270) |
I checked the other pull requests #345 and #270 and combined everything with the ORM version. (entities etc.)