Skip to content

Commit

Permalink
Merge pull request #278 from keboola/jirka-ct-323-update-mapi-client
Browse files Browse the repository at this point in the history
CT-323 update mapi client to php8.1-8.3
  • Loading branch information
jirkasemmler authored Dec 3, 2024
2 parents d28fedf + bd4f4c6 commit a5e6d99
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
fail-fast: false
matrix:
php-version:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
- '8.3'
include:
- php-version: "8.1"
composer-options: "--ignore-platform-reqs"
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
ARG PHP_VERSION=7.4
ARG PHP_VERSION=8.1
# the default env bellow is used when build pipeline sends "PHP_VERSION=" - the above default value is ignored in that case
FROM php:${PHP_VERSION:-7.4} as dev
FROM php:${PHP_VERSION:-8.1} as dev

ARG XDEBUG_VERSION=2.9.8
ARG COMPOSER_FLAGS="--prefer-dist --no-interaction --classmap-authoritative --no-scripts"

MAINTAINER Martin Halamicek <martin@keboola.com>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mv ./composer.phar ~/bin/composer # or /usr/local/bin/composer
```json
{
"require": {
"php" : ">=5.4.0",
"php" : ">=8.1",
"keboola/kbc-manage-api-php-client": "~0.0"
}
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Keboola Management API Client",
"license": "MIT",
"require": {
"php" : "^7.4|^8.0",
"php" : ">=8.1",
"guzzlehttp/guzzle": "^7.0|^6.1"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion docker/xdebug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM keboola/manage-api-tests

RUN pecl install xdebug-2.9.8 \
RUN pecl install xdebug \
&& docker-php-ext-enable xdebug
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ parameters:
tmpDir: cache/.phpstan
parallel:
processTimeout: 300.0
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
ignoreErrors:
# other
- '#Method .* has no return type specified#'
- '#Property .* has no type specified#'
- '#Method (.*) has parameter (.*) with no type specified.#'
-
identifier: missingType.iterableValue
includes:
- phpstan-baseline.neon
- vendor/phpstan/phpstan-phpunit/extension.neon

0 comments on commit a5e6d99

Please sign in to comment.