Compare commits

...

7 commits

Author SHA1 Message Date
Simon Vieille e1cb3d8b9a
update ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2022-07-26 10:11:21 +02:00
Simon Vieille c2e570f966
update ci
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2022-07-26 10:06:58 +02:00
Simon Vieille 0c34dce1cf
update ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-07-26 10:06:18 +02:00
Simon Vieille 9cfbebabd6
update ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2022-07-26 10:05:14 +02:00
Simon Vieille ec870e287c
add jenkins status
All checks were successful
Gitnet/csv/pipeline/head This commit looks good
2020-09-01 15:41:49 +02:00
Simon Vieille cfb04db402
add jenkins tests
All checks were successful
Gitnet/csv/pipeline/head This commit looks good
2020-09-01 15:40:00 +02:00
Simon Vieille 7719bd7202
typo 2020-05-24 14:31:08 +02:00
3 changed files with 19 additions and 16 deletions

View file

@ -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
View 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

View file

@ -1,7 +1,7 @@
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:
@ -103,7 +103,7 @@ $headers = $csv->getHeaders();
$products = $csv->getDatas();
```
### Parse a stram
### Parse a stream
```php
use Deblan\Csv\CsvStreamParser;