mirror of
https://github.com/doctrine/mongodb-maker-bundle.git
synced 2026-03-23 22:42:07 +01:00
* Setup test * Draft implementation of make:document command * doctrine/mongodb-odm-bundle has now an official recipe * Add tests to MongoDBHelper * Update attribute namespace for ODM v2.16 * Fix tests * Require version 1.x from symfony/maker-bundle, as it exist in my fork and in the symfony repo * Add symfony/phpunit-bridge because it's symlinked in test environment 'https://github.com/symfony/maker-bundle/pull/480#pullrequestreview-304282682' * Add mongodb-atlas-local container to tests * Add PHP 8.5 polyfill
37 lines
1.2 KiB
XML
37 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<arg name="basepath" value="."/>
|
|
<arg name="extensions" value="php"/>
|
|
<arg name="parallel" value="80"/>
|
|
<arg name="cache" value=".phpcs-cache"/>
|
|
<arg name="colors"/>
|
|
|
|
<config name="php_version" value="80400"/>
|
|
|
|
<!-- Ignore warnings, show progress of the run and show sniff names -->
|
|
<arg value="nps"/>
|
|
|
|
<file>config</file>
|
|
<file>src</file>
|
|
<file>tests/TestKernel.php</file>
|
|
<file>tests/BundleTest.php</file>
|
|
<file>tests/Maker</file>
|
|
|
|
<rule ref="Doctrine" />
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint" />
|
|
<rule ref="PSR2.Classes.PropertyDeclaration.ScopeMissing" />
|
|
|
|
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
|
|
<exclude-pattern>tests/*</exclude-pattern>
|
|
</rule>
|
|
|
|
<rule ref="Squiz.Classes.ClassFileName.NoMatch">
|
|
<exclude-pattern>tests/*</exclude-pattern>
|
|
</rule>
|
|
|
|
<!-- Don't enforce traversable type hints in tests -->
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification">
|
|
<exclude-pattern>tests/*</exclude-pattern>
|
|
</rule>
|
|
</ruleset>
|