Skip to content

Commit

Permalink
Run tests with latest monolog (#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Aug 1, 2022
1 parent f50e473 commit 4e59c81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -16,7 +16,7 @@
}
],
"require": {
"php": ">=7.4 || >=8.0",
"php": ">=7.4",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/yaml": "^4.4.0 || ^5.0.0 || ^6.0.0",
"symfony/config": "^4.4.0 || ^5.0.0 || ^6.0.0",
Expand All @@ -29,7 +29,7 @@
"require-dev": {
"ext-pdo": "*",
"ext-json": "*",
"monolog/monolog": "^1.3 || ^2.3",
"monolog/monolog": "^1.3 || ^2.3 || ^3.0",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.5.0",
"spryker/code-sniffer": "^0.17.2",
Expand Down
8 changes: 8 additions & 0 deletions phpcs.xml
Expand Up @@ -17,6 +17,14 @@
<rule ref="vendor/spryker/code-sniffer/SprykerStrict/ruleset.xml">
<exclude name="SprykerStrict.TypeHints.ParameterTypeHint"/>
<exclude name="SprykerStrict.TypeHints.PropertyTypeHint"/>
<exclude name="SprykerStrict.TypeHints.ReturnTypeHint"/>
</rule>

<rule ref="Spryker.Internal.SprykerDisallowFunctions">
<properties>
<!-- We want to prevent 8.0+ functions to break 7.4 compatibility -->
<property name="phpVersion" value="7.4"/>
</properties>
</rule>

<!-- exclude for now -->
Expand Down

0 comments on commit 4e59c81

Please sign in to comment.