Compare commits
7 commits
Author | SHA1 | Date | |
---|---|---|---|
Simon Vieille | e1cb3d8b9a | ||
Simon Vieille | c2e570f966 | ||
Simon Vieille | 0c34dce1cf | ||
Simon Vieille | 9cfbebabd6 | ||
Simon Vieille | ec870e287c | ||
Simon Vieille | cfb04db402 | ||
Simon Vieille | 7719bd7202 |
|
@ -1,14 +0,0 @@
|
||||||
build_settings:
|
|
||||||
verbose: true
|
|
||||||
prefer_symlink: false
|
|
||||||
|
|
||||||
setup:
|
|
||||||
composer:
|
|
||||||
action: "install"
|
|
||||||
|
|
||||||
test:
|
|
||||||
php_unit:
|
|
||||||
directory: "tests/"
|
|
||||||
args: "--configuration 'phpunit.xml'"
|
|
||||||
|
|
||||||
complete:
|
|
17
.woodpecker.yml
Normal file
17
.woodpecker.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
matrix:
|
||||||
|
PHP_VERSION:
|
||||||
|
- 7.3
|
||||||
|
- 7.4
|
||||||
|
- 8.0
|
||||||
|
- 8.1
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
dependencies:
|
||||||
|
image: gitnet.fr/deblan/php:${PHP_VERSION}
|
||||||
|
commands:
|
||||||
|
- php /usr/local/bin/composer install
|
||||||
|
- php /usr/local/bin/composer require --dev phpunit/phpunit
|
||||||
|
tests:
|
||||||
|
image: gitnet.fr/deblan/php:${PHP_VERSION}
|
||||||
|
commands:
|
||||||
|
- php ./vendor/bin/phpunit
|
|
@ -1,7 +1,7 @@
|
||||||
CSV parser/generator
|
CSV parser/generator
|
||||||
====================
|
====================
|
||||||
|
|
||||||
<a href="https://phpci.gitnet.fr/build-status/view/2">![](https://phpci.gitnet.fr/build-status/image/2?branch=master&label=PHPCensor&style=flat-square)</a>
|
[![Build Status](https://ci.gitnet.fr/api/badges/deblan/csv/status.svg)](https://ci.gitnet.fr/deblan/csv)
|
||||||
|
|
||||||
A simple PHP library to:
|
A simple PHP library to:
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ $headers = $csv->getHeaders();
|
||||||
$products = $csv->getDatas();
|
$products = $csv->getDatas();
|
||||||
```
|
```
|
||||||
|
|
||||||
### Parse a stram
|
### Parse a stream
|
||||||
|
|
||||||
```php
|
```php
|
||||||
use Deblan\Csv\CsvStreamParser;
|
use Deblan\Csv\CsvStreamParser;
|
||||||
|
|
Loading…
Reference in a new issue