This is a list of issues or discrepencies between the wording or intention of PSR-2 itself and the CodeSniffer PSR-2 ruleset.
Add suggestions in the comments or tweet me (@philsturgeon) if you have more inconsistencies to report.
# Microsoft IE OVA images from http://www.modern.ie/en-us/virtualization-tools | |
# VirtualBox for Mac: | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE6_WinXP.ova.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE7_Vista.ova.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_Win7.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8.ova.zip |
NameVirtualHost 127.0.0.2:80 | |
<Directory "/var/www/html/example/"> | |
Options -Indexes +FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<VirtualHost 127.0.0.2:80> |
<?php | |
// PHP Self Stats | |
/* | |
* get_loaded_extensions() returns all the extension names | |
* currently loaded. | |
* | |
* Using array_intersect(), we can get only the extensions | |
* we want from those which are really available. |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
class Vagrant::Config::V2::Root | |
def has_key?(name) | |
@config_map.has_key?(name.to_sym) | |
end | |
end | |
Vagrant.configure("2") do |config| |
<?php | |
include __DIR__ . '/bootstrap.php'; | |
use DoctrineNaPratica\Model\User; | |
use DoctrineNaPratica\Model\Course; | |
use DoctrineNaPratica\Model\Lesson; | |
use DoctrineNaPratica\Model\Subscription; | |
// $user = new User; |
while true; do clear; date && phpunit; if [ ! $? ]; then sleep 10; else sleep 3;fi; done; |
mkdir scrutinizer && cd scrutinizer | |
# Install tools | |
# - Scrutinizer and composer | |
wget http://scrutinizer-ci.com/scrutinizer.phar | |
curl -sS https://getcomposer.org/installer | php | |
# - All needed CI tools | |
php composer.phar require h4cc/phpqatools:~1.2 | |
cp -p composer.phar vendor/bin/composer |
class base { | |
group { "puppet": | |
ensure => "present", | |
} | |
exec { "apt_update": | |
command => "apt-get update", | |
path => "/usr/bin" | |
} |
This is a list of issues or discrepencies between the wording or intention of PSR-2 itself and the CodeSniffer PSR-2 ruleset.
Add suggestions in the comments or tweet me (@philsturgeon) if you have more inconsistencies to report.
Open Terminal move to your home folder:
cd ~
Enable git colors:
git config --global color.ui true
Make a file called ".colors":
touch .colors
Open .colors and paste the following: