This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +55
-6
lines changed
Expand file tree Collapse file tree 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 11<?php
2- /*
3- * This file is part of the SncRedisBundle package.
2+ /**
43 *
5- * (c) Henrik Westphal <henrik.westphal@gmail.com>
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) <contact@geolim4.com>
11+ * @author PastisD https://github.com/PastisD
612 *
7- * For the full copyright and license information, please view the LICENSE
8- * file that was distributed with this source code.
913 */
1014namespace Phpfastcache \PhpfastcacheBundle \Tests \Service ;
1115use PHPUnit \Framework \TestCase ;
1216
1317class PhpfastcacheTest extends TestCase
1418{
15-
19+ public function testServiceTypeHint ()
20+ {
21+ $ this ->assertEquals (true , true );
22+ }
1623}
You can’t perform that action at this time.
0 commit comments