curl -H "Accept: application/vnd.github.v3.diff" -u [username]:[personal_access_token] https://api.github.com/repos/[organization]/[repo]/pulls/[pull id] > pr.diff
Replace
username
your Github username
<?php | |
function isWeekend($day){ | |
if ($day == 'Saturday' || $day == 'Sunday') { | |
return true; | |
} | |
return false; | |
<?php | |
function fibonacci(int $n) | |
{ | |
if ($n < 50) { | |
if ($n !== 0) { | |
if ($n !== 1) { | |
return fibonacci($n - 1) + fibonacci($n - 2); | |
} else { | |
return 1; |
<?php | |
/** | |
* Is the bar open | |
* | |
* @return bool | |
*/ | |
function isBarOpen($day) | |
{ | |
if ($day) { |
👍🎉 First off, thanks for contributing! This is an example of a contribution guide for a small project. 🎉👍
<?php namespace App; | |
class Developers | |
{ | |
function get_best_developer($type) | |
{ | |
if ($type == 1) { // VueJs | |
$developer = 'John Smith'; |