0

I'm trying to build my project but after push on gitlab it returns Error: enter image description here

1
  • 1
    You need to re-install the same package i.e. doctrine/dbal whenever you will create the new project structure with correct PHP version. Commented Jan 18, 2017 at 12:57

1 Answer 1

2

Your DBAL version is one that needs php 7 or higher. Pick another version that satisfies php 5.6, like DBAL 2.5.x

As a sidenote, this is why it is useful to make your local development environment resemble your production environment. php 7 has features that 5.6 doesn't and you WILL break your software 99.9% of the time.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.