Skip to content

Commit

Permalink
Merge pull request #146 from Slamdunk/conflicts
Browse files Browse the repository at this point in the history
Explicit composer.json conflicts for unsupported deps
  • Loading branch information
Slamdunk authored Jun 7, 2021
2 parents 29c691f + 60c81b8 commit ed6c972
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
13 changes: 9 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@
},
"conflict": {
"doctrine/annotations": "<1.12.0",
"laminas/laminas-servicemanager": "<3.6.0"
"laminas/laminas-captcha": "<2.10.0",
"laminas/laminas-eventmanager": "<3.3.0",
"laminas/laminas-i18n": "<2.11.0",
"laminas/laminas-recaptcha": "<3.3.0",
"laminas/laminas-servicemanager": "<3.6.0",
"laminas/laminas-view": "<2.12.0"
},
"require-dev": {
"ext-intl": "*",
"doctrine/annotations": "^1.12.0",
"laminas/laminas-captcha": "^2.10.0",
"laminas/laminas-coding-standard": "^2.2.1",
"laminas/laminas-coding-standard": "^2.3.0",
"laminas/laminas-escaper": "^2.7.0",
"laminas/laminas-eventmanager": "^3.3.1",
"laminas/laminas-filter": "^2.11.0",
Expand All @@ -34,8 +39,8 @@
"laminas/laminas-validator": "^2.14.4",
"laminas/laminas-view": "^2.12.0",
"phpspec/prophecy-phpunit": "^2.0.1",
"phpunit/phpunit": "^9.5.4",
"psalm/plugin-phpunit": "^0.15.1",
"phpunit/phpunit": "^9.5.5",
"psalm/plugin-phpunit": "^0.16.0",
"vimeo/psalm": "^4.7.3"
},
"suggest": {
Expand Down
3 changes: 0 additions & 3 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@

<!-- Include all rules from the Laminas Coding Standard -->
<rule ref="LaminasCodingStandard"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
<exclude-pattern>src\/Annotation\/</exclude-pattern>
</rule>
</ruleset>
3 changes: 0 additions & 3 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,6 @@
<code>$elements</code>
<code>$fieldsets</code>
</PossibleRawObjectIteration>
<TooManyArguments occurrences="1">
<code>setValidationGroup</code>
</TooManyArguments>
</file>
<file src="src/Fieldset.php">
<DocblockTypeContradiction occurrences="2">
Expand Down
5 changes: 0 additions & 5 deletions src/Annotation/Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
use Doctrine\Common\Annotations\Annotation;
use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor;

use function sprintf;
use function trigger_error;

use const E_USER_DEPRECATED;

/**
* Instance (formerly "object") annotation
*
Expand Down

0 comments on commit ed6c972

Please sign in to comment.