Skip to content

Commit 24e4650

Browse files
committed
Merge branch 'release/1.6.0'
2 parents e963243 + 4f4be70 commit 24e4650

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+626
-2381
lines changed

.gitattributes

-7
This file was deleted.

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: php
22
php:
3-
- 5.4
43
- 5.5
54
- 5.6
65
- 7.0
@@ -23,12 +22,11 @@ before_script:
2322
- php tools/cliinstall.php --db=glpi-test --user=travis --tests
2423
- mv ../fields plugins/fields
2524
- cd plugins/fields
26-
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.4" ]]; then sed -e "s|.*"consolidation/robo".*$||" -i composer.json && composer update; fi
2725
- composer install -o
2826

2927
script:
28+
- vendor/bin/robo --no-interaction code:cs
3029
- mysql -u root -e 'select version();'
31-
- vendor/bin/phpcs -p --ignore=vendor --ignore=js --ignore=css --standard=vendor/glpi-project/coding-standard/GlpiStandard/ .
3230
- ./vendor/bin/atoum -bf tests/bootstrap.php -d tests/units/
3331

3432
matrix:

RoboFile.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* @see http://robo.li/
66
*/
77

8-
require_once 'RoboFilePlugin.php';
8+
require_once 'vendor/autoload.php';
99

10-
class RoboFile extends RoboFilePlugin
10+
class RoboFile extends Glpi\Tools\RoboFile
1111
{
1212
//Own plugin's robo stuff
1313
}

RoboFilePlugin.php

-142
This file was deleted.

composer.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
2+
"minimum-stability": "dev",
3+
"prefer-stable": true,
24
"require-dev": {
3-
"consolidation/robo": "dev-master@dev",
4-
"patchwork/jsqueeze": "~1.0",
5-
"natxet/CssMin": "~3.0",
6-
"glpi-project/coding-standard": "0.5",
5+
"glpi-project/tools": "^0.1.0",
76
"atoum/atoum": "^2.8"
87
},
98
"scripts": {
10-
"post-install-cmd": "patch -d vendor/atoum/atoum -p1 < tools/atoum-php71.patch"
9+
"post-install-cmd": "if [ $COMPOSER_DEV_MODE -eq 1 ]; then patch -d vendor/atoum/atoum -p1 < tools/atoum-php71.patch; fi"
10+
},
11+
"require": {
12+
"fedora/autoloader": "^0.2.1"
1113
}
1214
}

0 commit comments

Comments
 (0)