Skip to content

Instantly share code, notes, and snippets.

View prondubuisi's full-sized avatar
💭
Working Remotely

Onyemenam Ndubuisi prondubuisi

💭
Working Remotely
  • Owerri, Imo. Nigeria.
View GitHub Profile
<?php
//Program to concatenate string of user input
$firstName = readline("Enter your first name ");
$lastName = readline("Enter your last name ");
$age = getAge();
$currentYear = date('Y');
$birthYear = $currentYear - (int) $age;

INFO: MissingReturnType - CRM/ACL/Page/ACL.php:95:19 - Method CRM_ACL_Page_ACL::run does not have a return type public function �[30;47mrun�[0m() {

INFO: MissingReturnType - CRM/ACL/Page/ACL.php:112:19 - Method CRM_ACL_Page_ACL::browse does not have a return type, expecting void public function �[30;47mbrowse�[0m() {

[0;31mERROR[0m: PossiblyInvalidOperand - CRM/ACL/Page/ACL.php:132:9 - Cannot add an array to a non-array bool

This file has been truncated, but you can view the full file.
Have populated CRM_Core_DAO_File
Have populated CRM_Core_BAO_File
Have populated CRM_Core_DAO_Note
Have populated CRM_Core_BAO_Note
Have populated CRM_Core_DAO_PreferencesDate
Have populated CRM_Core_BAO_PreferencesDate
Have populated CRM_Core_DAO_CustomGroup
Have populated CRM_Core_BAO_CustomGroup
Have populated CRM_Core_DAO_UFField
Have populated CRM_Core_BAO_UFField
@prondubuisi
prondubuisi / quick-and-dirty-ci-intro.md
Created May 19, 2019 09:02 — forked from totten/quick-and-dirty-ci-intro.md
Quick and Dirty Intro to Civi CI

Quick and Dirty Intro to Civi CI

Background

I find it easiest to consider the stack in three layers:

  • Host Environment or System Platform: Loosely, this is the collection of MySQL, Apache, PHP, NodeJS, and so on. These system-services and language-runtimes are provided in many distribution channels (e.g. Debian, Ubuntu, CentOS, RHEL, nix, MAMP, XAMPP, Bitnami, Docker, etc).
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
<?php
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
<?php
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProductsTable extends Migration
{
/**
* Run the migrations.
<?php
namespace App\Http\Controllers;
use App\Product as Product;
use Illuminate\Http\Request;
class ProductController extends Controller
{
public function index()
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|