Skip to content

Commit

Permalink
fix compatibility problems with chameleon installer
Browse files Browse the repository at this point in the history
  • Loading branch information
oetterer committed Jul 15, 2024
1 parent 00ca967 commit 3acfb10
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 33 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"require": {
"php": ">=8.0",
"composer/installers": "^2",
"composer/installers": "^2|^1.0.1",
"mediawiki/bootstrap": "^5.0"
},
"require-dev": {
Expand Down
52 changes: 20 additions & 32 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,34 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
cacheTokens="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
verbose="true">
<testsuites>
<testsuite name="bootstrap-components-unit">
<directory>tests/phpunit/Unit</directory>
</testsuite>
<testsuite name="bootstrap-components-integration">
<directory>tests/phpunit/Integration</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<var name="wgUseFileCache" value="false"/>
<var name="seqlgHttpResponseCacheType" value="hash"/>
<var name="benchmarkPageCopyCount" value="1000"/>
<var name="benchmarkPageEditRepetitionCount" value="50"/>
</php>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false" bootstrap="tests/bootstrap.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" verbose="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage includeUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="bootstrap-components-unit">
<directory>tests/phpunit/Unit</directory>
</testsuite>
<testsuite name="bootstrap-components-integration">
<directory>tests/phpunit/Integration</directory>
</testsuite>
</testsuites>
<php>
<var name="wgUseFileCache" value="false"/>
<var name="seqlgHttpResponseCacheType" value="hash"/>
<var name="benchmarkPageCopyCount" value="1000"/>
<var name="benchmarkPageEditRepetitionCount" value="50"/>
</php>
</phpunit>

0 comments on commit 3acfb10

Please sign in to comment.