Skip to content

Commit

Permalink
update dependencies (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 authored Jan 21, 2022
1 parent 6983fbf commit 1e32f8f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 8 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: "Continuous Integration"

env:
PHP_EXTENSIONS: "opcache, mbstring"
PHP_INI_VALUES: "opcache.enable=1, opcache.enable_cli=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
PHP_INI_VALUES: "opcache.enable=1, opcache.fast_shutdown=0, zend.assertions=1, assert.exception=On, intl.default_locale=de, intl.use_exceptions=1, zend.exception_ignore_args=0"
COMPOSER_OPTIONS: "--optimize-autoloader --prefer-dist --prefer-stable -v"
TOOLS: "composer:v2"

Expand Down Expand Up @@ -127,6 +127,10 @@ jobs:
php-version: "8.2"
dependencies: "highest"
experimental: true
- operating-system: "ubuntu-20.04"
php-version: "8.2"
dependencies: "lowest"
experimental: true

steps:
- name: "Checkout"
Expand Down Expand Up @@ -404,13 +408,17 @@ jobs:

matrix:
operating-system:
- "ubuntu-18.04"
- "ubuntu-20.04"

php-version:
- "7.4"
- "8.0"
- "8.1"

dependencies:
- "highest"
- "lowest"

coverage-drivers:
- "xdebug"
Expand Down Expand Up @@ -486,13 +494,13 @@ jobs:
uses: "shivammathur/setup-php@2.16.0"
with:
php-version: "${{ matrix.php-version }}"
extensions: "${{ env.PHP_EXTENSIONS }}"
extensions: "${{ env.PHP_EXTENSIONS }}, sodium, intl"
ini-values: "${{ env.PHP_INI_VALUES }}"
coverage: "none"
tools: "${{ env.TOOLS }}"

- name: "Require Roave/BackwardCompatibilityCheck"
run: "composer require --no-update --no-interaction --prefer-dist --prefer-stable --dev \"roave/backward-compatibility-check:6.0.x-dev\" \"roave/better-reflection:5.0.x-dev\""
run: "composer require --no-update --no-interaction --prefer-dist --prefer-stable --dev \"roave/backward-compatibility-check:^6.1\" \"mimmi20/coding-standard:^2.6\" \"friendsofphp/php-cs-fixer:^3.4\""

- name: "Update dependencies with composer"
uses: "ramsey/composer-install@v1"
Expand All @@ -501,4 +509,4 @@ jobs:
composer-options: "${{ env.COMPOSER_OPTIONS }}"

- name: "Check for BC breaks"
run: "vendor/bin/roave-backward-compatibility-check --format=markdown"
run: "vendor/bin/roave-backward-compatibility-check --format=github-actions"
12 changes: 8 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"ext-mbstring": "*"
},
"require-dev": {
"mimmi20/coding-standard": "^2.6.1",
"mimmi20/coding-standard": "^2.6.2",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.4.0",
"phpstan/phpstan": "^1.4.2",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9.5.11"
"phpunit/phpunit": "^9.5.12"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand All @@ -45,6 +45,10 @@
},
"config": {
"preferred-install": "dist",
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
beStrictAboutResourceUsageDuringSmallTests="true"
convertDeprecationsToExceptions="true"
failOnEmptyTestSuite="true"
failOnIncomplete="true"
failOnRisky="true"
Expand Down
10 changes: 10 additions & 0 deletions src/IosData.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,5 +621,15 @@ final class IosData

'19C5026i' => '15.2b1',
'19C5036e' => '15.2b2',
'19C5044b' => '15.2b3',
'19C5050b' => '15.2b4',

'19C56' => '15.2',
'19C63' => '15.2.1',

'19D5026g' => '15.3b1',
'19D5040e' => '15.3b2',

'19D49' => '15.3rc',
];
}

0 comments on commit 1e32f8f

Please sign in to comment.