Skip to content

Commit 481bf66

Browse files
[ci] Add version tag in phpunit wrapper to trigger cache-reset on demand
1 parent 2c2836c commit 481bf66

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

phpunit

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
#!/usr/bin/env php
22
<?php
33

4+
/*
5+
* This file is part of the Symfony package.
6+
*
7+
* (c) Fabien Potencier <[email protected]>
8+
*
9+
* For the full copyright and license information, please view the LICENSE
10+
* file that was distributed with this source code.
11+
*/
12+
13+
// Please update when phpunit needs to be reinstalled with fresh deps:
14+
// Cache-Id-Version: 2015-11-09 12:13 UTC
15+
416
use Symfony\Component\Process\ProcessUtils;
517

618
error_reporting(-1);

src/Symfony/Component/HttpKernel/phpunit.xml.dist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,14 @@
2424
</exclude>
2525
</whitelist>
2626
</filter>
27+
28+
<listeners>
29+
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
30+
<arguments>
31+
<array>
32+
<element><string>Symfony\Component\HttpFoundation</string></element>
33+
</array>
34+
</arguments>
35+
</listener>
36+
</listeners>
2737
</phpunit>

0 commit comments

Comments
 (0)