Skip to content

Commit

Permalink
Merge branch 'release/2.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Jul 7, 2020
2 parents 3e473b9 + 354b0be commit 130551f
Show file tree
Hide file tree
Showing 35 changed files with 2,153 additions and 1,613 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: php
php:
- 5.6
- 7.2
- 7.4
- nightly

before_script:
- composer self-update
Expand All @@ -11,10 +10,6 @@ before_script:
script:
- vendor/bin/robo --no-interaction code:cs --strict

matrix:
allow_failures:
- php: nightly

cache:
directories:
- $HOME/.composer/cache
2 changes: 1 addition & 1 deletion ajax/dropdownReplaceFindDevice.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
ORDER BY `name`
$LIMIT";
$result = $DB->query($query);
while ($data = $DB->fetch_assoc($result)) {
while ($data = $DB->fetchAssoc($result)) {
$outputval = Toolbox::unclean_cross_side_scripting_deep($data["name"]);

if ($displaywith) {
Expand Down
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"require": {
"php": "^7.2"
},
"require-dev": {
"glpi-project/tools": "^0.1"
},
"config": {
"optimize-autoloader": true,
"platform": {
"php": "5.6"
}
"php": "7.2.0"
},
"sort-packages": true
}
}
Loading

0 comments on commit 130551f

Please sign in to comment.