Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dev deps #241

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: 8.2
php-version: 8.3

- name: "Install Dependencies with Composer"
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3

- name: "Run PHPStan"
run: |
Expand All @@ -46,11 +46,11 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: 8.1
php-version: 8.3
tools: cs2pr

- name: "Install Dependencies with Composer"
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3

- name: "Run PHP-CS-Fixer"
run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
Expand Down Expand Up @@ -81,15 +81,15 @@ jobs:
tools: flex

- name: "Install Dependencies with Composer"
uses: "ramsey/composer-install@v2"
uses: ramsey/composer-install@v3
env:
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
with:
composer-options: "--optimize-autoloader"

- name: "Run tests with PHPUnit"
env:
SYMFONY_DEPRECATIONS_HELPER: 'max[self]=2'
# env:
# SYMFONY_DEPRECATIONS_HELPER: 'max[self]=2'
run: vendor/bin/simple-phpunit

codecov:
Expand All @@ -103,10 +103,10 @@ jobs:
uses: shivammathur/setup-php@v2
with:
coverage: pcov
php-version: 8.2
php-version: 8.3

- name: "Install Dependencies with Composer"
uses: ramsey/composer-install@v2
uses: ramsey/composer-install@v3

- name: "Run tests with PHPUnit and collect coverage"
run: php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude="~vendor~" vendor/bin/simple-phpunit --colors=always --coverage-text -vvv
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
]);

return (new PhpCsFixer\Config())
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRiskyAllowed(true)
->setRules([
'@Symfony' => true,
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
},
"require-dev": {
"mikey179/vfsstream": "^1.6.11",
"php-cs-fixer/shim": "^3.49",
"phpstan/phpstan": "^1.10.57",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpstan/phpstan-strict-rules": "^1.5.2",
"symfony/phpunit-bridge": "^6.4.3"
"php-cs-fixer/shim": "^3.60",
"phpstan/phpstan": "^1.11.8",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"symfony/phpunit-bridge": "^6.4.10"
},
"autoload": {
"psr-4": { "YoutubeDl\\": "src/" }
Expand Down