Skip to content

Conversation

@drichelson
Copy link
Contributor

This is now working with PHP 5.3.25

machine:
php:
version: 5.4.37
version: 5.3.25
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the latest php version that CircleCI gives us.

test:
override:
# syntax check php files
- find ./src -name "*.php" -type f -print0 | xargs -0 -I {} php -l {}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'compile' step to ensure php 5.3 compatibility in case tests don't have 100% code coverage

"guzzle/guzzle": "dev-master#ecb935d2d0ecd8cddae4dcfb90515cac5e2cb023",
"psr/log": "1.0.0"
"psr/log": "1.0.0",
"justinrainbow/json-schema": "v1.6.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a transitive dependency, but the version is not pinned, and by default composer will bring in a version that is too high to be compatible with 5.3.25. This is the highest version compatible with 5.3.25

private $_negate = false;

private function __construct($attribute, $op, array $values, $negate) {
public function __construct($attribute, $op, array $values, $negate) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these newly public methods are to make the syntax checker happy.

@jkodumal
Copy link
Contributor

👍

@drichelson drichelson merged commit e440463 into php-5.3 Nov 23, 2016
@drichelson drichelson deleted the drichelson/ch258/php-5-3-incompatibility branch November 23, 2016 21:53
eli-darkly added a commit that referenced this pull request Apr 26, 2019
add param to skip db tests, update docs for new repo name
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

Successfully merging this pull request may close these issues.

3 participants