Skip to content

Commit

Permalink
Merge pull request #195 from Jean85/master
Browse files Browse the repository at this point in the history
[PHP7] Deprecation of String class; hard constraint of supported PHP versions
  • Loading branch information
schmittjoh committed Dec 17, 2015
2 parents 75bd0f7 + 968e5e7 commit bbd5eb7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
phpunit.xml
vendor/

2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6

before_script: composer install --dev

Expand Down
2 changes: 2 additions & 0 deletions Security/Util/String.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
/**
* String utility functions.
*
* @deprecated This class will break in PHP 7; use hash_equals() instead
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
final class String
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"minimum-stability": "dev",
"require": {
"php": "~5.3",
"symfony/framework-bundle": "~2.1",
"symfony/security-bundle": "*",
"jms/metadata": "~1.0",
Expand Down

0 comments on commit bbd5eb7

Please sign in to comment.