summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-04-02 18:57:28 +0300
committerAndrew Dolgov <[email protected]>2023-04-02 18:57:28 +0300
commitfe6a453e6682ed107b449dfbcf98e883e5b3c090 (patch)
tree271b52e2b5be95ac093d50f37f79064907c7da42
parent582f37d6c58039c1e127cc65ca491738162ce643 (diff)
add phpstan
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 12328f2..cb9b797 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,6 @@ phpstan:
name: ${CI_TTRSS_IMAGE}
pull_policy: always
script:
- - pwd
- - ls
- - ls /src
+ - cd /src/tt-rss
+ - ln -sf ${CI_PROJECT_DIR} plugins/${CI_PROJECT_NAME}
+ - php81 ./vendor/bin/phpstan analyze plugins/${CI_PROJECT_NAME}