Gergely Polonkai

developer, systems engineer and administrator

Other articles


  1. Renaming a Symfony 2 bundle

    Today I’ve realised that the name I gave to one of my Symfony 2 bundles should be something else. To rename a bundle, one must do four things (at least).

    1. Change the namespace from Vendor\OldBundle to Vendor\NewBundle in every PHP class (sounds like pain? It is…)
    2. Change …
    read more
  2. JMS\DiExtraBundle’s GrepPatternFinder – grep exits with status code 2 on Fedora 18

    Yesterday I’ve upgraded my development machines from Fedora 17 to Fedora 18. Although it went well, my Symfony projects stopped working with a message like this:

    RuntimeException: Command "/usr/bin/grep --fixed-strings --directories=recurse --devices=skip --files-with-matches --with-filename --color=never --include=*.php 'JMS\DiExtraBundle\Annotation'
    '/var/www/html/gergelypolonkaiweb …
    read more

links

social