Skip to content

Instantly share code, notes, and snippets.

View MarionLeHerisson's full-sized avatar

Marion Hurteau MarionLeHerisson

View GitHub Profile
@pauloportella
pauloportella / conventional-comments.md
Last active June 5, 2024 20:45
How to setup conventional comments on Github

Conventional comments

Source

You can add all conventional comments Labels to Github as a saved replies by following the following steps:

  1. Go to https://github.com/settings/replies
  2. Open Developer Tools
  3. Copy/Paste above code in JavaScript console
  4. Press enter
@hurricane-voronin
hurricane-voronin / README.md
Last active June 12, 2024 08:53
Naming Classes Without a 'Manager'
@arnaud-lb
arnaud-lb / UseIndexWalker.php
Created May 15, 2012 19:27
USE INDEX / FORCE INDEX in a Doctrine2 DQL query
<?php
use Doctrine\ORM\Query\SqlWalker;
/**
* Quick hack to allow adding a USE INDEX on the query
*/
class UseIndexWalker extends SqlWalker
{
const HINT_USE_INDEX = 'UseIndexWalker.UseIndex';