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

Test enhancement #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
docker:
- image: circleci/php:7.2-node

php73:
<<: *unit-config
docker:
- image: circleci/php:7.3-node

integration:
docker:
- image: circleci/php:7.2-node
Expand All @@ -68,4 +73,5 @@ workflows:
- php70
- php71
- php72
- php73
- integration
12 changes: 11 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
"ext-sockets": "*"
},
"require-dev": {
"phpunit/phpunit": "^5.0",
"phpunit/phpunit": "^5.0 || ^6.5",
"squizlabs/php_codesniffer": "2.*",
"guzzlehttp/guzzle": "~6.0"
},
"suggest": {
"ext-gmp": "It can handle the large numbers",
"ext-bcmath": "It can handle large integer numbers"
},
"license": "Apache-2.0",
"authors": [
{
Expand All @@ -26,6 +30,12 @@
"OpenCensus\\Trace\\Exporter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OpenCensus\\Tests\\Unit\\Trace\\Exporter\\": "tests/unit/",
"OpenCensus\\Tests\\Integration\\Trace\\Exporter\\": "tests/integration/"
}
},
"scripts": {
"post-dependencies-solving": "OpenCensus\\Trace\\Exporter\\Installer::checkPhpExtDependency"
}
Expand Down
2 changes: 0 additions & 2 deletions tests/unit/Jaeger/SpanConverterBcmathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

namespace OpenCensus\Tests\Unit\Trace\Exporter\Jaeger;

require_once __DIR__ . '/SpanConverterTest.php';

use OpenCensus\Tests\Unit\Trace\Exporter\Jaeger\SpanConverterTest;

use OpenCensus\Trace\Exporter\Jaeger\HexdecConverterBcMath;
Expand Down
2 changes: 0 additions & 2 deletions tests/unit/Jaeger/UDPClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

namespace OpenCensus\Trace\Exporter\Jaeger;

require_once 'src/Thrift/Types.php';

use Jaeger\Thrift\Batch;
use Jaeger\Thrift\Process;
use Jaeger\Thrift\Span;
Expand Down
2 changes: 0 additions & 2 deletions tests/unit/JaegerExporterBcmathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

namespace OpenCensus\Tests\Unit\Trace\Exporter;

require_once __DIR__ . '/JaegerExporterTest.php';

use OpenCensus\Tests\Unit\Trace\Exporter\JaegerExporterTest;

use OpenCensus\Trace\Exporter\JaegerExporter;
Expand Down
2 changes: 0 additions & 2 deletions tests/unit/JaegerExporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

namespace OpenCensus\Tests\Unit\Trace\Exporter;

require_once 'src/Thrift/Agent.php';

use OpenCensus\Trace\Exporter\JaegerExporter;
use OpenCensus\Trace\Annotation;
use OpenCensus\Trace\MessageEvent;
Expand Down