-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update phpcs, phpstan, and phpunit related files
- Loading branch information
Dominic Tubach
committed
Oct 1, 2024
1 parent
a6dcbd0
commit 08aa3c1
Showing
7 changed files
with
46 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,40 @@ | ||
<?xml version="1.0"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" | ||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" | ||
colors="true" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
forceCoversAnnotation="true" | ||
bootstrap="tests/phpunit/bootstrap.php"> | ||
|
||
<php> | ||
<ini name="error_reporting" value="-1" /> | ||
<ini name="error_reporting" value="-1"/> | ||
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[direct]=0&baselineFile=./tests/ignored-deprecations.json"/> | ||
<!-- Currently nikic/php-parser version 5 conflicts with version 4 used by Drupal components. --> | ||
<env name="SYMFONY_PHPUNIT_REQUIRE" value="dms/phpunit-arraysubset-asserts:^0.5 nikic/php-parser:^4" /> | ||
</php> | ||
|
||
<testsuites> | ||
<testsuite name="Remote Tools Test Suite"> | ||
<testsuite name="de.systopia.remotetools Test Suite"> | ||
<directory>./tests/phpunit</directory> | ||
</testsuite> | ||
</testsuites> | ||
<filter> | ||
<whitelist> | ||
|
||
<coverage> | ||
<include> | ||
<directory suffix=".php">api</directory> | ||
<directory suffix=".php">CRM</directory> | ||
<directory suffix=".php">Civi</directory> | ||
<exclude> | ||
<directory>CRM/Remotetools/DAO</directory> | ||
</exclude> | ||
</whitelist> | ||
</filter> | ||
</include> | ||
<exclude> | ||
<directory>CRM/Remotetools/DAO</directory> | ||
</exclude> | ||
</coverage> | ||
|
||
<listeners> | ||
<listener class="Civi\Test\CiviTestListener"> | ||
<arguments/> | ||
</listener> | ||
</listeners> | ||
|
||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
version: "3" | ||
services: | ||
civicrm: | ||
image: michaelmcandrew/civicrm:${CIVICRM_IMAGE_TAG:-5-drupal} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters