From 675642be01d7890d2c944f59eef44ea821f34860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Barto=C5=A1?= Date: Thu, 13 Jun 2019 16:01:42 +0200 Subject: [PATCH] Update build --- .docs/README.md | 5 +++++ .travis.yml | 11 +++++------ README.md | 10 +++++----- composer.json | 3 ++- phpstan.neon | 5 ----- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.docs/README.md b/.docs/README.md index 6cb2a10..0282d17 100644 --- a/.docs/README.md +++ b/.docs/README.md @@ -2,6 +2,11 @@ Console commands for [Apitte](https://github.com/apitte/core). +## Content + +- [Setup](#setup) +- [Commands](#commands) + ## Setup First of all, setup [core](https://github.com/apitte/core) package. diff --git a/.travis.yml b/.travis.yml index 8b72f80..f6927d1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: php php: - - 7.1 - 7.2 - 7.3 - 7.4snapshot @@ -20,21 +19,21 @@ after_failure: jobs: include: - - env: title="Lowest Dependencies 7.1" - php: 7.1 + - env: title="Lowest Dependencies 7.2" + php: 7.2 install: - travis_retry composer update --no-progress --prefer-dist --prefer-lowest --prefer-stable script: - make tests - stage: Quality Assurance - php: 7.1 + php: 7.3 script: - make qa - stage: Test Coverage if: branch = master AND type = push - php: 7.1 + php: 7.3 script: - make coverage after_script: @@ -43,7 +42,7 @@ jobs: - stage: Outdated Dependencies if: branch = master AND type = cron - php: 7.1 + php: 7.3 script: - composer outdated --direct diff --git a/README.md b/README.md index 1d4a9f0..6c9369e 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,11 @@ Console commands for [Apitte](https://github.com/apitte/core). [![Join the chat](https://img.shields.io/gitter/room/apitte/apitte.svg?style=flat-square)](http://bit.ly/apittegitter) +## Documentation + +- [Setup](.docs/README.md#setup) +- [Commands](.docs/README.md#commands) + ## Version | State | Version | Branch | PHP | Composer | @@ -22,11 +27,6 @@ Console commands for [Apitte](https://github.com/apitte/core). | stable | `^0.5.0` | `master` | `>= 7.1` | | | stable | `^0.3.0` | `master` | `>= 5.6` | | -## Documentation - -- [Setup](.docs/README.md#setup) -- [Commands](.docs/README.md#commands) - ## Maintainers diff --git a/composer.json b/composer.json index 7e4713e..0070518 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "license": "MIT", "homepage": "https://github.com/apitte/console", "require": { - "php": ">= 7.1", + "php": "^7.2", "apitte/core": "^0.6.0", "symfony/console": "^4.1.1" }, @@ -19,6 +19,7 @@ "nette/di": "~2.4.15", "ninjify/nunjuck": "^0.2.0", "ninjify/qa": "^0.8.0", + "phpstan/extension-installer": "^1.0", "phpstan/phpstan-deprecation-rules": "^0.11", "phpstan/phpstan-nette": "^0.11", "phpstan/phpstan-shim": "^0.11", diff --git a/phpstan.neon b/phpstan.neon index 9e9adeb..e69de29 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +0,0 @@ -includes: - - vendor/phpstan/phpstan-deprecation-rules/rules.neon - - vendor/phpstan/phpstan-nette/extension.neon - - vendor/phpstan/phpstan-nette/rules.neon - - vendor/phpstan/phpstan-strict-rules/rules.neon