Skip to content

Commit

Permalink
minor : bump packages
Browse files Browse the repository at this point in the history
  • Loading branch information
encreinformatique committed May 10, 2024
1 parent 922206f commit a642038
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ jobs:
- name: Process the tests
run: vendor/bin/phpunit

- name: Tests with lowest posible packages
run: |
composer update $COMPOSER_FLAGS --no-interaction --prefer-dist --prefer-lowest --no-progress --ansi
vendor/bin/phpunit
- name: Tests with highest posible packages
run: |
composer update $COMPOSER_FLAGS --no-interaction --prefer-dist --prefer-highest --no-progress --ansi
vendor/bin/phpunit
# Too much conflict with PHPUnit and old low package versions
# - name: Tests with lowest posible packages
# run: |
# composer update $COMPOSER_FLAGS --no-interaction --prefer-dist --prefer-lowest --no-progress --ansi
# vendor/bin/phpunit
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"bentools/doctrine-static": "1.0.x-dev",
"doctrine/dbal": "~2.5 <=2.9",
"nyholm/symfony-bundle-test": "~1.8",
"phpunit/phpunit": "~8.0|~9.0",
"phpunit/phpunit": "^8.5.38|~9.0",
"symfony/config": "~4.0|~5.0|~6.0",
"symfony/dependency-injection": "~3.0|~4.0|~5.0|~6.0",
"symfony/framework-bundle": "~3.0|~4.0|~5.0|~6.0",
Expand All @@ -32,7 +32,8 @@
"symfony/security": "~3.0|~4.0|~5.0|~6.0",
"symfony/var-dumper": "~3.0|~4.0|~5.0|~6.0",
"symfony/yaml": "~3.0|~4.0|~5.0|~6.0",
"twig/twig": "~1.0|~2.0"
"twig/twig": "~1.0|~2.0",
"web-token/jwt-util-ecc": ">=2.1"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 2 additions & 0 deletions src/Command/WebPushGenerateKeysCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
namespace BenTools\WebPushBundle\Command;

use Minishlink\WebPush\VAPID;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Style\SymfonyStyle;
use Symfony\Component\HttpKernel\Kernel;

#[AsCommand('webpush:generate:keys')]
final class WebPushGenerateKeysCommand extends Command
{
protected static $defaultName = 'webpush:generate:keys';
Expand Down

0 comments on commit a642038

Please sign in to comment.