mirror of
https://github.com/friendica/friendica
synced 2025-01-03 02:02:18 +00:00
Merge pull request #14571 from Art4/phpstan-level-0-in-addons
Phpstan level 0 in addons
This commit is contained in:
commit
7a8be0e87e
3 changed files with 293 additions and 287 deletions
|
@ -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
|
||||||
|
|
|
@ -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
Loading…
Reference in a new issue