Skip to content

Commit 68be757

Browse files
committed
CI fixes
1 parent e7db02d commit 68be757

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: "Install latest dependencies"
5454
run: |
5555
# Remove PHPStan as it requires a newer PHP
56-
composer remove phpstan/phpstan --dev --no-update
56+
composer remove phpstan/phpstan phpstan/phpstan-strict-rules --dev --no-update
5757
composer update ${{ env.COMPOSER_FLAGS }}
5858
5959
- name: "Run tests"

tests/BaseTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function expectPcreException($pattern, $error = null)
7373
self::fail('Preg function name is missing');
7474
}
7575

76-
if (null !== $error) {
76+
if (null === $error) {
7777
// Only use a message if the error can be reliably determined
7878
if (PHP_VERSION_ID >= 80000) {
7979
$error = 'Internal error';

0 commit comments

Comments
 (0)