From 44300274a324070ec6d8627137a614691df061a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Sat, 7 Dec 2019 20:18:50 +0100 Subject: [PATCH 1/2] travis: run old php version on trusty dist --- .travis.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52d497fe..6268e8a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,16 @@ language: php -php: - - "5.4" - - "5.5" - - "5.6" - - "7.0" - - "7.1" - - "7.2" - - "7.3" +matrix: + include: + - php: "5.4" + dist: trusty + - php: "5.5" + dist: trusty + - php: "5.6" + - php: "7.0" + - php: "7.1" + - php: "7.2" + - php: "7.3" sudo: false From ca24bc8ac86ccef0c514f6e7aa8149df117e93d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=BDurek?= Date: Sat, 7 Dec 2019 21:08:24 +0100 Subject: [PATCH 2/2] composer: require phpcs 3.0 to fix autoloading issues on old php versions --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 19b7f590..fdb6375c 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require-dev": { "nette/tester": "~1.3", "jakub-onderka/php-console-highlighter": "~0.3", - "squizlabs/php_codesniffer": "~2.7" + "squizlabs/php_codesniffer": "~3.0" }, "suggest": { "jakub-onderka/php-console-highlighter": "Highlight syntax in code snippet"