Skip to content

Commit 0522279

Browse files
authored
Merge pull request #25 from utopia-php/static-analysis
2 parents 9291c46 + 6b6aa38 commit 0522279

31 files changed

Lines changed: 1038 additions & 3644 deletions

.github/workflows/code-ql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- name: Run CodeQL
1818
run: |
1919
docker run --rm -v $PWD:/app composer:2.6 sh -c \
20-
"composer install --profile --ignore-platform-reqs && composer check"
20+
"composer install --profile --ignore-platform-reqs && composer check"

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM composer:2.0 AS composer
1+
FROM composer:2 AS composer
22

33
WORKDIR /usr/local/src/
44
COPY composer.lock /usr/local/src/
55
COPY composer.json /usr/local/src/
66

7-
RUN composer update \
7+
RUN composer install \
88
--ignore-platform-reqs \
99
--optimize-autoloader \
1010
--no-plugins \

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@
3131
"utopia-php/fetch": "0.5.*"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "^9.3",
35-
"vimeo/psalm": "4.0.1",
36-
"laravel/pint": "1.2.*",
37-
"phpstan/phpstan": "1.9.x-dev"
34+
"laravel/pint": "^1.18",
35+
"phpstan/phpstan": "^2.0",
36+
"phpunit/phpunit": "^12.0"
3837
}
39-
}
38+
}

0 commit comments

Comments
 (0)