Skip to content

Commit

Permalink
Merge branch 'release/0.10.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pprkut committed Feb 6, 2025
2 parents d1188d5 + ff7a0dc commit bafebc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,31 +112,23 @@
description="Analyse code with PHPStan">
<exec executable="phpstan">
<arg value="analyse" />
<arg path="${basedir}/src" />
<arg value="-c" />
<arg value="${basedir}/tests/phpstan.neon.dist" />
<arg value="--level" />
<arg value="4" />
<arg value="--no-progress" />
<arg value="--no-interaction" />
<arg value="--xdebug" />
</exec>
</target>

<target name="phpstan-ci"
description="Analyse code with PHPStan">
<exec executable="phpstan" output="${basedir}/build/logs/phpstan.xml">
<arg value="analyse" />
<arg path="${basedir}/src" />
<arg value="-c" />
<arg value="${basedir}/tests/phpstan.neon.dist" />
<arg value="--level" />
<arg value="4" />
<arg value="--error-format" />
<arg value="checkstyle" />
<arg value="--no-progress" />
<arg value="--no-interaction" />
<arg value="--xdebug" />
</exec>
</target>

Expand Down
3 changes: 3 additions & 0 deletions tests/phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# SPDX-License-Identifier: CC0-1.0

parameters:
level: 4
paths:
- ../src
bootstrapFiles:
- phpstan.autoload.inc.php
excludePaths:
Expand Down

0 comments on commit bafebc6

Please sign in to comment.