Skip to content

Commit 48a9108

Browse files
committed
migrate to PSL
Signed-off-by: azjezz <[email protected]>
1 parent 95d5537 commit 48a9108

File tree

75 files changed

+1349
-1630
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+1349
-1630
lines changed

.github/workflows/mutation-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,16 @@ jobs:
6565
vendor/bin/roave-infection-static-analysis-plugin \
6666
--ignore-msi-with-no-mutations \
6767
--git-diff-filter=AM \
68-
--git-diff-base=origin/${{ github.base_ref }}
68+
--git-diff-base=origin/${{ github.base_ref }} \
69+
--min-covered-msi=100 \
70+
--min-msi=97
6971
env:
7072
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
7173
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
7274

7375
- name: "Infection"
7476
if: ${{ github.base_ref == '' }}
75-
run: vendor/bin/roave-infection-static-analysis-plugin --ignore-msi-with-no-mutations
77+
run: vendor/bin/roave-infection-static-analysis-plugin --ignore-msi-with-no-mutations --min-covered-msi=100 --min-msi=97
7678
env:
7779
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
7880
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ LABEL "maintainer"="https://github.com/laminas/technical-steering-committee/"
1515

1616
WORKDIR /app
1717

18-
RUN apk add --no-cache git gnupg libzip \
18+
RUN apk add --no-cache git gnupg libzip icu-dev \
1919
&& apk add --no-cache --virtual .build-deps libzip-dev \
2020
&& docker-php-ext-install zip \
21+
&& docker-php-ext-install bcmath \
22+
&& docker-php-ext-configure intl \
23+
&& docker-php-ext-install intl \
2124
&& apk del .build-deps
2225

2326
COPY composer.* /app/

composer.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,20 @@
1010
},
1111
"require": {
1212
"php": "^8.0.0",
13-
"ocramius/package-versions": "^2.3.0",
13+
"azjezz/psl": "^1.7.1",
1414
"jwage/changelog-generator": "^1.3.0",
1515
"laminas/laminas-diactoros": "^2.5.0",
1616
"lcobucci/clock": "^2.0.0",
1717
"monolog/monolog": "^2.2.0",
18+
"ocramius/package-versions": "^2.3.0",
1819
"phly/keep-a-changelog": "^2.11.0",
1920
"php-http/curl-client": "^2.2.0",
2021
"php-http/discovery": "^1.13.0",
2122
"php-http/httplug": "^2.2.0",
2223
"psr/http-client": "^1.0.1",
2324
"psr/http-message": "^1.0.1",
2425
"psr/log": "^1.1.3",
25-
"symfony/console": "^5.2.3",
26-
"symfony/process": "^5.2.2",
27-
"thecodingmachine/safe": "^1.3.3",
28-
"webmozart/assert": "^1.9.1"
26+
"symfony/console": "^5.2.3"
2927
},
3028
"autoload-dev": {
3129
"psr-4": {
@@ -34,11 +32,12 @@
3432
},
3533
"require-dev": {
3634
"doctrine/coding-standard": "^8.2.0",
35+
"php-standard-library/psalm-plugin": "^1.1.1",
3736
"phpunit/phpunit": "^9.5.0",
3837
"psalm/plugin-phpunit": "^0.15.1",
3938
"roave/infection-static-analysis-plugin": "^1.7",
4039
"squizlabs/php_codesniffer": "^3.5.8",
41-
"vimeo/psalm": "^4.3.2"
40+
"vimeo/psalm": "^4.7.2"
4241
},
4342
"config": {
4443
"sort-packages": true

0 commit comments

Comments
 (0)