This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree 5 files changed +55
-6
lines changed
5 files changed +55
-6
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+
3
+ dir=$( d=${0% [/\\]* } ; cd " $d " > /dev/null; cd " ../vendor/phpunit/phpunit" && pwd)
4
+
5
+ # See if we are running in Cygwin by checking for cygpath program
6
+ if command -v ' cygpath' > /dev/null 2>&1 ; then
7
+ # Cygwin paths start with /cygdrive/ which will break windows PHP,
8
+ # so we need to translate the dir path to windows format. However
9
+ # we could be using cygwin PHP which does not require this, so we
10
+ # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
11
+ if [[ $( which php) == /cygdrive/* ]]; then
12
+ dir=$( cygpath -m " $dir " ) ;
13
+ fi
14
+ fi
15
+
16
+ dir=$( echo $dir | sed ' s/ /\ /g' )
17
+ " ${dir} /phpunit" " $@ "
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ setlocal DISABLEDELAYEDEXPANSION
3
+ SET BIN_TARGET = %~dp0 /../vendor/phpunit/phpunit/phpunit
4
+ php " %BIN_TARGET% " %*
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+
3
+ dir=$( d=${0% [/\\]* } ; cd " $d " > /dev/null; cd " ../vendor/symfony/phpunit-bridge/bin" && pwd)
4
+
5
+ # See if we are running in Cygwin by checking for cygpath program
6
+ if command -v ' cygpath' > /dev/null 2>&1 ; then
7
+ # Cygwin paths start with /cygdrive/ which will break windows PHP,
8
+ # so we need to translate the dir path to windows format. However
9
+ # we could be using cygwin PHP which does not require this, so we
10
+ # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
11
+ if [[ $( which php) == /cygdrive/* ]]; then
12
+ dir=$( cygpath -m " $dir " ) ;
13
+ fi
14
+ fi
15
+
16
+ dir=$( echo $dir | sed ' s/ /\ /g' )
17
+ " ${dir} /simple-phpunit" " $@ "
Original file line number Diff line number Diff line change
1
+ @ ECHO OFF
2
+ setlocal DISABLEDELAYEDEXPANSION
3
+ SET BIN_TARGET = %~dp0 /../vendor/symfony/phpunit-bridge/bin/simple-phpunit
4
+ php " %BIN_TARGET% " %*
Original file line number Diff line number Diff line change 1
1
<?php
2
- /*
3
- * This file is part of the SncRedisBundle package.
2
+ /**
4
3
*
5
- * (c) Henrik Westphal <[email protected] >
4
+ * This file is part of phpFastCache.
5
+ *
6
+ * @license MIT License (MIT)
7
+ *
8
+ * For full copyright and license information, please see the docs/CREDITS.txt file.
9
+ *
10
+ * @author Georges.L (Geolim4) <[email protected] >
11
+ * @author PastisD https://github.com/PastisD
6
12
*
7
- * For the full copyright and license information, please view the LICENSE
8
- * file that was distributed with this source code.
9
13
*/
10
14
namespace Phpfastcache \PhpfastcacheBundle \Tests \Service ;
11
15
use PHPUnit \Framework \TestCase ;
12
16
13
17
class PhpfastcacheTest extends TestCase
14
18
{
15
-
19
+ public function testServiceTypeHint ()
20
+ {
21
+ $ this ->assertEquals (true , true );
22
+ }
16
23
}
You can’t perform that action at this time.
0 commit comments