Files
archived-mongodb-maker-bundle/phpcs.xml.dist
Jérôme Tamarelle e59afbe9e5 PHPORM-439 Initialize the make:document command (#3)
* 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
2026-01-30 12:01:03 +01:00

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>