Skip to content

Commit

Permalink
Bump dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Jul 29, 2024
1 parent c02b9c4 commit e311ccb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 16 deletions.
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
2 changes: 0 additions & 2 deletions src/YoutubeDl.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
use YoutubeDl\Process\DefaultProcessBuilder;
use YoutubeDl\Process\ProcessBuilderInterface;
use YoutubeDl\Process\TableParser;

use const PREG_SET_ORDER;

use function basename;
use function count;
use function explode;
Expand Down

0 comments on commit e311ccb

Please sign in to comment.