Skip to content

Instantly share code, notes, and snippets.

View lferro9000's full-sized avatar

Luis Ferro lferro9000

View GitHub Profile
@lferro9000
lferro9000 / gist:16e5ebe9798b78bc3b8f0d519f8cb5a3
Created August 30, 2017 17:10
BeHat output after configuration
No scenarios
No steps
0m0.01s (8.50Mb)
@lferro9000
lferro9000 / gist:014ac1a489b205ec70d3463f6994893b
Created August 30, 2017 17:09
PHPUnit output after configuration
PHPUnit 6.0.7 by Sebastian Bergmann and contributors.
Runtime: PHP 7.0.15 with Xdebug 2.5.1
Configuration: [......]/phpunit.xml
Time: 58 ms, Memory: 8.00MB
No tests executed!
@lferro9000
lferro9000 / PHPTemplate.php
Created August 30, 2017 17:05
PHP Template for Intellij IDEA and PHPStorm
<?php
#parse("PHP File Header.php")
#if (${NAMESPACE})
namespace ${NAMESPACE};
#end
use PHPUnit\Framework\TestCase;
use PHPUnit\Framework\Assert;
@lferro9000
lferro9000 / Jenkinsfile
Created July 30, 2017 09:59
Jenkinsfile with PHP pipeline for Jenkins 2
#!/usr/bin/env groovy
node('php') {
stage('Get code from SCM') {
checkout(
[$class: 'GitSCM', branches: [[name: '*/#your-dev-branch#']],
doGenerateSubmoduleConfigurations: false,
extensions: [],
submoduleCfg: [],
<?xml version="1.0" encoding="utf-8" ?>
<!-- This is a skeleton phpDox config file - Check http://phpDox.de for latest version and more info -->
<phpdox xmlns="http://xml.phpdox.net/config" silent="false">
<!-- more configuration options -->
<build engine="html" enabled="true" output="html">
<template dir="${basedir}/build/templates/html" />
<file extension="html" />
</build>