From 2db56d3026fd2a55d96c635896e965cba0d75c4f Mon Sep 17 00:00:00 2001 From: fab2s Date: Mon, 14 Mar 2022 17:04:54 +0100 Subject: [PATCH] Bump php and symfony console --- .travis.yml | 34 ++++++++++++++++++++++++++++++++-- README.md | 4 ++-- composer.json | 4 ++-- tests/JoinTest.php | 2 +- 4 files changed, 37 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6fb83f6..be4fdca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,17 @@ language: php - +dist: bionic php: - 7.2 - 7.3 - 7.4 - 8.0 + - 8.1.0 cache: directories: - $HOME/.composer env: - - SYMFONY_CONSOLE_VERSION=2.8.* - SYMFONY_CONSOLE_VERSION=3.4.* - SYMFONY_CONSOLE_VERSION=4.0.* - SYMFONY_CONSOLE_VERSION=4.1.* @@ -20,6 +20,10 @@ env: - SYMFONY_CONSOLE_VERSION=4.4.* - SYMFONY_CONSOLE_VERSION=5.0.* - SYMFONY_CONSOLE_VERSION=5.1.* + - SYMFONY_CONSOLE_VERSION=5.2.* + - SYMFONY_CONSOLE_VERSION=5.3.* + - SYMFONY_CONSOLE_VERSION=5.4.* + - SYMFONY_CONSOLE_VERSION=6.0.* matrix: exclude: @@ -27,6 +31,22 @@ matrix: env: SYMFONY_CONSOLE_VERSION=5.0.* - php: 7.1 env: SYMFONY_CONSOLE_VERSION=5.1.* + - php: 7.1 + env: SYMFONY_CONSOLE_VERSION=5.2.* + - php: 7.1 + env: SYMFONY_CONSOLE_VERSION=5.3.* + - php: 7.1 + env: SYMFONY_CONSOLE_VERSION=5.4.* + - php: 7.1 + env: SYMFONY_CONSOLE_VERSION=6.0.* + - php: 7.2 + env: SYMFONY_CONSOLE_VERSION=6.0.* + - php: 7.3 + env: SYMFONY_CONSOLE_VERSION=6.0.* + - php: 7.4 + env: SYMFONY_CONSOLE_VERSION=6.0.* + - php: 8.0 + env: SYMFONY_CONSOLE_VERSION=3.4.* - php: 8.0 env: SYMFONY_CONSOLE_VERSION=4.0.* - php: 8.0 @@ -35,6 +55,16 @@ matrix: env: SYMFONY_CONSOLE_VERSION=4.2.* - php: 8.0 env: SYMFONY_CONSOLE_VERSION=4.3.* + - php: 8.1.0 + env: SYMFONY_CONSOLE_VERSION=3.4.* + - php: 8.1.0 + env: SYMFONY_CONSOLE_VERSION=4.0.* + - php: 8.1.0 + env: SYMFONY_CONSOLE_VERSION=4.1.* + - php: 8.1.0 + env: SYMFONY_CONSOLE_VERSION=4.2.* + - php: 8.1.0 + env: SYMFONY_CONSOLE_VERSION=4.3.* before_script: - composer self-update diff --git a/README.md b/README.md index 3de055c..01d05b8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # YaEtl -[![Documentation Status](https://readthedocs.org/projects/yaetl/badge/?version=latest)](http://yaetl.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/fab2s/YaEtl.svg?branch=master)](https://travis-ci.com/fab2s/YaEtl) [![Total Downloads](https://poser.pugx.org/fab2s/yaetl/downloads)](https://packagist.org/packages/fab2s/yaetl) [![Monthly Downloads](https://poser.pugx.org/fab2s/yaetl/d/monthly)](https://packagist.org/packages/fab2s/yaetl) [![Latest Stable Version](https://poser.pugx.org/fab2s/yaetl/v/stable)](https://packagist.org/packages/fab2s/yaetl) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/1f24395f-9b33-4d99-acc7-d286a5f54db4/mini.png)](https://insight.sensiolabs.com/projects/1f24395f-9b33-4d99-acc7-d286a5f54db4) [![Code Climate](https://codeclimate.com/github/fab2s/YaEtl/badges/gpa.svg)](https://codeclimate.com/github/fab2s/YaEtl) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/aa2adb7aac514da497b154d6ad37db3c)](https://www.codacy.com/app/fab2s/YaEtl) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/fab2s/YaEtl/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/fab2s/YaEtl/?branch=master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![License](https://poser.pugx.org/fab2s/nodalflow/license)](https://packagist.org/packages/fab2s/yaetl) +[![Documentation Status](https://readthedocs.org/projects/yaetl/badge/?version=latest)](http://yaetl.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.com/fab2s/YaEtl.svg?branch=master)](https://app.travis-ci.com/github/fab2s/YaEtl) [![Total Downloads](https://poser.pugx.org/fab2s/yaetl/downloads)](https://packagist.org/packages/fab2s/yaetl) [![Monthly Downloads](https://poser.pugx.org/fab2s/yaetl/d/monthly)](https://packagist.org/packages/fab2s/yaetl) [![Latest Stable Version](https://poser.pugx.org/fab2s/yaetl/v/stable)](https://packagist.org/packages/fab2s/yaetl) [![SymfonyInsight](https://insight.symfony.com/projects/e32223ea-d551-47b4-b46d-3175d426553b/mini.svg)](https://insight.symfony.com/projects/e32223ea-d551-47b4-b46d-3175d426553b) [![Code Climate](https://codeclimate.com/github/fab2s/YaEtl/badges/gpa.svg)](https://codeclimate.com/github/fab2s/YaEtl) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/fab2s/YaEtl/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/fab2s/YaEtl/?branch=master) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat)](http://makeapullrequest.com) [![License](https://poser.pugx.org/fab2s/nodalflow/license)](https://packagist.org/packages/fab2s/yaetl) `YaEtl` ("Yay'TL", or YetAnotherEtl) is a PHP implementation of an Extract-Transform-Load (aka ETL) workflow based on [NodalFlow](https://github.com/fab2s/NodalFlow). ETL workflow comes handy in numerous situations where a lot of records meet with various sources, format and repositories. @@ -267,7 +267,7 @@ Please have a look at [NodalFlow documentation](https://github.com/fab2s/NodalFl ## Requirements -`YaEtl` is tested against php 7.2, 7.3, 7.4 and 8.0 +`YaEtl` is tested against php 7.2, 7.3, 7.4, 8.0 and 8.1 ## Contributing diff --git a/composer.json b/composer.json index 8dc748e..d032d96 100644 --- a/composer.json +++ b/composer.json @@ -38,8 +38,8 @@ "require-dev": { "ext-pdo": "*", "phpunit/phpunit": "^8.0|^7.5", - "symfony/console": "^5.0|^4.0|^3.4|^2.8", - "symfony/event-dispatcher": "^5.0|^4.0|^3.4|^2.8" + "symfony/console": "^6.0|^5.0|^4.0|^3.4|^2.8", + "symfony/event-dispatcher": "^6.0|^5.0|^4.0|^3.4|^2.8" }, "suggest": { "symfony/console": "To use ProgressBarSubscriber", diff --git a/tests/JoinTest.php b/tests/JoinTest.php index b4117e2..cd2be2a 100644 --- a/tests/JoinTest.php +++ b/tests/JoinTest.php @@ -58,7 +58,7 @@ public function testJoin(YaEtl $flow, bool $isLeft) $expectedRecords = array_values($this->expectedJoinRecords); } - $this->assertSame($expectedRecords, $this->getTableAll(self::TO_TABLE), 'Result table did not match ' . ($isLeft ? 'Left' : '') . 'Join constraint'); + $this->assertEquals($expectedRecords, $this->getTableAll(self::TO_TABLE), 'Result table did not match ' . ($isLeft ? 'Left' : '') . 'Join constraint'); } /**