Skip to content

[Insight] PHP code should follow PSR-1 basic coding standard - in Symfony/src/…/Handler/UtilityHandler.php, line 109 #18

@tzikis

Description

@tzikis

in Symfony/src/Codebender/CompilerBundle/Handler/UtilityHandler.php, line 109

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

     *
     * \param string $directory The directory to search for files.
     * \param mixed $extensions An array of strings, the extensions to look for.
     * \return A list of files that have the appropriate extension.
     */
    function get_files_by_extension($directory, $extensions)
    {
        if (is_string($extensions))
            $extensions = array($extensions);

        $files = array();

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions