Danny van Kooten
|
127f6e9699
|
fix #241
2.0.1
|
2019-11-23 12:01:41 +01:00 |
|
Danny van Kooten
|
a80bb36f11
|
add test for #241
|
2019-11-23 11:35:40 +01:00 |
|
Danny van Kooten
|
a51c74793a
|
benchmark using real-life api for a better comparison
|
2019-11-10 21:16:42 +01:00 |
|
Danny van Kooten
|
7e2b48db00
|
type-hint array in constructor parameter too
2.0
|
2019-11-10 20:33:12 +01:00 |
|
Danny van Kooten
|
3a97b2c432
|
use short array notation in readme too
|
2019-11-10 20:32:52 +01:00 |
|
Danny van Kooten
|
98e97407de
|
use vendored phpunit in travis
|
2019-11-10 20:27:38 +01:00 |
|
Danny van Kooten
|
17d00ed90e
|
update readme
|
2019-11-10 20:26:36 +01:00 |
|
Danny van Kooten
|
a34caaf60c
|
Merge pull request #234 from DevFelixDorn/code-maintainability
Add PHPCS & type-hinting for array function arguments. Use (CS enforced) short array notation everywhere. Thanks @DevFelixDorn
|
2019-11-10 20:18:39 +01:00 |
|
Félix Dorn
|
a01166760c
|
phpcs formatting
|
2019-07-03 21:44:06 +02:00 |
|
Félix Dorn
|
cd918de64b
|
add @covers on every test, remove array long syntax
|
2019-07-03 21:43:47 +02:00 |
|
Félix Dorn
|
2360f527b0
|
add type hinting, removed array long syntax
|
2019-07-03 21:40:17 +02:00 |
|
Félix Dorn
|
24360d6162
|
add php-cs to match with PSR2 requirements
|
2019-07-03 21:39:35 +02:00 |
|
Danny van Kooten
|
dce6efdea2
|
fix phpunit on older php versions
|
2019-02-07 09:52:34 +01:00 |
|
Danny van Kooten
|
ecb5f69042
|
use travis phpunit so that we can test on lower php versions too
|
2019-02-07 09:44:18 +01:00 |
|
Danny van Kooten
|
9e9767e8fa
|
add support for php's built-in web server to example. #226
|
2019-02-07 09:38:22 +01:00 |
|
Danny van Kooten
|
87d93b6840
|
update benchmark
|
2019-02-07 09:16:23 +01:00 |
|
Danny van Kooten
|
9bdfc55eb3
|
fix tests by making compileRoute protected instead
|
2019-02-07 09:16:13 +01:00 |
|
Danny van Kooten
|
df96d7270c
|
update to phpunit 7.5
|
2019-02-06 20:13:21 +01:00 |
|
Danny van Kooten
|
e2a07ec452
|
test recent php versions, stop testing 5.3-5.5
|
2019-02-06 20:01:07 +01:00 |
|
Danny van Kooten
|
ca2d425bc6
|
add example for url generation to readme
|
2018-08-19 11:51:01 +02:00 |
|
Danny van Kooten
|
281c5631db
|
add license to main php file too
|
2018-08-19 11:47:59 +02:00 |
|
Danny van Kooten
|
58299f4d0d
|
add license file
|
2018-08-19 11:47:09 +02:00 |
|
Danny van Kooten
|
1ff4165b28
|
improve benchmark by preparing first, matching & only mapping two routes
|
2017-04-10 16:36:22 +02:00 |
|
Koen Punt
|
689670f4dc
|
Merge pull request #99 from koenpunt/bare-optional-parameter
Allow for optional parameters on bare/root url
|
2017-04-04 20:37:25 +02:00 |
|
Koen Punt
|
72dd5199bd
|
multi optional
|
2017-04-02 20:41:58 +02:00 |
|
Koen Punt
|
be64536dcb
|
prevent strip of preceding slash at base
|
2017-04-02 20:41:10 +02:00 |
|
Koen Punt
|
f18a57d481
|
add failing test for generate
|
2016-12-30 00:11:18 +01:00 |
|
Koen Punt
|
e72248c744
|
add failing test for #98
|
2016-12-30 00:11:18 +01:00 |
|
Koen Punt
|
693752b77a
|
simplify loop for non-param substring (#131)
optimize comparison using strcmp functions
|
2016-06-21 23:27:25 +02:00 |
|
Danny van Kooten
|
a8ee8e875f
|
Merge pull request #130 from dannyvankooten/strpos-request-method
Use `stripos` to compare request method (instead of `explode` + `in_array`) for improved performance.
|
2016-06-21 22:37:56 +02:00 |
|
Danny van Kooten
|
48524b67cb
|
Add benchmark script to tests directory for easy benchmarking.
|
2016-06-21 15:27:21 +02:00 |
|
Danny van Kooten
|
39c5009247
|
Merge pull request #136 from koenpunt/travis-docker
Optimize Travis builds, thanks @koenpunt!
v1.2.0
|
2015-11-30 07:47:43 +07:00 |
|
Koen Punt
|
018771bee3
|
add php 7.0
|
2015-11-29 16:30:06 +01:00 |
|
Koen Punt
|
13f227e843
|
add composer to travis cache
|
2015-11-29 16:26:36 +01:00 |
|
Koen Punt
|
d5f3643888
|
disable sudo to use docker builds
|
2015-11-29 16:10:24 +01:00 |
|
Danny van Kooten
|
6fe6f4b196
|
Use stripos to compare request method, instead of explode + in_array .
|
2015-11-03 08:13:51 +07:00 |
|
Danny van Kooten
|
b0d115431e
|
Add tests for non-regex routes, see #100
|
2015-11-03 08:03:34 +07:00 |
|
Danny van Kooten
|
97b2ba7daf
|
Add PHPDocs for class properties.
|
2015-11-03 07:37:53 +07:00 |
|
Danny van Kooten
|
c3f7a669a8
|
Add @throws declaration to method that can throw an Exception.
|
2015-11-03 07:37:36 +07:00 |
|
Danny van Kooten
|
c9ce952af1
|
Remove unused alteration of $_REQUEST superglobal. Closes #104
|
2015-11-03 07:37:04 +07:00 |
|
Danny van Kooten
|
e7c5afefca
|
Add .gitattributes to ignore certain files & dirs when preparing export for things as Composer. (http://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production/)
|
2015-03-28 11:51:38 +01:00 |
|
Koen Punt
|
f0e9c913a6
|
blacklist vendor
|
2015-03-02 16:51:27 +01:00 |
|
Koen Punt
|
7b2e59a444
|
Merge pull request #107 from dannyvankooten/phpunit-config
Use local phpunit
|
2015-03-02 15:41:30 +01:00 |
|
Koen Punt
|
2035dab8be
|
rename phpunit.xml to phpunit.xml.dist
|
2015-03-02 15:13:56 +01:00 |
|
Koen Punt
|
88af3a6fa5
|
remove path to individual test
|
2015-03-02 15:10:38 +01:00 |
|
Koen Punt
|
ed1c3edfbd
|
Use local phpunit
Also, no need to specify the path to the config
|
2015-03-02 15:10:03 +01:00 |
|
Danny van Kooten
|
0e1e2b7d63
|
Add CodeClimate test coverage reporter to Travis. Refactor tests into /tests subdirectory.
|
2015-03-02 19:35:56 +07:00 |
|
Danny van Kooten
|
0c01df1128
|
Add Test Coverage badge to README
|
2015-03-02 19:28:32 +07:00 |
|
Koen Punt
|
179d2fe5bc
|
Merge pull request #105 from koenpunt/add-getroutes
add test for getRoutes
|
2015-03-01 20:53:39 +01:00 |
|
Koen Punt
|
3a932e7588
|
add test for getRoutes
remove obsolete getRoutes method from debug class
|
2015-03-01 20:47:54 +01:00 |
|