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 # SPDX-License-Identifier: CC0-1.0
parameters: parameters:
level: 1 level: 0
paths: paths:
- addon/
- src/ - src/
excludePaths:
analyse:
- addon/*/lang/*
- addon/*/vendor/*
scanDirectories: scanDirectories:
- mod - mod
- static - static

View file

@ -38,7 +38,7 @@ steps:
composer_install: composer_install:
image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION} image: friendicaci/php${PHP_MAJOR_VERSION}:php${PHP_VERSION}
commands: 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 - export COMPOSER_HOME=.composer
- ./bin/composer.phar validate - ./bin/composer.phar validate
- ./bin/composer.phar install --prefer-dist - ./bin/composer.phar install --prefer-dist

File diff suppressed because it is too large Load diff