Skip to content

Commit e552610

Browse files
committed
Model: Fix transitions replacing URL variables wrong
1 parent 77feee3 commit e552610

15 files changed

+478
-3750
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
/tests/statics/index.*
99
src/Michelf/*
1010
src/.gitignore
11+
vendor/**
1112

1213
# JIRA plugin
1314
atlassian-ide-plugin.xml

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ php:
33
- '5.6'
44
- '7.0'
55
before_script:
6+
- flags="--prefer-dist"
7+
- composer install $flags
68
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then wget https://phar.phpunit.de/phpunit-5.7.phar; fi
79
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then mv phpunit-5.7.phar phpunit; fi
810
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then chmod +x phpunit; fi

build.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,17 @@
6161
<include name="**/*.js*"/>
6262
<include name="**/*.css*"/>
6363
</fileset>
64+
<fileset dir="vendor/michelf/php-markdown/">
65+
<include name="**/*.php"/>
66+
</fileset>
67+
<fileset dir="vendor/ql/uri-template/src">
68+
<include name="**/*.php"/>
69+
</fileset>
6470
</copy>
6571
<copy todir="${basedir}/build/phar/phpdraft">
6672
<fileset dir="${basedir}">
67-
<include name="**/*.json*"/>
6873
<include name="**/index.php"/>
74+
<exclude name="vendor/**"/>
6975
</fileset>
7076
</copy>
7177

composer.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,20 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=5.4.0"
19+
"php": ">=5.4.0",
20+
"composer/installers": "~1.0",
21+
"ql/uri-template": "1.*",
22+
"michelf/php-markdown": "1.*"
2023
},
2124
"require-dev": {
2225
"theseer/autoload": "^1.22"
26+
},
27+
"autoload": {
28+
"psr-4": { "PHPDraft\\": "src/PHPDraft" }
29+
},
30+
"autoload-dev": {
31+
"classmap": [
32+
"tests/"
33+
]
2334
}
2435
}

0 commit comments

Comments
 (0)