This repository has been archived by the owner on Jan 8, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oh, right. Silly me. Composer doesn't work in PHP 5.2.
- Loading branch information
f8e52eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can switch to newer PHP for Composer, than back to 5.2 for tests or whatever:
f8e52eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I can do this, I worry that this will cause Composer to pull down PHPUnit, CodeSniffer, etc. that use features of 5.3+ but won't work in 5.2.
f8e52eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just saw in passing and commented since I do this in work projects. CodeSniffer works on 5.2 (unless you got third party sniffs demanding newer), for PHPUnit Travis runs older 3.6 version.
f8e52eb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pulling down the newer versions of both in my composer.json
require-dev
section, and I have .travis.yml config set to run them from myvendor/bin/
, so I know they won't run on 5.2. :-)