Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Oct 21, 2021
1 parent a1459b1 commit 956764e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, openssl, sqlite3
extensions: json, mbstring, openssl, sqlite3, intl
coverage: xdebug

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, openssl, sqlite3
extensions: json, mbstring, openssl, sqlite3, intl
coverage: xdebug

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rector_checkstyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, openssl, sqlite3
extensions: json, mbstring, openssl, sqlite3, intl
coverage: none

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, openssl, sqlite3
extensions: json, mbstring, openssl, sqlite3, intl
coverage: xdebug

- name: Install Composer dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, openssl, sqlite3
extensions: json, mbstring, openssl, sqlite3, intl
coverage: xdebug

- name: Install Composer dependencies
Expand Down
5 changes: 1 addition & 4 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ parameters:
level: 8
paths:
- src
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
message: '#Parameter .* of static method CBOR\\Utils\:\:binToBigInteger\(\) expects string, string\|null given\.#'
Expand All @@ -27,10 +28,6 @@ parameters:
message: '#Instanceof between CBOR\\MapItem and CBOR\\MapItem will always evaluate to true\.#'
count: 1
path: src/MapObject.php
-
message: '#Casting to string something that.*s already string\.#'
count: 1
path: src/Tag/TimestampTag.php
-
message: '#Method CBOR\\OtherObject\\NullObject\:\:normalize\(\) should return mixed but return statement is missing\.#'
count: 1
Expand Down

0 comments on commit 956764e

Please sign in to comment.