Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
flecomte opened this issue Jun 20, 2014 · 0 comments
Closed

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

flecomte opened this issue Jun 20, 2014 · 0 comments
Assignees

Comments

@flecomte
Copy link
Owner

in Doctrine/DBAL/Types/ArrayMultiText.php, line 21

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

    public function getSQLDeclaration (array $fieldDeclaration, AbstractPlatform $platform)
    {
        return $platform->getDoctrineTypeMapping('text[]');
    }

    private function array_to_pg_array(array $array)
    {
        $convertArray = [];
        foreach ($array as $key => $value) {
            if (is_array($value)) {
                throw new \Exception('multidimentional array!');

Posted from SensioLabsInsight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant