Skip to content

Commit

Permalink
Complete the update to PHP 8.2 in composer, docker, github
Browse files Browse the repository at this point in the history
  • Loading branch information
bakert committed Oct 31, 2024
1 parent c293a60 commit 447eff6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
extensions: curl, mysqli

- name: Setup problem matchers for PHP
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.1-apache as compose
FROM php:8.2-apache as compose
WORKDIR /restore
COPY composer.* ./
RUN apt-get update && apt-get install -y git zip unzip
Expand All @@ -8,7 +8,7 @@ RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli
RUN curl --silent --show-error https://getcomposer.org/installer | php
RUN php composer.phar --version && php composer.phar install

FROM php:8.1-apache
FROM php:8.2-apache
LABEL maintainer="Katelyn Gigante"
RUN apt-get update && apt-get install -y git zip unzip

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"scripts": {
"qa": ["@tests", "@analyze", "@lint", "@jstests"],
"tests": "vendor/bin/phpunit --stop-on-defect tests",
"lint": "vendor/bin/phpcs -d memory_limit=2G --runtime-set testVersion 8.1 .",
"autofix": "vendor/bin/phpcbf -d memory_limit=2G --runtime-set testVersion 8.1 .",
"lint": "vendor/bin/phpcs -d memory_limit=2G --runtime-set testVersion 8.2 .",
"autofix": "vendor/bin/phpcbf -d memory_limit=2G --runtime-set testVersion 8.2 .",
"analyze": "vendor/bin/phpstan --memory-limit=2G && vendor/bin/psalm --no-cache --threads=1",
"jstests": "bun test"
},
Expand Down

0 comments on commit 447eff6

Please sign in to comment.