Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Fix failing test for PHP 7.4 #251

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ jobs:
docker:
- image: circleci/php:7.3-zts-node

php74:
<<: *unit-config
docker:
- image: circleci/php:7.4-node

php74-zts:
<<: *unit-config
docker:
- image: circleci/php:7.4-zts-node

php71-32bit:
<<: *unit-config
docker:
Expand Down Expand Up @@ -226,6 +236,8 @@ workflows:
- php72-zts
- php73
- php73-zts
- php74
- php74-zts
- php71-32bit
- php71-debug
- integration
- integration
6 changes: 5 additions & 1 deletion ext/tests/name_uncastable_object.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ var_dump($span->name());

?>
--EXPECTF--
%s fatal error: Object of class UncastableObject could not be converted to string in %s/name_uncastable_object.php on line %d
Fatal error: %s: Object of class UncastableObject could not be converted to string in %s/name_uncastable_object.php:%d
Stack trace:
#0 %s/name_uncastable_object.php(%d): opencensus_trace_begin('foo', Array)
#1 {main}
thrown in %s/name_uncastable_object.php on line %d