Eluinhost / TeamspeakAuth

TS3 Authentication using Minecraft accounts
10 stars 0 forks source link

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

Closed Eluinhost closed 10 years ago

Eluinhost commented 10 years ago

in src/PublicUHC/Bundle/TeamspeakAuthBundle/Controller/TeamspeakAccountController.php, line 49

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

     *      400="On invalid parameters",
     *      503="On unable to reach Teamspeak server (online checks only)"
     * }
     * )
     */
    public function api_v1_checkTeamspeakAccountAction($uuids, $type, $limit, $offset)
    {
        if($limit > 50)
            throw new BadRequestHttpException('Only 50 accounts may be fetched per request');

        /** @var EntityManager $em */

Posted from SensioLabsInsight