Files
XC_VM/tests/phpunit.xml.dist
T
Divarion_D 1aede3bf4c refactor(i18n): co-locate language files with the Translator
Move the .ini language files from src/resources/langs/ to
src/Core/Localization/lang/, next to the Translator subsystem that owns
them — which already defaulted its $langsDir to __DIR__ . '/lang/'. This
dissolves the now-vestigial src/resources/ bucket (its data/ tree went
with admin_constants, libs/ was empty).

- bootstrap.php calls Translator::init() with no argument, relying on the
  class's own __DIR__-relative default instead of MAIN_HOME . 'resources/langs/'.
- Makefile LB removal list points at Core/Localization/lang (and drops the
  gone resources/langs, resources/libs); LB still ships no UI translations.
- Drop the stale src/resources entries from phpstan scanDirectories and the
  phpunit coverage excludes.
- Update the English docs (translations guide, build-system table); the ru
  tree is regenerated before release.
2026-08-31 21:28:16 +03:00

27 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" defaultTestSuite="XC_VM Unit" bootstrap="bootstrap.php" cacheDirectory=".cache/phpunit" colors="true" failOnRisky="true" failOnWarning="true">
<testsuites>
<testsuite name="XC_VM Unit">
<directory>Unit</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">../src/Core</directory>
<directory suffix=".php">../src/Domain</directory>
<directory suffix=".php">../src/Infrastructure</directory>
<directory suffix=".php">../src/Modules</directory>
<directory suffix=".php">../src/Streaming</directory>
<directory suffix=".php">../src/Cli</directory>
<file>../src/autoload.php</file>
<file>../src/bootstrap.php</file>
</include>
<exclude>
<directory suffix=".php">../src/Public/Views</directory>
<directory suffix=".php">../src/config</directory>
<directory suffix=".php">../src/ministra</directory>
<directory suffix=".php">../src/content</directory>
</exclude>
</source>
</phpunit>