Skip to content

Commit

Permalink
[Cryptography] Update Dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Apricot committed Dec 15, 2023
1 parent 8c95643 commit db6e7df
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
php:
build:
context: ../
dockerfile: .docker/php/8.1/Dockerfile
dockerfile: php/Dockerfile
environment:
FRZB_CRYPTOGRAPHY_KEY: ${FRZB_CRYPTOGRAPHY_KEY}
FRZB_CRYPTOGRAPHY_IV: ${FRZB_CRYPTOGRAPHY_IV}
Expand Down
6 changes: 3 additions & 3 deletions .docker/php/8.1/Dockerfile → .docker/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/php:8.1-cli-bullseye
FROM arm64v8/php:8.3-cli-bullseye

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV PATH=$HOME/.composer/vendor/bin:$PATH
Expand Down Expand Up @@ -36,8 +36,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
&& ln -s $(composer config --global home) $HOME/.composer

# Configure PHP
COPY .docker/php/8.1/conf/conf.d/docker-php-ext-xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
COPY .docker/php/8.1/conf/php.development.ini /usr/local/etc/php/php.ini
COPY .docker/php/conf/conf.d/docker-php-ext-xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
COPY .docker/php/conf/php.development.ini /usr/local/etc/php/php.ini

WORKDIR /var/www/html

Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
php:
- "8.1"
- "8.2"
- "8.3"
include:
- php-versions: ["8.1", "8.2"]
- php-versions: ["8.1", "8.2", "8.3"]
- composer-options: "--ignore-platform-reqs"

steps:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ phpunit.xml
.env
.phpunit.result.cache
.php-cs-fixer.cache

###> git ###
composer.lock
###< git ###
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:
file: var/tests/coverage/coverage.xml
format: clover
environment:
php: 8.1.5
php: 8.3.0

filter:
excluded_paths:
Expand Down
33 changes: 17 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@
}
],
"require": {
"php": "^8.1",
"symfony/messenger": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/serializer": "^5.4|^6.0",
"symfony/yaml": "^5.4|^6.0",
"phpseclib/phpseclib": "^2.0"
"php": ">=8.1",
"symfony/messenger": "^5.4|^6|^7",
"symfony/framework-bundle": "^5.4|^6|^7",
"symfony/dependency-injection": "^5.4|^6|^7",
"symfony/serializer": "^5.4|^6|^7",
"symfony/yaml": "^5.4|^6|^7",
"phpseclib/phpseclib": "^2.0",
"fp4php/functional": "^4.20"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^9.5",
"phpunit/php-code-coverage": "^9.2",
"php-coveralls/php-coveralls": "^2.5",
"symfony/phpunit-bridge": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/process": "^5.4|^6.0",
"symfony/property-access": "^5.4|^6.0",
"symfony/var-dumper": "^5.4|^6.0",
"symfony/uid": "^5.4|^6.0",
"whsv26/functional": "^4.10",
"friendsofphp/php-cs-fixer": "^3.4",
"symfony/phpunit-bridge": "^5.4|^6|^7",
"symfony/event-dispatcher": "^5.4|^6|^7",
"symfony/process": "^5.4|^6|^7",
"symfony/property-access": "^5.4|^6|^7",
"symfony/var-dumper": "^5.4|^6|^7",
"symfony/uid": "^5.4|^6|^7",
"friendsofphp/php-cs-fixer": "^3.41",
"sempro/phpunit-pretty-print": "dev-develop"
},
"autoload": {
Expand All @@ -47,5 +47,6 @@
"test": ["php vendor/bin/phpunit --colors=always --verbose --configuration phpunit.xml.dist --log-junit var/tests/.phpunit.output.xml"],
"test-coverage": ["php vendor/bin/phpunit --colors=always --verbose --configuration phpunit.xml.dist --log-junit var/tests/.phpunit.output.xml --coverage-html var/tests/coverage --coverage-clover var/tests/coverage/coverage.xml"]
},
"minimum-stability": "dev"
"minimum-stability": "dev",
"prefer-stable": true
}

0 comments on commit db6e7df

Please sign in to comment.