Eluinhost / TeamspeakAuth

TS3 Authentication using Minecraft accounts
10 stars 0 forks source link

[Insight] PHP code should follow PSR-1 basic coding standard #64

Closed Eluinhost closed 10 years ago

Eluinhost commented 10 years ago

in src/PublicUHC/Bundle/TeamspeakAuthBundle/Controller/AuthenticationController.php, line 53

Method names should be declared in camelCase. You should rename this class to comply with PSR-1.

     * @RequestParam(name="ts_uuid", description="Teamspeak UUID")
     * @RequestParam(name="ts_code", description="Teamspeak Code")
     * @RequestParam(name="mc_uuid", description="Minecraft Username")
     * @RequestParam(name="mc_code", description="Minecraft Code")
     */
    public function api_v1_authenticationsAction($ts_uuid, $ts_code, $mc_uuid, $mc_code)
    {
        /** @var $entityManager EntityManager */
        $entityManager = $this->getDoctrine()->getManager();

        $tsqb = $entityManager->createQueryBuilder();

Posted from SensioLabsInsight