Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125706
phpunit.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1005 B
Subscribers
None
phpunit.pp
View Options
# == Class: php::phpunit
#
# Install phpunit, PHP testing framework via PEAR, this will be changed to use composer
#
# === Parameters
#
# [*package*]
# The package name for PHPUnit, defaults to phpunit's pear package
#
# [*provider*]
# The package provider used to install PHPUnit, defaults to pear
#
# === Variables
#
# No variables
#
# === Examples
#
# include php::phpunit
#
# === Authors
#
# Christian "Jippi" Winther <jippignu@gmail.com>
# Tobias Nyholm <tobias@happyrecruiting.se>
# Robin Gloster <robin.gloster@mayflower.de>
#
# === Copyright
#
# See LICENSE file
#
#FIXME: no pear
class
php
::
phpunit
(
$package
=
'pear.phpunit.de/PHPUnit'
,
$provider
=
'pear'
)
{
if
$caller_module_name
!=
$module_name
{
warning
(
"${name} is not part of the public API of the ${module_name} module and should not be directly included in the manifest."
)
}
package
{
$package:
ensure
=>
present
,
provider
=>
$provider;
}
Exec
[
'php::pear::auto_discover'
]
->
Package
[
$package]
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jun 21, 9:14 PM (4 w, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3365711
Attached To
R140 puppet-puppet-php
Event Timeline
Log In to Comment