Skip to content

Commit

Permalink
support PHP ^7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Ešler committed Jul 10, 2020
1 parent 03a7ffb commit c27c1bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"description": "Lightweight yet powerful implementation of dependancy injection container with autowiring",
"license": "MIT",
"require": {
"php": "^7.2",
"psr/container": "^1.0"
},
"require-dev": {
"phpspec/phpspec": "^5.1",
"phpbench/phpbench": "@dev",
"phpunit/phpunit": "^8.0",
"doctrine/coding-standard": "^6.0"
"phpunit/phpunit": "^9.0",
"doctrine/coding-standard": "^8.0"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 4 additions & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
<arg value="ps"/>
<arg name="colors"/>

<file>benchmarks</file>
<file>src</file>
<file>tests</file>

<rule ref="Doctrine" />
<rule ref="Doctrine">
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingNativeTypeHint" />
</rule>
</ruleset>

0 comments on commit c27c1bb

Please sign in to comment.