Skip to content

Fix Xdebug error in Travis - #152

Merged
jmglsn merged 1 commit into
stomp-php:masterfrom
MPParsley:patch-2
Jan 15, 2021
Merged

jmglsn merged 1 commit into
stomp-php:masterfrom
MPParsley:patch-2

Conversation

@MPParsley

@MPParsley MPParsley commented Dec 17, 2020 •

Copy link
Copy Markdown
Contributor

Run phpunit with XDEBUG_MODE=coverage

Some constants are only available in certain modes in Xdebug 3. This is fixed in the latest Xdebug release but not yet available in the version used by Travis. Also, it won't hurt to run xdebug in coverage mode.

See: xdebug/xdebug#699

Note that this can also be configured in Travis: https://travis-ci.com/github/stomp-php/stomp-php/settings

Proof that Travis is broken can be found in #151.

Run phpunit with XDEBUG_MODE=coverage 

Some constants are only available in certain modes in Xdebug 3. This is fixed in the latest Xdebug release but not yet available in the version used by Travis. Also, it won't hurt to run xdebug in coverage mode.

See: xdebug/xdebug#699
@jmglsn
jmglsn merged commit 452ee23 into stomp-php:master Jan 15, 2021
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.

2 participants