diff --git a/README.md b/README.md index 355b183..d5d2a29 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,8 @@ to post them. Build status: ============= -[![Build Status](https://scrutinizer-ci.com/g/szymach/c-pchart/badges/build.png?b=master)](https://scrutinizer-ci.com/g/szymach/c-pchart/build-status/master) +[![Build Status](https://scrutinizer-ci.com/g/szymach/c-pchart/badges/build.png?b=master)](https://scrutinizer-ci.com/g/szymach/c-pchart/build-status/master) +[![Build Status](https://scrutinizer-ci.com/g/szymach/c-pchart/badges/build.png?b=2.0)](https://scrutinizer-ci.com/g/szymach/c-pchart/build-status/2.0) Code quality: ============= diff --git a/resources/doc/2d_pie.md b/resources/doc/2d_pie.md index e972b57..1e811b2 100644 --- a/resources/doc/2d_pie.md +++ b/resources/doc/2d_pie.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Pie; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Pie; // Create and populate data $data = new Data([40, 60, 15, 10, 6, 4], "ScoreA"); diff --git a/resources/doc/2d_ring.md b/resources/doc/2d_ring.md index 2eaafc9..bedc316 100644 --- a/resources/doc/2d_ring.md +++ b/resources/doc/2d_ring.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Pie; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Pie; /* Create and populate the Data object */ $data = new Data(); diff --git a/resources/doc/3d_pie.md b/resources/doc/3d_pie.md index f91ac8d..6e0fc9c 100644 --- a/resources/doc/3d_pie.md +++ b/resources/doc/3d_pie.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Pie; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Pie; /* Create and populate the Data object */ $data = new Data(); diff --git a/resources/doc/3d_ring.md b/resources/doc/3d_ring.md index be2030b..3134cad 100644 --- a/resources/doc/3d_ring.md +++ b/resources/doc/3d_ring.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Pie; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Pie; /* Create and populate the Data object */ $data = new Data(); diff --git a/resources/doc/contour.md b/resources/doc/contour.md index 1ba79d3..da002ea 100644 --- a/resources/doc/contour.md +++ b/resources/doc/contour.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Surface; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Surface; /* Create the Image object */ $image = new Image(400, 400); diff --git a/resources/doc/polar.md b/resources/doc/polar.md index d596c6d..3795266 100644 --- a/resources/doc/polar.md +++ b/resources/doc/polar.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Radar; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Radar; /* Create and populate the Data object */ $data = new Data(); diff --git a/resources/doc/radar.md b/resources/doc/radar.md index e752903..ff73cee 100644 --- a/resources/doc/radar.md +++ b/resources/doc/radar.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Radar; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Radar; /* Prepare some nice data & axis config */ $data = new Data(); diff --git a/resources/doc/scatter_best_fit.md b/resources/doc/scatter_best_fit.md index 804f1ae..43bd7f7 100644 --- a/resources/doc/scatter_best_fit.md +++ b/resources/doc/scatter_best_fit.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/scatter_line.md b/resources/doc/scatter_line.md index 2d5753e..79b59bb 100644 --- a/resources/doc/scatter_line.md +++ b/resources/doc/scatter_line.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/scatter_plot.md b/resources/doc/scatter_plot.md index 091c73c..b8979cf 100644 --- a/resources/doc/scatter_plot.md +++ b/resources/doc/scatter_plot.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/scatter_spline.md b/resources/doc/scatter_spline.md index 060e201..2ff0b0c 100644 --- a/resources/doc/scatter_spline.md +++ b/resources/doc/scatter_spline.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/scatter_threshold.md b/resources/doc/scatter_threshold.md index 14b0d38..6d43c19 100644 --- a/resources/doc/scatter_threshold.md +++ b/resources/doc/scatter_threshold.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/scatter_threshold_area.md b/resources/doc/scatter_threshold_area.md index 058dd2b..5f85a7d 100644 --- a/resources/doc/scatter_threshold_area.md +++ b/resources/doc/scatter_threshold_area.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Scatter; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Scatter; /* Create the Data object */ $data = new Data(); diff --git a/resources/doc/spring.md b/resources/doc/spring.md index f708ccf..230e08d 100644 --- a/resources/doc/spring.md +++ b/resources/doc/spring.md @@ -5,8 +5,8 @@ ```php require '/path/to/your/vendor/autoload.php'; -use CpChart\Image; use CpChart\Chart\Spring; +use CpChart\Image; /* Create the Image object */ $image = new Image(300, 300); diff --git a/resources/doc/stock.md b/resources/doc/stock.md index dfe7ad3..fd4378a 100644 --- a/resources/doc/stock.md +++ b/resources/doc/stock.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Stock; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Stock; /* Create and populate the Data object */ $data = new Data(); diff --git a/resources/doc/surface.md b/resources/doc/surface.md index 7f541a6..5e544ad 100644 --- a/resources/doc/surface.md +++ b/resources/doc/surface.md @@ -5,9 +5,9 @@ ```php require '/path/to/your/vendor/autoload.php'; +use CpChart\Chart\Surface; use CpChart\Data; use CpChart\Image; -use CpChart\Chart\Surface; /* Create the Image object */ $image = new Image(400, 400);