Merge pull request #14571 from Art4/phpstan-level-0-in-addons

Phpstan level 0 in addons
This commit is contained in:
Hypolite Petovan 2024-12-02 09:29:16 -05:00 committed by GitHub
commit 7a8be0e87e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 293 additions and 287 deletions

View file

@ -3,11 +3,17 @@
# SPDX-License-Identifier: CC0-1.0
parameters:
level: 1
level: 0
paths:
- addon/
- src/
excludePaths:
analyse:
- addon/*/lang/*
- addon/*/vendor/*
scanDirectories:
- mod
- static

View file

@ -38,7 +38,7 @@ steps:
composer_install:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
commands:
- mkdir addon # create empty addon folder to appease composer
- git clone https://git.friendi.ca/friendica/friendica-addons.git addon
- export COMPOSER_HOME=.composer
- ./bin/composer.phar validate
- ./bin/composer.phar install --prefer-dist

File diff suppressed because it is too large Load diff